Spawning Actor is Inconsistent - Help Please
s0ju
Member Posts: 2
I have a row of spawners that are set to spawn an actor that moves from the bottom to the top of the screen every .45 seconds but I noticed that the spawners are very inconsistent and the actors I spawn don't line up. Oddly enough, I also noticed that as you add more spawners, the previous spawners start lining up properly and the spawned actors become more inconsistent towards the end of the line.
Any idea why this happens and any suggestions on how to fix this?
Any idea why this happens and any suggestions on how to fix this?
Comments
s s s s s
And they should spawn actors like this?
a a a a a
s s s s s
But they are spawning them like this?
a
a a
a a
s s s s s
I'd have to see your rules or your project file to know why...
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Initially, I started out with 3 spawners as so and noticed that the last one was off every now and then:
a a
a
S S S
So I decided to add more spawners with the same spacing between each other and this happened:
a a a a a a
a a
S S S S S S S S
So now the issue was completely resolved with the 3rd spawner but as I add more spawners, the actors towards the end of the row become delayed. Now, if the size of the screen can fit 10 spawners (for example), I could have like 5 or so spawners outside of the screen and this would temporarily fix the issue but I would like to fix it at its root.
Things to note:
1. All spawners are identical and have the same rules and behaviors.
2. All spawners spawn the same single actor.
3. I have tried spacing the spawners out a little with a pixel or two in-between to prevent stacking.
4. The spawners are set to spawn every "x" seconds at random depending on whether or not a rule is met.
Any ideas?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User