Odd spawn behaviour??

SparkyidrSparkyidr Member Posts: 2,033
edited November -1 in Working with GS (Mac)
http://gamesalad.com/game/play/34302

is this normal? or am I just being really thick

I have an actor with a rule saying every 3 secs, spawn one to a random screen pos.
But rather than spawning 1, it seems to spawn an exponential number of them.

Comments

  • SparkyidrSparkyidr Member Posts: 2,033
    anyone????
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    how are your rules setup? how many actors?

    To do what you'd want, I'd have 2 actors, the Spawner and the Actor, and have rules like this:

    Spawner:
    Timer - Every 3 Seconds
    Spawn Actor at position ^ random(0,320) relative to scene > random(0,480) relative to scene

    Actor:
    do whatever

    (the ^ and > are the two fields that represent where you want the actor to spawn, you may want numbers with a smaller range, 0,480 will have your actors spawn so that only 1/2 of them may be seen (at the very endges of the phone)
  • SparkyidrSparkyidr Member Posts: 2,033
    Thanks Mulcahy....yeah, I was kind of misunderstanding the spawn behaviour a little. Now I have had a thought about it (and you have confirmed it) having a "Spawner" actor is deffo what I need. :o)

    brill.
Sign In or Register to comment.