I noticed that when there is an interpolate behavior, it wont be possible to destroy the actor before the interpolate achieve it's value. Is this a problem?
Comments
tatiangMember, Sous Chef, PRO, Senior Sous-ChefPosts: 11,949
It's a problem if you think it's a problem. Do you mean "is this a bug?"
Here's what I did to test this: Rule: When Mouse Button is Down --> Destroy Rule: Interpolate self.position.X to 480 ... Duration 5
Another alternative is to have a boolean switch. Interpolate only when "true". When you switch the boolean to false, you can then manipulate the actor (i.e. destroy).
Comments
Here's what I did to test this:
Rule: When Mouse Button is Down --> Destroy
Rule: Interpolate self.position.X to 480 ... Duration 5
If I click/tap at any time, the actor disappears.
What rules are you using?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User