Blake O'Hare .com

Tag: Game Programming

PyGame Tutorial Part 7 - Centralizing Scene Logic
Posted 5.7 years ago.
This isn't a PyGame-specific tutorial per-se. It's more of an application of good software design co...
PyGame Tutorial Part 6 - More on Input
Posted 5.7 years ago.
There are two basic ways to get the state of any input device. Those are checking the event queue or...
PyGame Tutorial Part 5 - Fonts and Text
Posted 5.7 years ago.
If you're looking for the quick answer on how to render text, here it is: But of course, there'...
PyGame Tutorial Part 4 - Geometric Drawing
Posted 5.8 years ago.
Just like the mixer module, the drawing API is fairly straightforward with a few examples. Therefore...
PyGame Tutorial Part 3 - Music and Sound Effects
Posted 5.8 years ago.
The sound and music API's are fairly simple. I feel funny basically going through the documentation ...
PyGame Tutorial Part 2 - Working with Images
Posted 5.8 years ago.
In the previous installment, I briefly talked about and used Surface objects. You can instantiate a ...
PyGame Tutorial Part 1 - Getting Started
Posted 5.8 years ago.
So you want to make a game? You have choices. But basically, your choices are determined by three co...
Gamelight Tutorial: Part 5 - Sprite Sheet Magic
Posted 5.8 years ago.
One of the more tedious parts of making 2D sprite-based games is dealing with sprite cropping and al...
Gamelight Tutorial: Part 4 - Sound and Music
Posted 5.8 years ago.
The next major component of games after interactivity and graphics is sound. Luckily, sounds and mus...
Gamelight Tutorial: Part 3 - Images
Posted 5.8 years ago.
This tutorial continues on with the codebase of the previous tutorials. Images are relatively simp...
Gamelight Tutorial: Part 2 - Getting User Input
Posted 5.8 years ago.
In the last installment, I showed you how to set up a Silverlight project with a basic Gamelight gam...
Gamelight Tutorial: Part 1 - The Basic Game Loop
Posted 5.8 years ago.
Gamelight is a free game programming library for Silverlight I created some time back. Recently in S...
Configuring the Joystick in PyGame
Posted 6.5 years ago.
One annoying thing about PyGame is the joystick API doesn't really give you much high level flexibil...