Immediate Mode for Games via ImNui - bryanedds/Nu GitHub Wiki

We provide an alternative API to MMCC that is premised on the stack-based identity idiom first seen in ImGui. We call this API ImNui as a play on the words 'ImGui' and 'Nu'. Like MMCC, it's also a simplifying declarative API for game development. In many ways, it's simpler than MMCC and can be less performance-sensitive due to its lack of diffing. ImNui is something we've recently come up with, so unlike MMCC, it hasn't yet been used in a shipping commercial title. But we think it will work at least as well if not better for the types of games we make!

The first difference you will see with ImNui is that, unlike ImGui, it works for all simulant types, not just gui entities. Like MMCC, ImNui is a simulation-wide generalization of the purely user-interface technology that inspired it. In short, ImNui allows you 'immediate mode all the things' - a concept Bryan had been playing with in his head for the past year or so but hadn't been able to put into code until recently.

Probably the best way to see how to use the declarative ImNui API is to read the following tutorial after having read the previous MMCC tutorial pages -

Minimal ImNui Example (Jump Box)