← Systems
State Machines
Every character you write starts the same way. One boolean: is_jumping. Then is_attacking. Then is_dashing, can_move, is_hurt, is_dead. Six booleans have sixty-four combinations, and you meant abou…
Every character you write starts the same way. One boolean: is_jumping. Then is_attacking. Then is_dashing, can_move, is_hurt, is_dead. Six booleans have sixty-four combinations, and you meant abou…