My name is John. I've released a commercial 2D pixel art space game called Gravity Ace and I'd love for you to go check it out. I've wanted to make games since I was very young so I taught myself how to do it by participating in game jams. My goal in creating these examples was to provide a helpful resource for other game developers, particularly those who are just getting started, myself included.
Each example focuses on one concept and includes the source code for the implementation. They aren't meant to be extremely polished or to represent a complete game. They aren't highly optimized. They may not even be the best way to implement the mechanic being demonstrated! (They're certainly not the only way.) They are written for clarity so that it is easier to understand the underlying concepts and apply them to your own work in your own engine. I expect that some of these examples will evolve as I gain experience. But hopefully you'll find them useful and you can use them as a jumping off point for your own games.
This is a work in progress. Contact me if you have questions, corrections, or suggestions. Thanks for visiting! Close
Questions, corrections, want to hire me? Contact me on Twitter or email.
Copyright © 2022 John Watson
The example source code is licensed under the terms of the MIT License. Art assets in the examples are licensed under the Creative Commons Attribution license (CC BY 3.0).
This site requires a modern web browser that supports HTML5. I recommend Chrome and Firefox.