I have a state machine for a game I am developing. The player can be in four states, depending on button clicks, and some game elements (being in thin air, or standing on the ground). I am just wondering if I should use arrows between all the possible states changes? All states in this diagram need to go through the Idle
state, but in the game, you could easily go from Walking
to Jumping
by pressing the "jump"-button whilst walking. The same applies for the Jump
state to the Falling
state. After a jump, the player immediately transfers to the Falling
state. Is this something I need to put in the finit state machine diagram? The diagram might end up messy with extra arrows, and I would like to avoid it, but if this diagram was meant for a thesis or in lecture I want the diagram to be correct.
I am sorry if this question is too opinion based.