mastodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance, open to everyone, but mainly English and French speaking.

Administered by:

Server stats:

856
active users

#imgui

0 posts0 participants0 posts today

Before I sit down and decide what to teach next, I'm going back to polish a couple of things that are pending on existing lectures. The first one will be to redesign & re-record the #imgui chapter of our C++ game engine module. Some other stuff too! All happening early-2025. 🤘🙂

Continued thread

Well, I fully switched from Qt to just using ImGui for the user interface. I just don't see why I should make people install so many dependencies for just the UI, on top of regular dependencies you'd expect for a game engine. Plus, making interfaces in ImGui is just so much faster and easier to do.

It's fully switched to just using vertical tabs now, and it has a custom titlebar - also written with ImGui. I wanted to go with a switcher between horizontal and vertical tabs, and I might just do that someday, but I don't know if it's worth it. I'll see - but by default, it's going to use vertical tabs to save some UI space.

And all of the tabs have their own custom menus that show up in the custom titlebar, inspired by the LynxAnimator project, when it was still using C++ instead of C#. The menus are in a dynamic array (using std::vector), and can easily be modified. No need to bother with over-complicated garbage.

And lastly, I'm using Lucide icons now.

#GameEngine #C++ #Cpp #ImGui

I love the aesthetic of Motif, and lament its decline, but I realize now that Dear ImGui is a modern replacement in a way. Has that super minimal aesthetic like Motif but looks pretty nice to use. Cross-platform as well with lots of rendering backends.

I’m always tempted to make something very quick and dirty with SDL, but I think I’ll give imgui a spin for a project. Could be just the thing I need.