Spawn actors outside of screen?

HyryttyHyrytty Member Posts: 39
edited November -1 in Working with GS (Mac)
Don't know where to post this so i posted on 2 boards

so in my game i've got dogs spawning all over the place. what i'm trying to do is have dogs with the image facing right to spawn outside of the screen on the left side and dogs facing left to spawn outside of the screen on the right side. And each image walking toward the other side of the screen and eventually leaving the screen (Even though the screen is wrapped for the main dog which the user is controlling. And now my problem is, how do I make the dogs spawn outside of the screen? And how do I make them leave a wrapped screen then eventually destroy them outside of the screen?

Comments

  • FreshlyMintedFreshlyMinted Member Posts: 14
    I think I see several ways, but I'm relatively new.

    1. change the size of your scene without changing the size of your camera
    2. The screen can be wrapped for just one actor
    3. Create, outside of camera range, a WALL OF DEATH and when the dogs collide with the WOD they are destroyed

    Does that explain?
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    have two actors dog left and dog right. Dog left has the image facing right with move right behavior, and right has the image facing left with move left behavior. Then have 2 invisible actors one just outside the left of the screen and one just outside the right. Have rules in the one on the left to spawn dog left and the one on the right spawn dog right. Then when they reach the end of the screen there gone
Sign In or Register to comment.