How to spawn.....
Sylvannus
Member Posts: 21
Hello,
I would like to ask you about how to spawn 2 actors at the same random time.
Let's say when actor 1 spawns after random time between 1-5 then actor 2 recognises it and spawns too.
Thank you in advance
I would like to ask you about how to spawn 2 actors at the same random time.
Let's say when actor 1 spawns after random time between 1-5 then actor 2 recognises it and spawns too.
Thank you in advance
Comments
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Now, create a timer - after random(1,x) seconds,
change attribute game.NewBooleanAttribute to true.
Then create a rule
When attribute game.NewBooleanAttribute is true
Spawn actor 1
Spawn actor 2
This is a simple method, but I hope it helps.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
I was going to suggest basically what he said.
Keep it simple on yourself. In gamesalad, the smaller the system, the tighter it will work.