Saturday, April 03, 2021

Ingame console with embedded graphics

I implemented an in-game debug console, but I was obsessing over the idea that images and even GUI elements should be naturally embedded in the console "log" and scroll with it. I found a trivial way to implement it by adding a callback to every character in the "log" buffer. Turns out this "hybrid" approach to UI is really neat. Try the live demo here: https://zloedi.github.io/qonche_gui

No comments: