Category: Gamedev

April 8, 2024 / / Devlog

It has been a long time since Hexterminate has had a release, and given the size of the changes I think it justifies a 2.0 release! I’ve added native Linux support, done an overhaul of the resources and energy systems, as well as many other improvements.

July 30, 2023 / / Devlog

Despite our best intentions, our programs will likely crash at one point or another. If this has happened on your own machine then you have your debugger at hand, but if it has happened on a user’s device this becomes more problematic.

A solution for this is crash reporting: a crash dump which is sent to you for debugging, as well as any relevant log files.

June 4, 2022 / / Gamedev

No matter what game we are making, robust logging is essential. It is an essential tool for the developer (and for more technical players), assisting both during development and after a game is release.

My custom C++ engine, Genesis, has had a logging from the earliest days, but it has received some upgrades recently to make it easier to use. I thought it might be helpful to other developers to write an article about the considerations which go into writing such a system, as well as share some code snippets.

August 18, 2021 / / Gamedev

With holidays and birthday season out of the way, it’s time to let you know what’s been happening in HEXTERMINATE land.

Engine upgrades

Linux support & Proton

Being stuck on holiday with a laptop that only runs Linux Mint, I thought I’d try to get the game running on it, as the majority of the code was meant to be portable anyway.

That was the theory.

In practice, it required quite a substantial amount of work to get the game compiling, nevermind actually running. Right now it does run and it is playable, although there are some graphical artefacts and sound doesn’t work. However, this led to some interesting discoveries which will affect everyone, leading to better performance and fewer memory issues.

Currently, native Linux support is scheduled for Build 19 (so, not this one but the one after), but the many fixes that have been done to the engine will likely allow the game to be run through Proton in Build 18, rather than just displaying a black screen.

June 19, 2021 / / Gamedev

A new User Interface

It is one of those things which are inevitable in software development: mistakes are often obvious in hindsight.

If we go back several years, I decided that writing my own User Interface library was a good idea. This was a valuable experiment in a number of ways, providing valuable insight into the complexity of such a system: how do I bring fonts in? How does input need to be implemented in a multilayered system? What about popups? How difficult can it be to get the text in a text box wrapping correctly?

If I was just making an engine for fun and experience, that decision would have been fine. However, since I was actually trying to ship a game with it, that was a mistake. This mistake was further compounded by a reluctance to upgrade the UI system to allow for dynamic reloading, which meant that building and tweaking interfaces was very time consuming.

However, with HEXTERMINATE staying in development for the foreseeable future, there will be a substantial amount of UI work that will have to be done. For my sanity, I’ve decided to finally bite the bullet and layer a more advanced system on top of the current UI, allowing me to modify new UI elements on the fly and store the design as a JSON file.