This is an easy to understand, and copyable, template from my games, such as My Shadow escape game, and red game. Arrows and WASD
If you use this code, please give me credit(Because it is my work)