![]() The sound "gameover" is supposed to play when the player's five lives are gone, and the "music02" sound is supposed to play upon startup. If you cant see the terminal window,it might have appeared behind other windows (eg the main Greenfoot window). The "get" sound is supposed to play whenever the character touches one of the 3 bears laid out randomly on the screen. It prints to the terminal window, which will open if () executes. GetWorld().showText("Congratulations, you killed a child.", 317, 28) Īll 3 of the sounds are located in the "sounds" folder of my Greenfoot project, and play when double-clicked inside the folder.Įxception in thread "Thread-386" : Format of sound file not supported: file:/F:/TECH/CSA/Greenfoot/MY%20GAME/sounds/music02.wavĪt (SoundExceptionHandler.java:57)Īt (SoundClip.java:125)Īt (SoundClip.java:273)Īt (ClipProcessThread.java:74)Ĭaused by: : could not get audio input stream from input URLĪt .getAudioInputStream(AudioSystem.java:1155)Īt (ClipCache.java:67)Īt (SoundClip.java:137)Īt (SoundClip.java:108)Įxception in thread "Thread-387" : Format of sound file not supported: file:/F:/TECH/CSA/Greenfoot/MY%20GAME/sounds/get.wavĮxception in thread "Thread-388" : Format of sound file not supported: file:/F:/TECH/CSA/Greenfoot/MY%20GAME/sounds/gameover.wav aySound("get.wav") //<- also refuses to play When using the Greenfoot class playSound method, you do not have an object reference to the GreenfootSound object to control it. You will see a New Scenario dialog box, as shown in Figure 2. ![]() location : ' I'm not a craft with scanners Commander, I don't know if. The Greenfoot starting screen Click on Scenario. ![]() aySound("music02.wav") //<-refuses to play green foot with long claws landed lightly a breath from his head.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |