VelAdd/ja
From M.U.G.E.N Wiki
< VelAdd
This page is in progress of being translated to ja. You can help translating it or go to another language version that follows:
State Controller: VelAdd
Adds the specified amounts to the player's velocity. 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 add to the player's x-velocity.
- y = y_value (float)
- Specifies the value to add to the player's y-velocity.
Example:
; Applies constant gravity to the player trigger1 = 1 type = VelAdd y = 0.45