
Navigation Meshes Are Back, Now With Levels
Maps get levels and hand-drawn navigation areas, my Clipper rewrite finally comes into the engine, and games move over the baked mesh.

Maps get levels and hand-drawn navigation areas, my Clipper rewrite finally comes into the engine, and games move over the baked mesh.

The engine gets a new map editor with curated tile sets, plain text map files, and an entity system that got smaller every time I redesigned it.

The engine drops fixed-function OpenGL for shaders, and games get a pixel-art world with smooth scrolling, their own shaders, and lights.
This is the last of three catch-up posts, after the asset system and the platform layer. It’s about the change that the other two were leading up to: games are no longer part of the engine. They are projects that the editor builds, runs, and hot reloads. The Problem In the asset system post I described how Arkham ended up compiled directly into the engine after my first attempt at loading it as a module. That kept me productive for a while, but it meant the engine had an Arkham editor mode, Arkham game state, Arkham assets, and a “Play Game” button that only worked for one game. Starting a second game would have meant adding all of that again. ...
This is the second of three catch-up posts. The first one wrapped up the asset system. This one is about the platform layer, the part of the engine that talks to the operating system, which I rewrote almost completely this month. How It Started It started small. I wanted the debug and profiler information in a separate window, so that it wouldn’t cover the editor. At the same time I was porting the engine to Linux, using GLFW for windows and input. A while ago I already used GLFW in an earlier refactor, but the Windows build still ran on the original win32 layer that came from Handmade Hero, and the GLFW layer was mostly a copy of it with Linux bits added. ...