Ok so I have been looking into state machines for a while now and I have a few questions about them which I couldn’t find on google.
My purpose is to control the flow of the game (play, pause, menus, die etc) now do I even need to do a state machine to do this without getting messy code and a headache latter down the road.
Secondly I’ve seen state machines that have multiple scripts so a start script, die state script, menu state script etc or would it make more sense to have one big script with multiple methods for each state?
Now I’m trying to develop a fairly simple mobile game so I want a fast system. If you know any good tutorial sites please let me know.
Thank you for any feedback