Player Movement Guide - UQdeco2800/2021-studio-6 GitHub Wiki

Moving

The player can walk around the screen using the WASD keys. Additionally if the player presses multiple keys at once, the player can move diagonally (e.g. if both "WA" are pressed the player character will move diagonally towards the upper left of the screen).

Dashing

If the left shift is pressed, while the player is moving, the player will complete a dash in the direction of movement. The dash will move the player at a much higher speed for a short period of time. During this time the player will be unable to attack, change direction or take damage from enemies. This makes the dash highly beneficial when escaping fights or avoiding enemy attacks. However, the player is only able to dash every two seconds and therefore it must be used sparingly as needed.