[Media] Working on immediate-mode UI system for my Rust game engine!

65 points GlaireDaggers 2 comments
[Media] Working on immediate-mode UI system for my Rust game engine!

Been tinkering on a game engine for many weeks now. It's written in Rust, built around HECS, and uses a customized version of the Quake 2 BSP format for levels (with TrenchBroom integration for level editing & a custom fork of ericw-tools for compiling bsp files).

The goals of my engine are to be extremely lightweight - in particular, my goal is to be able to run this at decent speeds even on cheap SBCs such as a Pi Zero 2.

Over the last couple of days I've been working on the UI system. So far I've settled on an immediate-mode API loosely inspired by various declarative frameworks I've seen around. In particular, the UI system is built around making gamepad-centric UIs, with relatively seamless support for keyboard and mouse navigation. Here's what I've got so far as far as the API goes!