Help with Randomly spawning objects????

gib284gib284 Member Posts: 29
edited November -1 in Working with GS (Mac)
Hey everyone I'd like to know if there is a way I could get actors to randomly spawn? I'd like them to randomly shoot onto the screen like in fruit ninja thanks =)

Comments

  • mythicappsmythicapps Member Posts: 82
    Yeah, you can do this.

    What you need to do is make an actor, then use the spawn attribute. Set the spawn attribute to which of the "real" actors you want it to spawn and then use a timer to control how often they spawn. You can also use a random movement to make the spawning location random if you want.

    Dinner is calling but if you want I'll screenshot the rules I use for this and post after I eat.

    Ciao
Sign In or Register to comment.