Making the Dash Mechanic

My first task for the coding side of this project was to produce a dash mechanic for the players movement, where when the player presses ‘space’ key they will dash into a direction.