DEV Community

Cover image for Publishing my first Game
Humberto Rocha
Humberto Rocha

Posted on

Publishing my first Game

Original: https://humberto.io/blog/publishing-my-first-game/

Games always connected me with technology since the beginning.

My father and I, we built our first computer (a Pentium 286) and the first thing that I remember to do was to play some DOS games like Prince of Persia and Lunar Lander. I learned a bunch of CLI commands just to play my favorite games.

The passion for playing and making games followed me as a hobby. I have a pygame series of posts on my blog, where I go through basic concepts of game development trying to explain them to someone who is starting to learn about it.

Time has passed, the day to day hush started to take most of my energy and my pygame series hasn't seen a new post for a while, so as my hobby.

Then, last December during the holidays, I discovered Pyxel. It is a Python retro game engine that follows the pico-8 limitations and comes with a sprite, tilemap, and music editor.

I love pixel art games, so I decided to take the holidays to write my first complete game from the ground up until its publication. The game is a tribute to the old Lunar Lander DOS game that I played at my childhood.

pyxel lander landing

The theme choice was meaningful to me, not only because I played when I was little, but also because I've coded it with a friend at one of my projects at my Computer Science course.

The process of building the game was quite fun, and at the end of the day, I got the lunar module flying on the screen. The day after I dived into the procedural moon surface building, and then when I was about to figure out the collision detection my holiday time was over, the day to day rush came back and my project stale.

More time passed, during a lunch break, I answered a tweet asking the following question:

When was the last time you coded something just for fun? 🇨🇦

Qual foi a última vez que desenvolveu algo só por diversão? 🇧🇷

— Guilherme Varandas 🦄 (@jgvarandas) August 18, 2019

I love coding and blogging, and most of the time I have fun on my day to day doing it, but something 100% for fun reminded me that Christmas codding day so I answered:

December last year, coded an old lunar lander from Dos clone https://t.co/Bv3xRdvkd2
It reminded me to go back to figure out the colision detection 😅

— Humberto Rocha (@humrochagf) August 18, 2019

I've had uncountable RPG Maker unfinished games when I was young, and many others with different tools. What is so different from my work, or from my Open Source projects that makes me finish then, but not my Game projects?

I decided to finish the game to understand what was holding me back and... I've got the game finished, and published \o/. You can check it out and play it at https://humrochagf.itch.io/pyxel-lander

Also, I released it as Open Source, and anyone interested to see the code can go to https://github.com/humrochagf/pyxel-lander

Wrapping Up

Going through this whole process made me realize somethings:

  • Game development can be like a hydra. While you are solving one thing, your mind is creating new features on the go. So, like any other field of software development, focus on the MVP, and keep new features to the next releases or projects.
  • If it's your first game, try to not over complicate things, it's more important to go through the whole experience from the idea to the publishing, instead of making the perfect game.
  • Tools with clear and limited scope like Pyxel are great to make your first game. It helps you a lot to keep it simple.
  • Call your friends when you need some help. Thanks Jairo Jair for the help with the MacOS build.
  • The coding just for fun thing is fantastic to learn new things and have fun in the process, let's do more of those.

Top comments (2)

Collapse
 
luturol profile image
Rafael Ahrons

Loved the article!

I'm trying to learn more about Unity to make a game where my brother and I could play and code together. It inspired me to code more projects just for fun, cause it's been a while since I just code something that I really want or enjoyed.
This is a good habit, a health one and it improves your craft, so why not keep doing?

Testing the projects and games that I made its the funniest part of the process, beacause when it works (hope it works) you only have fun.

I'm still in the part where I'm learning from tutorials how to use Unity and make games with it, feel free to give me some tips.

Collapse
 
humrochagf profile image
Humberto Rocha

Thanks, I'm glad to hear that I could inspire someone :)

The coding just for fun is awesome, Coding Dojos are also an excellent place to put that in practice.

I guess my best tip would be, pick a single game mechanic and play with that. Build something as simple as possible around it. You will be amazed on how cool a game can become with just one mechanic.