I'm trying to make it so that the sound file plays as soon as the game is started, and keeps playing even when the layout has changed? Is this possible and if so, how would it be done?
Thanks!
Add an event that stops the sound right after the event that changes layout. Then in the new layout just start a new sound file playing. If your still stuck send me a reply and ill make it and sent you a link.
Keith
appchogie
I think you miss interpreted his request. He is asking if a sound/music file will play through layout changes.
deerob4
Have you tried just playing a sound on repeat(i suggest a music file) then changing the layout.
However keep in mind that on IOS sounds won't play until a touch even occurs.
Before switching the layout you could save the PlaybackTime of your sound to a global variable and on start of the new layout resume the same sound with the Seek to action.
Don't know how well this works in practice as I didn't use this before.
jayderyu your right I did mate, I replied via my mobile phone and just glanced at it.
deerob4 One way you could do it is to have a event sheet called "music" code the event sheet to access the music/sound you want,and on each layout "include event sheet". The music will continue to play.
Thanks for all the responses guys!
appchogie Your method worked, thanks very much!
Develop games in your browser. Powerful, performant & highly capable.
that's ok. I make that mistake too :D
how about exploring and just play a sound. then change the layout a few seconds later?