Please enable JavaScript to use CodeHS

Utah Creative Coding

Lesson 5.2 Projectiles - Cannon

Description

In this lesson, students are going to create a cannon that players can move and rotate on the canvas.


Objective

Students will be able to:

  • Use an image as the appearance of a sprite
  • Use the scale property to adjust the size of the image
  • Allow the player move and rotate the cannon with key presses