Seven days to design, code, and debug a program with PyGame. What could go wrong?
So in August, as I was looking into game development engines that would be good for teaching programming, I remembered the existence of PyGame: Python’s oldest and most mature library for writing games.
After looking into PyGame for the first time in years, I discovered that not only was it still well-maintained and active but that a game making competition, a game jam, was coming up soon: the 24th PyWeek.
I thought to myself, “Hey, this is perfect! This’ll make me learn PyGame and actually finish a game for the first time in seven years. ”
A very long time ago I actually wanted to be an indie game developer. I became a researcher and teacher instead, but there’s always been a part of me that missed working on games. Maybe, just maybe, this would get me back into the swing of things. And, you see, back-in-the-day, I cut my teeth on a library called Simple DirectMedia Layer (SDL), which is what PyGame is based on!
One thing to know is that PyGame isn’t like Unity or Godot or GameMaker – there’s no integrated development environment, tools for animation, or built in physics. That definitely makes some things a lot more complicated!
On the other hand, if you’re like me and are someone who likes knowing how everything ticks then I think something like SDL or PyGame is actually a really satisfying experience that means you learn a lot about game engines.
October 14th arrived and the PyWeek theme is announced: “They’re Behind Everything!”. I had until evening on October 21st to write a game based on that concept and turn it in. I decided to sleep on it and start designing on Sunday morning.
Sunday rolled around, so I did what I always do: start writing.
I planned out a design for a small game that’s really stripped down to very basic mechanics. A weird little story about endlessly reborn universes, created by beings searching for immortality. Little did I realize that even the few pages of design document I wrote would still be too ambitious for the time available. A week seems like a long time, but when you have school or a job the time slips away pretty fast.
Become a subscriber and get access to the rest of this article. Plus all our magazine articles.
Stories also include numerous links to help parents, kids, and teachers learn more. Get access today at just $15 per year!
Also In The February 2018 Issue
Create a fun adventure game with sprites using a retro fantasy computer.
Hide information in plain sight using a clever code and a good book.
Logic puzzles help develop reasoning skills useful for programming, computer science, and anything you might do.
Find perfect and fun gifts for your loved ones that teach STEAM concepts and skills.
From light-up bow-ties to conductive thread, you’ll be the life of the party with this STEAM-inspired gear.
A free online test service reveals how much personal data your web browser is giving away.
Add more tools to your command line arsenal, including running mini-scripts and making backup copies.
Use switches to take your robotic creations to the next level.
Create the American flag in SketchUp using this detailed tutorial.
From lasers to supernovas, Berboucha is making science communication a priority.
Code can always be improved. Check out these tips to make you the best programmer you can be!
It’s a programming language unlike any you’ve seen before. Check out this symbolic system designed for mathematical calculations.
It’s a game that’s obsessing the world. Harmful, or a potential gateway to new skills?
Some fun Python code that introduces you to the arcane world of event handling.
New, improved, faster, and sleeker - it’s Scratch 3, your new favourite block language!
Learn about the brilliant algorithm behind all of your GPS devices.
It’s free, comprehensive, and available on-the-go. This cool app helps you master Python faster than ever before.
Open up whole new worlds to explore through these interesting, diverse add-ons.
Links from the bottom of all the October 2018 articles, collected in one place for you to print, share, or bookmark.
Interesting stories about computer science, software programming, and technology for October 2018.