Please enable JavaScript to use CodeHS

Video Game Design in JavaScript (2022)

Animation and Games

Students learn how to make objects move around the screen and let users interact using the mouse!

Lessons

4.1 Timers

  • Timers
  • Timers Quiz
  • Moving Ball
  • Magic 8 Ball
  • Crazy Ball

4.2 Random Circles

  • Example: Random Circles
  • Random Circles Quiz
  • Random Circles
  • Spinner Example
  • Growing Circle
  • +1 more

4.3 Random Ghosts

  • Example: Random Ghosts
  • Random Ghosts Quiz
  • Random Ghosts
  • Random Fireworks
  • Circle Wall

4.4 Bouncing Ball

  • Example: Bouncing Ball
  • Bouncing Ball Quiz
  • Bouncing Ball
  • Hotspot Ball
  • Trail

4.5 Mouse Events: Mouse Clicked

  • Mouse Events: Mouse Clicked
  • Mouse Events: Mouse Clicked Quiz
  • Click For Circles
  • Click For Ghosts
  • Teleporting Ball
  • +1 more

4.6 Mouse Events: Mouse Moved

  • Mouse Events: Mouse Moved
  • Mouse Events: Mouse Moved Quiz
  • Simple Painting
  • Colorful Drag to Paint
  • Coordinates
  • +1 more

4.7 Drawing Lines

  • Example: Drawing Lines
  • Drawing Lines Quiz
  • Drawing Lines
  • Leash

4.8 Key Events

  • Key Events
  • Key Events Quiz
  • Keyboard Square
  • Basic Snake
  • Drag and Drop

4.9 Animation and Games Quiz

  • Animation and Games Quiz
  • Animation Exercises Badge

Courses that include this module