2 minutes
Zelda in Python
This tutorial popped up on my YouTube feed a couple years ago for building a Zelda style game in Python. I was immediately very excited and wanted to give it a try. Unfortunately, I never really found the time. Well, I’ve finally dug into it, and I have to say, it was a blast!
You’ll definitely need a decent understanding of object oriented programming, but it was a pretty straightforward tutorial using pygame
. I feel that the instructor moved at a good pace and explained things well.
I took some liberties during the tutorial to change things up a bit. For instance, I put all the settings into a class and passed it to whatever needed it. I figured this would make it easier to write tests at some point. I also started by doing dependency injection for everything, including pygame
, because that’s how I learned to do things. But it became clear that it was best to just follow the tutorial with this aspect.
Since, completing the tutorial, I’ve been working on adjustments and new features, the most current of which is a main menu for restarting the game, adjusting options, or quiting the game gracefully. I feel very inspired to keep at it and build more games in Python.
Check it out, folks!