Physics of video games lesson

Years 7 and 8

Students build a simple Pong game in Scratch and consider the physics involved in the game play. They then apply their understanding of force and motion to design their own video game concept.

    • S
    • T
    • E
    • M
    Lesson Plan

    Physics of video games

    Years 7 and 8

Learning hook

Students begin by creating a simple a pong game in Scratch. Students can work independently to follow the Pong Game Scratch tutorial available here. Alternatively, they can jump straight into Scratch and find a Pong Game tutorial under the Tutorials menu.

No experience with Scratch is required for students to follow the tutorial. Completing the tutorial up to the step ‘Add Code to Bounce the Ball Off the Paddle’ will take no more than 15 to 20 minutes.

In Scratch, students will have a sprite that bounces around the screen and another sprite it can bounce off. Once students have a ‘ball’ sprite colliding with a ‘paddle’ sprite, pause their coding and explore the following questions as a class:

  1. How could we slow down the movement of the ‘ball’ sprite?
  2. What would happen if we added a representation of gravitational force to this game? How would the sprite move differently?
  3. (Extension) What energy transformations occur when two objects collide? Is this represented accurately in the game?

Learning input

Explain to students that a key aspect of engagement in video games and apps is how immersive the ‘world’ of the game is – how real it feels to the player. For this to happen and for the on-screen world to make sense, it must follow predictable rules. In terms of how things move and behave in space, this means it needs to be a world that takes physics into account. Consider how lollies fall in a grid-based game, how birds are catapulted, how characters require momentum to make jumps or how they float in underwater environments – the game needs to be designed taking into account the forces acting on an object.

Students may be surprised to hear game developers don’t usually need to write complex physics formulas to create these games. Instead, they rely on what are called ‘physics engines’, which are software packages that supply physics for the game. Similar software packages are used in computer-animated movies.

Some of the techniques physics engines use include the following:

  • Collision detection – checks for collisions then responds to them.
  • Soft-body physics – allows for the simulation of hair, water, clothes etc.
  • Particle physics – allows for the simulation of phenomena like snow, rain, dust and explosions.

Each of these techniques uses a variety of algorithms based on physical laws to perform the simulations.

Learning construction

Tell students they are going to design their own game and to consider the forces they’ll need to represent to make their game feel real. To be challenged creatively, they’re going to create a game idea that includes some randomly selected variables: the world, the character and a key object.

Part A

  1. Students come up with one suggestion for each category (world, character and object). Encourage them to be outrageous, as this will make the game design more fun! You can share some examples, such as these, to get them started:







    The moon


    Toy duck

    Ice-cream land



  2. Draw from three hats or use an app to randomly allocate one option from each category to each student.
  3. Once students have their three variables, the challenge is to create a video game or app idea that incorporates all three. They can sketch out their ideas following these steps:
    1. Create a single-screen image of the world, thinking about how to make it interesting from a movement perspective. In doing so, they must consider how properties of different surfaces or environments will impact the character’s movement in the world and then make notes on the sketch.
    2. Create the character, thinking about what it might need to move through the environment, such as special equipment. The students should make notes on the character to show what enables the character to move forward/backward and up/down in the environment, or any indicate any other special moves the character can perform.
    3. Add the mystery object! What is its role in the game? Encourage students to be as creative as they can and make notes about the role of the object, or actions it might take.
    4. Identify the goal of the game (within a single screen).

Part B

Students use their game idea sketch to design a screen (or screens) for the game that show how they’ve considered interactions between force, motion and mass within their game.

Depending on their familiarity with and access to digital animation tools, students can choose how to represent their screens:

  1. Sketch the screen/s and annotate.
  2. Use animation tools in an app like PowerPoint or Keynote and annotate verbally or in written form.
  3. Use a coding app/program or simple game-making app/program to create screens and provide written instructions about how to play as well as an explanation of the interactions considered.