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…
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)…
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…
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:…
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:…
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:…
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:…
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:…
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:…
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:…