Xprevious and yprevious

From Game Editor

Revision as of 14:11, 1 September 2008 by Asmodeus (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To find out where the actor has been one frame before, you can use the local variables xprevious and yprevious. xprevious is the actor's horizontal position in the last frame and yprevious is the vertical position in the last frame.