• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Random sprite pop up

T

TheVandal421

Guest
I am trying to figure out how to make a random sprite pop up but only once during the game. Just like the toasty guy in the older Mortal Kombat games. Would always be the same place, but he would randomly pop up for a second or two, play a sound and then disappear. Any help of the best way to do this would be great.
 
I think the reason you aren't getting any help with something that is pretty simple is because there are like... 1000 ways to do that. Why don't you take a stab at it, and when you can't get it to work, post your code and we'll tell you what you are doing wrong.
 
J

JFitch

Guest
The easiest way to do this is to create an object with that sprite. In the create event, set an alarm and play the sound. In the alarm, destroy the instance.
 
Top