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

2016/1/5

Music issue

Trunksssj4 Trunksssj4

2016/1/5

#
Hi everyone, I wonder how to automatically change the music or sound when you go up to next level, I mean in level 1 for example the music starts and in the next level (level 2), a new music will start to play and the previous music from level 1 stops??
Super_Hippo Super_Hippo

2016/1/5

#
Start the music in the constructor of the world and stop the music when changing the world.
Trunksssj4 Trunksssj4

2016/1/5

#
Do you know how the codes look like?
danpost danpost

2016/1/6

#
You could download my BgMusic Actor Class Demo scenario and import and use the BgMusic class in your scenario. Or, you could just learn from its coding.
Trunksssj4 Trunksssj4

2016/1/6

#
Actually i'm beginner at coding, so i'm finding difficulties to find the right codes that fits my case :)), what codes do you recommend me to use Danpost?
danpost danpost

2016/1/6

#
Trunksssj4 wrote...
Actually i'm beginner at coding, so i'm finding difficulties to find the right codes that fits my case :)), what codes do you recommend me to use Danpost?
It is impossible to say without seeing your current code related to the background music.
You need to login to post a reply.