Hi guys,
I kind of remember seeing an expression like:
If Enemy.(Last.x) > Enemy.x - Then play Animation"AnimationRight"
It is the Last X I kind of think I have seen. Am I right in my assumption?
Thanks! :)
Develop games in your browser. Powerful, performant & highly capable.
LastX is probably a user created instance variable. It is commonly used to compare the current and last position of a sprite object, by setting self.LastX to self.X at the end of every tick.
Yup, of course, I get it. I was just so sure it was an expression.
But thanks mate. :)