Actors disappearing
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
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
-
tatiang Posts: 11,949
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.New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Answers
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
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