Blake O'Hare .com

Tag: PyGame

PyGame Tips & Tricks
Posted 5.2 years ago.
PyWeek 15 starts in one week. So here's a few tips and tricks for a more lovely pygame coding experi...
PyGame Tutorial Part 7 - Centralizing Scene Logic
Posted 6 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 6 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 6 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 6.1 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 6.1 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 6.1 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 6.1 years ago.
So you want to make a game? You have choices. But basically, your choices are determined by three co...
How to Blit Images With Transparency at Lower Opacity in PyGame
Posted 6.2 years ago.
PyWeek started today. So I'll take a little detour from the regularly scheduled PHP tutorial and giv...
Configuring the Joystick in PyGame
Posted 6.8 years ago.
One annoying thing about PyGame is the joystick API doesn't really give you much high level flexibil...