AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
MP3 files, which most students are more familiar with, are intended for music with the primary goal creating small, manageable files. Before this code can work, a file called shot.wav must be saved in the sounds folder within your project. ![]() Greenfoot provides a GreenfootSound class to help easily manage audio. Greenfoot is also available free of charge. The sound cannot be played several times simultaneously, but can be played several times sequentially. Yo I am also a student but I looked on the forums for help So basically, you need to get a recording of your sound and then put it in the sounds folder of your greenfoot project. Before this code can work, a file called shot.wav must be saved. Presentation on theme: "Chapter 10: Creating Images and Sound"- Presentation transcript:īruce Chittenden (modified by Jeff Goldstein)Ģ 10.1 Preparation In contrast to previous chapters, we will not build a complete scenario in this chapter but work through various smaller exercises that illustrate separate techniques that can then be incorporated into a wide variety of different scenarios.ģ Exercise 10.1 Click on Scenarios and Click New Enter a Nameĥ Exercise 10.2 Right Click on World and Click New subclassĦ Name the subclass MyWorld and select a BackgroundĮxercise 10.2 Name the subclass MyWorld and select a Backgroundġ1 Create a Turtle Object and add it to the center of the WorldĮxercise 10.5 public class MyWorld extends World private void shrink() if(getImage(). A GreenfootSound loads the audio from a file.
0 Comments
Read More
Leave a Reply. |