Please enable JavaScript to use CodeHS

Utah Creative Coding

Lesson 6.2 Jumper - Character Prototype

Description

In this lesson, students will add a controllable character to their game. They will implement keyboard input handling, directional movement, jumping behavior, and camera following using the p5play library.


Objective

Students will be able to:

  • Create a player-controlled character sprite
  • Use Booleans to respond to keyboard input
  • Implement directional movement and jumping using sprite velocity
  • Configure a camera to follow the player sprite