YesNoOk
avatar

VelMul (SCTRL) (Read 3103 times)

Started by JustNoPoint, October 31, 2015, 02:25:06 pm
Share this topic:
VelMul (SCTRL)
#1  October 31, 2015, 02:25:06 pm
  • ******
    • www.justnopoint.com/
Multiplies the player's velocity by the specified amounts. A positive x velocity is in the direction that the player is facing, while a positive y velocity is downward on the screen.

Required parameters:
none

Optional parameters:
x = x_value (float)
Specifies the value to multiply the player's x-velocity with.

y = y_value (float)
Specifies the value to multiply the player's y-velocity with.

Example:

Code:
; Applies constant friction to the player
trigger1 = 1
type = VelMul
x = 0.8