c - 003

[ intermediate ]  60 min

Asteroids

 

Result

Overview

In Asteroids, the player controls a spaceship in the center of the screen, avoiding incoming asteroids. The player launches missiles to destroy incoming asteroids, before the asteroids can destroy the ship.  When the ship is destroyed, the game ends. 

 

Learning outcome

  • Utilize and experiment with game mechanics.

 

 

Computing Concepts in this project

  • Classes
  • Conditional Statements
  • Adding multiple consequences to conditional statements “+”
  • Solids vs Non-solids
  • Cloning
  • Using the Camera
  • User Interface
  • Lose moment
  • Cartesian location
  • Physics and Momentum
  • Setting Backgrounds
  • Playing Effects via conditional Events
  • Game Theory: Object offscreen

Behaviors & Effects in this project

  • Move towards 
  • Control pad 
  • Impact Effect
  • Hinge
 

CCSS

CCSS.ELA-LITERACY.RI.6.3
Analyze in detail how a key individual, event, or idea is introduced, illustrated, and elaborated in a text (e.g., through examples or anecdotes).

 

CSTA

CT.L2-02 Describe the process of parallelization as it relates to problem solving. 

CT.L2-06 Describe and analyze a sequence of instructions being followed (e.g., describe a character’s behavior in a video game as driven by rules and algorithms). 

CPP.L2-08 Demonstrate dispositions amenable to open-ended problem solving and programming (e.g., comfort with complexity, persistence, brainstorming, adaptability, patience, propensity to tinker, creativity, accepting challenge). 

 

 

Video Solution