Arrow keys to move or use the joystick Move the slider to change the speed
This is a very good way to add movement because if you press both movement keys, the player stops as a whole. Also both of the movement coding uses one variable which is the "speed" variable so you can change it more easily. Like my tile engine project, this was made for you to use this in your projects! Thanks to @griffpatch for the joystick tutorial.