IsUp
IsUp

Returns the level of left movement, from 0 (none) to 65535 (full)

up = myPlayer.IsUp( )

Return value
If MODE_KEYBOARD, this is either 0 (none) or 65535 i.e. 0xFFFF (full)
If MODE_JOYSTICK, and the joystick supports it, this is a value from 0 to 65535 depending on how far the user has moved.

Comments

When using custom movements, this should be used to check when to move so that the runtime setup dialogue remains valid.

See also
Player:IsLeft
Player:IsRight
Player:IsDown
Player:IsFire
Player:IsJump



JAM © 2005 no one in partiular
Project started by David Evans in 2005