Help!!! About spawing

sky_ssrsky_ssr Member Posts: 58
edited November -1 in Working with GS (Mac)
1)Please tell me how to to spawn an actorA in random locations when actorB collides with actorC.

2)how to spawn random actors moving at the top of the iphone screen to the bottom of the iphone screen pacing back and forth "or" from the left of the screen to the right back and forth , each time ActorA collides with actorB

Thanks

Comments

  • sky_ssrsky_ssr Member Posts: 58
    Anyone???????? HELP PLEASE IM STUCK
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    Create an boolean game attribute game.spawn

    In actor B have this rule:

    when overlaps with C
    change attribute game.spawn to 1

    In your spawner

    Rule: When game.spawn is true
    -----spawn actor (then in the spawn behavior use the random function in the pulldown menu next to the x and y boxes)
    -----change game.spawn to 0
Sign In or Register to comment.