How a solo developer built a custom game engine for the puzzle game Satelital
The developer of Satelital, a rule-discovery puzzle game about learning alien logic, has released the game. They built most of the tools themselves, including the engine, renderer, puzzles, editors, UX, design, art and music, to learn the fundamentals of game technology.
The developer started in C++ with SDL2[1], then moved to OpenGL for better graphics and added shader code reloading, which they call their biggest regret not having from the start. They later replaced SDL2 with their own platform layer of a few thousand lines for macOS and Windows, and replaced most of the C++ standard library with their own base library, which took a month and shortened compile times. They moved to Vulkan[2] to get HDR, since HDR did not work on macOS through OpenGL, and MoltenVK[3] made Vulkan run on macOS.
Instead of a 3D engine, the developer used a fixed top-down orthographic view, prerendering assets in Blender and loading their albedo, normal and height maps as textures. Dynamic shadows are drawn with ray marching[4] over the height maps, and planet terrain is generated procedurally in shaders.
Read the original spectralorbit.comDiscussion
Sources
-
Spectral Orbit
How I made a custom game engine for Satelital






