Best way to spawn enemies in Waves?
freneticz
SwedenMember, PRO Posts: 774
ex..
Wave 1: 10 of enemy nr1 with 1sec between and move them
Wave 2: 5 of enemy nr1 with 1 sec between & 5 of enemy nr2 with 0.5sec between
What is the best way to do this these days?
Now i have a enemy spawner with a every 1sec timer spawn enemy nr1, but every time its spawn its "lagging" alot...
Comments
If it's lagging it's likely due to timers or constrain behaviors (possibly within the spawned actors) that would slow things down.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
@freneticz I'm trying to upload a demo for you but the GS site seems to be not happy with attachments at the moment. I'll try again in a bit.
I have 7 "move to" in the spawning actors, if i change to 6 its not lagging
Homepage: freneticgamez.eu/
https://play.google.com/store/apps/developer?id=FreneticGamez
Thats not likely going to cause the problem in all honesty - Removing the behaviour if done correctly.
I would suggest, if you want to, to .zip (Compress) the GS file and upload.
I am sure I can take a quick look and see what's causing the lag.
Best,
GSLearn.com | Templates | Free Demos | Udemy Course