PyGame - 101 Computing https://www.101computing.net Boost Your Programming Skills! Mon, 09 Dec 2024 10:48:53 +0000 en-US hourly 1 https://www.101computing.net/wp/wp-content/uploads/cropped-android-chrome-512x512-1-32x32.png PyGame - 101 Computing https://www.101computing.net 32 32 Flappy Bird Animation using Pygame https://www.101computing.net/flappy-bird-animation-using-pygame/ Mon, 15 Apr 2024 19:29:01 +0000 https://www.101computing.net/?p=19930 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

The post Flappy Bird Animation using Pygame first appeared on 101 Computing.

]]>
Bouncing Algorithm in a platform game https://www.101computing.net/bouncing-algorithm-in-a-platform-game/ Tue, 07 Jun 2022 13:54:54 +0000 https://www.101computing.net/?p=14187 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 post Bouncing Algorithm in a platform game first appeared on 101 Computing.

]]>
Pygame Framework https://www.101computing.net/pygame-framework/ Mon, 13 Apr 2020 22:36:23 +0000 https://www.101computing.net/?p=10784 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

The post Pygame Framework first appeared on 101 Computing.

]]>
Breakout Tutorial using Pygame: Adding a Brick Wall https://www.101computing.net/breakout-tutorial-using-pygame-adding-a-brick-wall/ Thu, 13 Feb 2020 16:45:43 +0000 https://www.101computing.net/?p=10281 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:

The post Breakout Tutorial using Pygame: Adding a Brick Wall first appeared on 101 Computing.

]]>
Breakout Tutorial using Pygame: Adding a Bouncing Ball https://www.101computing.net/breakout-tutorial-using-pygame-adding-a-bouncing-ball/ Thu, 13 Feb 2020 16:45:35 +0000 https://www.101computing.net/?p=10276 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:

The post Breakout Tutorial using Pygame: Adding a Bouncing Ball first appeared on 101 Computing.

]]>
Breakout Tutorial using Pygame: Controlling the Paddle https://www.101computing.net/breakout-tutorial-using-pygame-controlling-the-paddle/ Thu, 13 Feb 2020 16:45:19 +0000 https://www.101computing.net/?p=10271 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:

The post Breakout Tutorial using Pygame: Controlling the Paddle first appeared on 101 Computing.

]]>
Breakout Tutorial using Pygame: Adding the Paddle https://www.101computing.net/breakout-tutorial-using-pygame-adding-the-paddle/ Thu, 13 Feb 2020 16:44:54 +0000 https://www.101computing.net/?p=10265 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:

The post Breakout Tutorial using Pygame: Adding the Paddle first appeared on 101 Computing.

]]>
Breakout Tutorial using Pygame – Getting Started https://www.101computing.net/breakout-tutorial-using-pygame-getting-started/ Thu, 13 Feb 2020 16:44:03 +0000 https://www.101computing.net/?p=10256 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:

The post Breakout Tutorial using Pygame – Getting Started first appeared on 101 Computing.

]]>
Pong Tutorial using Pygame – Adding a Scoring System https://www.101computing.net/pong-tutorial-using-pygame-adding-a-scoring-system/ Mon, 27 May 2019 21:05:01 +0000 https://www.101computing.net/?p=8933 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:

The post Pong Tutorial using Pygame – Adding a Scoring System first appeared on 101 Computing.

]]>
Pong Tutorial using Pygame – Adding a Bouncing Ball https://www.101computing.net/pong-tutorial-using-pygame-adding-a-bouncing-ball/ Mon, 27 May 2019 21:04:55 +0000 https://www.101computing.net/?p=8924 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:

The post Pong Tutorial using Pygame – Adding a Bouncing Ball first appeared on 101 Computing.

]]>