PyGame

I’m regrouping on this page all my posts, source code, ressources and tutorials about Python & Game developpement.

Event Handling

The goal of this article is to combine what we have already learned into a single piece and add a new feature.  For instance, this application will be featuring parallax background, animated sprites and we will add user inputs handling using PyGame’s events management.

Parallax Scrolling in 2D games

I will reuse and adapt the AnimatedSprite Class from my previous article and create a new Class named Parallax that inherits from AnimatedSprite.

Animated Sprites – Take 2

Demo and source code to better illustrate the topic covered in my previous post Animated Sprites.

Animated Sprites

An animated sprite is a serie of the same image slightly modified and displayed at a certain framerate per second.

Tutorials Source Code


git clone git://github.com/ncrovatti/Pygame-Tutorials.git