In M.U.G.E.N, the VelMul State controller multiplies the player's velocity by the defined amount for as long as the controller is active. Like the Veladd controller, the controller is mostly used to simulate acceleration, although unlike the Veladd controller, Velmul can also be used to simulate the effect of friction.


Required parameters

  • None

Optional parameters

  • X = x_value (float)
x_value is the value to multiply the player's horizontal velocity by. Defaults to 1.0 if omitted.
  • Y = y_value (float)
y_value is the value to multiple the player's vertical velocity by. Defaults to 1.0 if omitted.


[State 0, Example]
type = VelMul
trigger1 = animelemtime(2)=0
X = 0
Y = 0

Multiplies both the player's X and Y velocities by 0 on the beginning of the second animation element.

[State 220,VelMul]
type = VelMul
trigger1 = 1
X = 0.85

Multiplies the player's X velocity by 0.85 each tick for as long as the player is in the state. Since the Y parameter is omitted, the player's Y velocity is unaffected.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.