Navigation

  • index
  • next |
  • previous |
  • Wall Ball 1.0 documentation »

Previous topic

Using these worksheets

Next topic

Step 0: Create an empty game

This Page

  • Show Source

Quick search

Stage I: Create the Basic Game¶

In this stage, we will create the basic Wall Ball game in three steps. This basic game won’t offer a lot of challenge to the player, but it will work and it won’t take you long to get there!

In subsequent steps we’ll add some more sophisticated elements.

  • Step 0: Create an empty game
    • The Code
    • What’s happening here?
    • Change it around
  • Step 1: Bounce a ball around the screen
    • Step 1a: Put a ball on the screen
    • Step 1b: Make the ball move
    • Step 1c: Make the ball bounce off the walls
  • Step 2: Make the ball bounce off the bat
    • Step 2a: Put a bat on the screen
    • Step 2b: Control the bat with the mouse
    • Step 2c: Make the ball bounce off the bat
    • Step 2d: The player dies if the ball hits the bottom of the screen
  • Step 3: Add bricks for the ball to knock out
    • Step 3a: Put one brick on the screen
    • Step 3b: Put eight bricks across the screen
    • Step 3c: Have the ball knock out bricks until none is left
  • Change it all around
    • Have several layers of bricks
    • Give each side wall a bat
    • Have more than one ball
    • Have two bats along the bottom
    • Have different kinds of bricks
    • Switch around the direction of play
    • Have the ball bounce differently from the left or right side of the bat
    • Have the ball bounce according to how far along the bat it hits

Navigation

  • index
  • next |
  • previous |
  • Wall Ball 1.0 documentation »
© Copyright 2016, Tim Golden. Created using Sphinx 1.8.6.