TargetVelAdd/ja

From M.U.G.E.N Wiki

Jump to: navigation, search


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: TargetVelAdd

Adds the specified amounts to all targets' velocities. A positive x velocity is in the direction that the target 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 x-velocity of the target.
y = y_value (float)
Specifies the value to add to the y-velocity of the target.
ID = target_id (int)
Specifies the desired target ID to affect. Only targets with this target ID will be affected. Defaults to -1 (affects all targets.)

Example:

; Applies constant gravity to all targets
type = VelAdd
trigger1 = 1
y = 0.45