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

2013/1/24

Startup / Loading Screen?

askgriff askgriff

2013/1/24

#
I would like to include a startup screen which would have a "Start" button. I'm hoping this will give the sound effects a chance to load before you start playing the game. What is the best way of achieving this? A startup "world"? I don't want to reinvent the wheel here.
danpost danpost

2013/1/25

#
Whether you use a startup world or not, the sound in the main world will have to be initialized in that world. If you initialize the GreenfootSound fields and play each one after setting volumes to zero (to actually load the files) in the world constructor, they will be ready when the scenario is started (remember to reset the volumes back for each sound).
You need to login to post a reply.