Skip to main content
GameDev.net gamedev.net

pygame

14 items across game development

14 results

Tutorial

Pygame Platformer Tutorial Series

.wp-block-image{margin-bottom:1em}.wp-block-image img{max-width:100%}.wp-block-image .aligncenter{display:table;margin-left:0;margin-right:0}.wp-block-image...

CodingKnight ·
Python pygame
Blog

Discover Python and Patterns (11): Class

I propose to introduce Python classes to implement the Game Loop pattern. Using these tools, I show how to refactor the code in the previous post to get a more …

phylyp ·
Python pygame
Blog

Arkanoid and PyGame Collision Detection

Background I chose to write an Arkanoid-like clone (see the original below), assuming this would be a relatively simple place to start with PyGame. Arkanoid. Fresh outta the 80s. So …

alex.coaton ·
pygame Python arkanoid collisiondetection
Blog

Discover Python and Patterns (10): Keyboard

Thanks to the Pygame library we installed in the previous post , we can draw 2D graphics. In this post, I propose to introduce controls with the keyboard as well …

phylyp ·
Python pygame
Blog

Discover Python and Patterns (9): Pygame

In the previous posts , I introduced enough of Python and patterns to start creating games with graphics using the Pygame library. This post is part of the Discover Python …

phylyp ·
Python pygame