Posted October 22, 2018 by pokolo
Before, in the first version of the game, I never reset the velocity, so the player would keep moving until it collided with another object. Now I have made it so every time you are not pressing the movement keys, velocity is reset to 0.