Actors disappearing

LooseMooseLooseMoose Member Posts: 224
edited September 2012 in Working with GS (Mac)
I have an actor with a y velocity of -150
When self position y < 0-(self.height/2)
self position y changes to 480+random(10,500)

My actor goes to the bottom of the screen and then teleports up to the specified location but after the actor has done this action about 10 times the actor just disappears and never comes back.

Can anyone explain this problem? Thanks

screen is potrait mode

Best Answer

  • tatiangtatiang Posts: 11,949
    Accepted Answer
    Can you post a screenshot of your rules. Something seems a bit off but it would be easier to tell if we could see your actual rules.

Answers

  • LooseMooseLooseMoose Member Posts: 224
    I have changed my rules a bit since the original post. here is a screen shot

    https://www.dropbox.com/s/6j2kgm7zpjk29oa/GS.jpg


    This rule is applied to 10 actors and after about 2-3 minutes only 4~ actors are still on the screen.

    The actors have a y velocity of -150 and game is in potrait mode

    Any idea why my actors are slowly disappearing over-time?


    Thanks
  • LooseMooseLooseMoose Member Posts: 224
    Okay so I've narrowed down my problem.
    I removed the +random(10,500) on the self.position.y and now the actors never disappear.

    I assume there is a max y height which when the actor surpasses it gets deleted.
    My actor size is 30x30
Sign In or Register to comment.