Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Game Development with Phaser!
You have completed Game Development with Phaser!
Preview
Discover how to add keyboard movement to the paddle in our breakout game, allowing people to interact with it.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
In this video, we're going to learn about
adding keyboard movement to our project.
0:00
We'll be focusing on adding
keyboard movement to the paddle.
0:02
But before we do that,
let's make a small change to our game.
0:06
I've noticed the bricks aren't
quite centered on the screen.
0:10
If you look at the right
side of the bricks,
0:14
the space there looks wider
than on the left side.
0:17
Let's change this in the code.
0:20
Luckily for us, our bricks are in
a group that share one configuration.
0:23
So this will be very easy to fix.
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up