ProcessObjectMovement¶
Description¶
Handles tile collision of an object/player.
Parameters¶
None.
Return Value¶
- Handles movement, both on the ground and in the air.
- Sets
object.collisionModetoCMODE_FLOOR,CMODE_LWALL,CMODE_RWALL, orCMODE_ROOFdepending on the object's angle, along with updatingplayer.anglebased on the current tile stepped. - Updates
object.speed,object.xvel, andobject.yvel. - Determines if the character is
flailing,pushing, or is now in the air.