Video Thumbnail

Sign up for a plan to instantly unlock all premium lessons.


Premium Features

Download Video

Player Movement

Published 2 years ago

Getting your player to move around the screen requires event listeners for keydown events (pressing down on your keyboard). Once you learn how to listen for specific keys, you can react to these events and force your player to move by altering its velocity. This video will teach you exactly that and a few other techniques such as keeping your player confined to the visible area of your screen.


Want to participate?

Create a free Chris Courses account to begin

gdevs posted 2 years ago

Providing the lift to launch your development career

© 2024 Chris Courses. All rights reserved.