VelMul (SCTRL)

Started by JustNoPoint, October 31, 2015, 02:25:06 PM

Previous topic - Next topic

JustNoPoint

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:

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