View Full Version : Random object

06-16-2009, 05:52 PM

Producing a simple mouse controlled shooter game, trying to come up with code for the target object that is going to be shot.

Looking for it to appear/disappear randomly on the screen before it gets "hit" unloads and registers 1 point incrementals up to 10 under 30 secs, before next level is reached and the same thing happens but faster- total levels 7.

My question is how do I make the object appear/dissapear on the screen without it touching props on the stage, that are found at the top of the screen and rectangle shapes in the middle,

Thanks and Regards

06-17-2009, 10:15 AM
when you want to load the object, then use createEmptyMovieClip and attachMovie to load a new target. To dissapear, removeMovieClip will do the trick.

Its hard to provide any kind of support without an example or code though sorry.