W
Wintermute()
Guest
Hi GMS'ers,
I have a weird problem today....
I have my player pickups being counted and displayed via a variable. I have a step event watching the pickups variable, and when it hits a certain number of pickups, it creates a level warp on-screen for the player to use.
My issue is I want to have a sound playing/looped when the the level warp is created. (you know a sorta warpy sound) Naturally I can't put the sound in the step event of the pickup watcher. But also, I tried to put the level warp sound in the level warp object's create event, but I still get the same problem (game locks up cause of creating bulk sound events)
Where can I put the sound, so it sits outside the step event that is kicking off the creating of the level warp object ? I'm thinking this is a chicken/egg, horse before cart type of question
Thank you...
I have a weird problem today....
I have my player pickups being counted and displayed via a variable. I have a step event watching the pickups variable, and when it hits a certain number of pickups, it creates a level warp on-screen for the player to use.
My issue is I want to have a sound playing/looped when the the level warp is created. (you know a sorta warpy sound) Naturally I can't put the sound in the step event of the pickup watcher. But also, I tried to put the level warp sound in the level warp object's create event, but I still get the same problem (game locks up cause of creating bulk sound events)
Where can I put the sound, so it sits outside the step event that is kicking off the creating of the level warp object ? I'm thinking this is a chicken/egg, horse before cart type of question
Thank you...