Spawning incrementing amount of actors
Okysho
Member Posts: 158
Hello. I'm making a simple game that needs to spawn a variable amount of actors, incrementing by 1 after a certain amount of elapsed time.
I.E. If I have 1 actor spawning at the start, I want to be able to spawn 2 actors after 5 seconds, 3 after another 5 seconds etc.
I haven't found anything that lets me do this in game salad so far, and googleing the issue has resulted in nothing. Please help.
Comments
Bumping this because I could really use the help
Bumping this again.
First set up a Game Level Integer Attribute called spawnAmount
You'll need to have all your spawn behaviors reference this attribute to spawn their number of enemies.
In a game control actor add a Timer Behavior that says:
Now every 5 seconds the amount of actors spawned will increase by 1.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page