This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
Trunksssj4
wrote ...
2016/2/24
Sound issue
Trunksssj4
2016/2/24
#
Hello, does anybody know how to stop playing music when the game sets new world? For the music in the first level/world I used: GreenfootSound sound = new GreenfootSound("POL-at-dawn-short.wav"); sound.playLoop();
danpost
2016/2/24
#
You will not be able to stop the sound if you declare the GreenfootSound object within the method.
Trunksssj4
2016/2/25
#
So what can I do instead??
danpost
2016/2/25
#
Trunksssj4 wrote...
So what can I do instead??
Declare the GreenfootSound object outside the method.
You need to login to post a reply.
X