Hi so I've been following the state machine beginner guide video since I'm building my very first 2D platformer game and I wanted to reorganize the code into separate manageable bite sized pieces before it quickly gets out of control.
Anyways, focussing on the Player first i basically replicated the process of the guide all the way down until I reached creating the state class itself. I'm confused as to where I put that script/code?
It is stated it can be 'anywhere' and Godot can reach it globally etc etc or something along those lines, but that whole piece has lost me and I pretty much can't continue without it. Any help would be massive.
(I just started Godot & game development as a whole 2 days ago, followed the tutorial by Brackeys and went on to make a custom health system using my own sprite sheet i also learned how to make. So this is all very new to me apologies.)