Keen Games has over 10 years of experience developing user interfaces for games. They previously used various approaches like separating UI design and code, using scripting languages, and third-party middleware like Scaleform. For their game Portal Knights, they decided to rewrite the UI system from scratch in C++ using an immediate mode approach to address issues with prior systems like performance, bugs, and flexibility. They utilize a multi-pass system of layout, input, and render and take advantage of C++ features while simplifying aspects like memory management to improve productivity.
Related topics: