Spawning an actor
LivieGames
Member Posts: 44
Hey everyone,
I have an actor that spawns itself every 3 seconds, the user has to swipe (to flick the actor off screen)
my question is:
If the player swipes too slowly the second actor is spawned but i only want 1 onsceen at a time..?
So if the actor is onscreen how do u make it NOT spawn another (every 3 seconds) actor untill 1st actor is flicked offscreen
Sorry hope this makes sense lol
Cheers
Ty
Comments
Create a boolean such as "Actor on screen" which if false (turns false when you wipe the actor off screen) will allow a new actor to spawn.
My Blog / App Store / Google Play
@mhedges
Thanks mate, will give it a go