Programming 302

Students learn to create programs of moderate complexity with variables, functions, and advanced physics. They will even program their own hero and enemy A.I. Request Quote

Course Summary
  • Grades 7 - 8
  • Advanced level
  • 16 lessons
  • Tynker Blocks
    • Web
Course Includes
  • 16 lessons
  • 104 activities
  • Enhanced Creativity Tools
  • Automatic Assessment
  • Tutorials and Reviews
  • Coding Puzzles
  • DIY Projects
  • Quizzes
  • Teacher Guides
  • Answer Keys
Prerequisites
No previous coding experience required.

Description

In this advanced lesson plan, students will be introduced to the physics library as they build Gravity Sling, a projectile game inspired by Angry Birds (TM). They define the behaviors of different kinds of projectiles and use physics commands such as impulse, gravity and collisions to build the game. Ninja Runner is an advanced physics platformer game with a boss fight sequence that challenges them to apply all the concepts and skills they have learned.

Students who successfully complete this lesson plan will demonstrate excellent understanding of a variety of programming concepts and computational thinking skills, and will be able to design and implement projects of moderate to advanced complexity.

Topics Covered

  • List variables
  • Structured data
  • Loops
  • Advanced flow control
  • Physics attributes
  • Velocity
  • Impulses
  • Collisions
  • Sending and receiving messages
  • Parameters
  • Functions
  • Advanced conditional logic
  • Math
  • Boolean operators

What Students Learn

  • Build a complete projectile-based physics game
  • Build a complete platformer game using physics
  • Programmatically generate never-ending platforms
  • Program a hero with multiple actions and access them via keys
  • Use cloud variables and a list data structure to implement a leaderboard
  • Use variables to keep score and game speed
  • Program enemy A.I.

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. Object Stacking
7 activities
Learn the basics of starting physics in Tynker so you can help out a stranded alien.
2. Applying Impulses
7 activities
Apply directional impulses to safely land your spaceship.
3. Line Animation
8 activities
Use X and Y coordinates to draw and animate the Gravity Sling's gravity beam.
4. Physics Properties
7 activities
Use active and static properties to make actors react to collsions.
5. Ricochet
8 activities
Program the density and restitution of projectiles to make them go through objects and bounce off walls.
6. Explosions
7 activities
Program the conditional logic for an explostion to take out a space platform.
7. Changing Direction
7 activities
Help your rocket ship adjust its velocity mid-flight to hit a target.
8. Gravity Sling
5 activities
Finish the Gravity Sling game by creating a black hole to suck up objects.
9. Linear Velocity
6 activities
Use linear velocity and built-in animation to make your character run off of the platforms.
10. Double Jump
6 activities
Detect collsions and apply impulses to make your character do a double jump.
11. Receiving Values
6 activities
Send damage values to attacking robots and save the day.
12. Lists
6 activities
Create an inventory list so that your character can collect loot.
13. Laser Tennis
6 activities
Detect inventory list contents and use laser swords to deflect enemy projectiles.
14. Enemy AI
6 activities
Create an enemy robot that moves around based on information in a randomized list of values.
15. Leaderboards
6 activities
Use cloud lists and global variables to create a high scores leaderboard.
16. Platform Movement
6 activities
Use linear velocity and conditional logic to make it look like the platforms are flying across the screen.