Making Games with ppb

120-minute Tutorial - Sun July 28 at 15:00pm in Suzanne Scharer

Learn to make games with Python; ppb aims to make building games simple and fun! We'll cover the basic features of ppb to make a basic game, then dive into the powerful extensibility features it offers to make even more complex games.

Come in knowing nothing about games, and we'll get you out the door with one or two small games under your belt! You will need to know some basic python. You should be comfortable writing a class and instantiating classes. You should know how to write and call your own functions. We'll cover all the complex bits of games and get you going quickly.

  1. What are games?
    1. event loops
    2. 2d graphics
    3. Input and events
    4. Modelings strategies
  2. Your first game
    1. Get the screen up.
    2. Define the setup function
    3. Your first sprite
      1. Making the art
      2. Instantiating your sprite
    4. Moving and responding to input.
  3. Adding Complexity
    1. Other Sprites
    2. Spawning new objects
    3. Collisions
    4. Making a scoring subsystem

If we have additional time:

  1. Three bodies problem

Prerequisites & Setup Instructions:

Critical: 1. Have a virtual environment set up with Python 3.6, 3.7 or 3.8 2. ppb installed in that virtual environment.

Optional: 1. I'll show a tool for creating your own sprites, but if you'd prefer to prepare them in advance, bring square pixel art sprite pngs for best results.

Presented by: