Spawning an actor

LivieGamesLivieGames Member Posts: 44
edited March 2016 in Working with GS (Mac)

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

  • mhedgesmhedges Raised on VCS Member Posts: 634

    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.

  • LivieGamesLivieGames Member Posts: 44

    @mhedges
    Thanks mate, will give it a go

Sign In or Register to comment.