Premium Features

Download Video

Player Movement

Published 6 months ago

Gravity pulls down our player, but there's no input from us as the user yet. Here we'll add in some event listeners to determine when we press down on our keyboard. We'll react accordingly by editing our player's velocity.

Comments

Want to participate?

Create a free Chris Courses account to begin

Login

No comments yet, be the first to add one

Cheat Sheet Preview

Download The Official Chris Courses HTML5 Canvas Cheat Sheet

Essential canvas syntax at your fingertips.

Download Now

Providing the lift to launch your development career

© 2022 Chris Courses. All rights reserved.