Spawning Actor is Inconsistent - Help Please

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?

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited February 2014
    So you have spawners like this?




    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

  • s0jus0ju Member Posts: 2
    That's exactly it tatiang. I have the spacing for each spawner set at the dimension of the image file and I've tried spacing them out as well but for some reason, the spawners towards the end of the line always tend to spawn the actor late.

    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?
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Well, unfortunately, describing rules is not the same as showing them. I'm curious about #4 as far as what the rule condition is and how you are choosing the random aspect of the timer. So again, if you're able to post screenshots or a link to download the file, that would be best. Otherwise, I can only make guesses.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.