Article Index

State 1 - Walking

In frames with state: 1, the character moves with the speed noted in walking_speed and walking_speedz. All the inputs for this state are the same as state: 0.


Technical note

The walking state, it acts very similar to state: 0 (there are some misconception regarding this state though)

It acts identically as state: 0 regarding A, J and D buttons,

If direction key is held, it will determine if walking should be continued.
If direction key is released, although the character will go to standing, there is a hidden running initiation counter that records the last left/right key pressed and its initial press time.
If the same direction key is pressed quickly after the last key press, it will trigger running.

Also notice a hit_x tag leading to running frame grants the character automatic running.

State: 1 machine (Click to View)

Grabbing a stunned person is NOT related to state: 1.
Picking up a weapon is NOT related to state: 1.

   
© Little Fighter Empire