Music change after the game end
mmmodel
Member Posts: 46
Hey guys, i need a little help.
I made four musics for my game but when the game is over and back to the main menu scene i wanted that's the game change the music maybe with some random for this but i tried some rules but without success.
Anyone have one idea for this simple thing?
Thanks!
I made four musics for my game but when the game is over and back to the main menu scene i wanted that's the game change the music maybe with some random for this but i tried some rules but without success.
Anyone have one idea for this simple thing?
Thanks!
Comments
Stop Music
Change Attribute self.musicSelection to random(1,4)
When self.MusicSelection=1
.....Play Music [music 1]
When self.MusicSelection=2
.....Play Music [music 2]
When self.MusicSelection=3
.....Play Music [music 3]
When self.MusicSelection=4
.....Play Music [music 4]
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User