Students continue to apply what they have learned, and learn more advanced programming principles as they complete Cannon Crasher, the projectile physics game, and build a brand new top-down side scrolling adventure. In Cannon Crasher, they complete the game by adding impulses, setting angles, trajectories and programming collisions. In Dragon Attack, students define multiple levels, multiple lives and program a boss enemy, while learning about variables and cloning.

Topics Covered: Events, keyboard and mouse interaction, conditional loops, nested loops, sending and receiving messages, fluid motion, parallax scrolling, local and global variables, functions, and object cloning.

What Students Learn

  • Build complex multi-level games
  • Use variables to keep score
  • Use cloning to create actors programmatically
  • Build algorithms using complex conditional logic
  • Define and use functions with parameters
  • Build physics projects using gravity, impulse, and velocity
  • Understand parallelism with multiple scripts
  • Program different behaviors for different actors
  • Publish projects to the Web
  • Troubleshoot and debug programs

Technical Requirements

* Online courses require a modern desktop computer, laptop computer, Chromebook, or Netbook with Internet access and a Chrome (29+), Firefox (30+), Safari (7+), or Edge (20+) browser. No downloads required.

1. Impulses
8 activities
Learn to use impulse to fire projectiles in a certain direction.
2. Projectiles
9 activities
Program the cannon to fire projectiles at multiple targets.
3. Timers
8 activities
Use the timer block and keyboard controls to and make precise shots.
4. Asteroid Pong
7 activities
Learn to make a multi-player pong game to play with a friend.
5. Start Screen and Controls
7 activities
Start creating your very own top-down arcade game by making a start screen.
6. Shoot Projectiles
6 activities
Use repetition and screen edge detection to program projectiles and enemies.
7. Parallax Scrolling
7 activities
Learn how to create the scrolling background for your game using sophisticated layering techniques.
8. Cloning
7 activities
Learn how to make copies of enemy ships and lasers using clones.
9. Variables
6 activities
Begin learning about variables and how to use them to keep track of scores.
10. Powerups and Effects
6 activities
Learn how to create power-ups using variables and effects.
11. Boss Battle
6 activities
Combine your knowledge of cloning and variables to create a boss fight.
12. Finishing Touch
5 activities
Finish your game by using variables to create a character selection screen.
13. Drawing Lines
6 activities
Program your racer to follow the green lines and collect the orbs.
14. Simple Shapes
7 activities
Program your racer to draw simple shapes and collect all the orbs.
15. Geometric Patterns
7 activities
Draw geometric patterns using the correct angles and line lengths.
16. Repeating Patterns
7 activities
Use loops to draw basic shapes such as squares and triangles.
17. Basic Shapes
6 activities
Draw concentric circles, Venn diagrams and shapes using loops.
18. Repeating Patterns
7 activities
Draw a hexagonal grid, a “diamond star” and a 3D cube.
19. Advanced Patterns 1
7 activities
Draw complex patterns by repeatedly drawing simple shapes in a loop.
20. Advanced Patterns 2
7 activities
Draw a heart, five colored rings, a traffic light and various spirographs.