Tag: PyGame

Flappy Bird Animation using Pygame

In this blog post we are going to investigate how to animate a sprite when creating a video game using Python and the Pygame library. We will aim to create a frame-based animation using a rnage of graphics for our

Bouncing Algorithm in a platform game

In this blog post we will investigate how to implement a bouncing algorithm used either in a platform game when the main sprite collides with a platform or in a breakout game when the ball bounce against a brick. (x,y)

Pygame Framework

The pygame library contains several modules and classes that you will use when creating video retro arcade games. You will need to familiarise yourself with the most useful modules and classes as listed below: (Click on a module/class to access

Breakout Tutorial using Pygame: Adding a Brick Wall

This tutorial is the second tutorial in a series of five Pygame tutorials: Breakout Tutorial 1: Getting Started Breakout Tutorial 2: Adding the Paddle Breakout Tutorial 3: Controlling the Paddle Breakout Tutorial 4: Adding a Bouncing Ball Breakout Tutorial 5:

Breakout Tutorial using Pygame: Adding a Bouncing Ball

This tutorial is the second tutorial in a series of five Pygame tutorials: Breakout Tutorial 1: Getting Started Breakout Tutorial 2: Adding the Paddle Breakout Tutorial 3: Controlling the Paddle Breakout Tutorial 4: Adding a Bouncing Ball Breakout Tutorial 5:

Breakout Tutorial using Pygame: Controlling the Paddle

This tutorial is the second tutorial in a series of five Pygame tutorials: Breakout Tutorial 1: Getting Started Breakout Tutorial 2: Adding the Paddle Breakout Tutorial 3: Controlling the Paddle Breakout Tutorial 4: Adding a Bouncing Ball Breakout Tutorial 5:

Breakout Tutorial using Pygame: Adding the Paddle

This tutorial is the second tutorial in a series of five Pygame tutorials: Breakout Tutorial 1: Getting Started Breakout Tutorial 2: Adding the Paddle Breakout Tutorial 3: Controlling the Paddle Breakout Tutorial 4: Adding a Bouncing Ball Breakout Tutorial 5:

Breakout Tutorial using Pygame – Getting Started

This tutorial is the first tutorial in a series of five Pygame tutorials: Breakout Tutorial 1: Getting Started Breakout Tutorial 2: Adding the Paddle Breakout Tutorial 3: Controlling the Paddle Breakout Tutorial 4: Adding a Bouncing Ball Breakout Tutorial 5:

Pong Tutorial using Pygame – Adding a Scoring System

This tutorial is the third tutorial in a series of five Pygame tutorials: Pong Tutorial 1: Getting Started Pong Tutorial 2: Adding the Paddles Pong Tutorial 3: Controlling the Paddles Pong Tutorial 4: Adding a Bouncing Ball Pong Tutorial 5:

Pong Tutorial using Pygame – Adding a Bouncing Ball

This tutorial is the third tutorial in a series of five Pygame tutorials: Pong Tutorial 1: Getting Started Pong Tutorial 2: Adding the Paddles Pong Tutorial 3: Controlling the Paddles Pong Tutorial 4: Adding a Bouncing Ball Pong Tutorial 5: