This site requires JavaScript, please enable it in your browser!
Greenfoot back
Rudi
Rudi wrote ...

2013/6/2

Music of gameplay

Rudi Rudi

2013/6/2

#
how can we stop the music when we move to next world???
danpost danpost

2013/6/2

#
The Greenfoot class only has a method to start background music. It does not have any other methods to control the music. The GreenfootSound class, however, has all the basic controls for playing sound/music. Create a new GreenfootSound object using your music filename and save that object in an instance or class variable. Then you can execute any method provided within the GreenfootSound class on that object.
You need to login to post a reply.