8 Directions Movement
8 Directions Movement
The 8 directions movement makes an object move when the player presses the arrow keys or moves the joystick.
Creation
Movement_8Dir
Creates a new 8 Directions movement object
Class Functions
Speed
SetMaxSpeed
Change the maximum speed of the object
GetMaxSpeed
Returns the maximum speed of the object
SelectMaxSpeed
Selects objects based on their maximum speed
SetAcceleration
Change the acceleration of the object
GetAcceleration
Returns the acceleration of the object
SelectAcceleration
Selects objects based on their acceleration
SetDeceleration
Change the deceleration of the object
GetDeceleration
Returns the deceleration of the object
SelectDeceleration
Selects objects based on their deceleration
Instance Functions
Speed
SetMaxSpeed
Change the maximum speed of the object
GetMaxSpeed
Returns the maximum speed of the object
SetAcceleration
Change the acceleration of the object
GetAcceleration
Returns the acceleration of the object
SetDeceleration
Change the deceleration of the object
GetDeceleration
Returns the deceleration of the object
JAM © 2005 no one in particular
Project started by David Evans in 2005