Movement depends on what direction you're facing. W: move towards mouse pointer S: move away from mouse pointer A: move left D: move right I have also added in jumping, however it can be removed by getting rid of the jumping variable and blocks associated with it. Inertia direction and movment direction aren't needed either. Feel free to change it up.
If you use this please give credit, It would help me grow more as a scratcher Tags | \/ #template #templates #tutorial