Best Practice For Spawning Actors in a Specific Order

lunabunlunabun Member Posts: 7
edited June 2012 in Working with GS (Mac)
Hey Everyone,

I'm working on a space invaders type game where enemies fall from the sky. I want to have them fall from different locations one to three at a time, in a specific pattern each level. There would be about 15-50 enemies per level so I'm trying to figure out the best way to set this up. Any suggestions?

Thanks,

Lunabun

Answers

  • HapiappsHapiapps Member Posts: 373
    Try using the random expression so put in a timer:
    every 1 second

    spawn actor - amount random(1,3)

    So every second, it will spawn 1, 2, or 3 actors.

    You can also change the values
  • lunabunlunabun Member Posts: 7
    Thanks for the help Hapiapps ! What would be the best way to set 4-5 actor spawners to spawn in specific patterns without using random? If I wanted to have enemies drop in a specific shape or pattern? Tables?
Sign In or Register to comment.