How do you spawn multiple actors moving in the same direction using a table
TyDietrich
Member Posts: 45
I have one enemy actor and i want him to appear in multiple locations on my map. At each location I want the enemy to move up. I tried adding a timer with multiple spawn actors in it but this slowed down my game until it would crash. Is there anyway I could use a table to add the multiple x and y coordinates and spawn my enemies according to those coordinates?
Best Answer
-
tatiang Posts: 11,949Here you go.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Answers
Sure. A timer with spawn actor behaviors should work. How many enemies are you spawning and how often?
Tables are also a nice way to go. Check out my demo and see if it's helpful: http://forums.gamesalad.com/discussion/comment/383521/#Comment_383521
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
I'll see if I can make you a quick demo.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User