could do some more work on it but happy with it for now!
apparently my last gif didn't play in firefox! hopefully this one does. just recorded in LICEcap and cut down in aseprite so idk.

a trans woman in the UK making 2D action games about ducks:
Ducky's Delivery Service (Steam/itch/Switch)
i mostly post on my Blog / Newsletter / Patreon
i play fighting games! i won Evo in 2021.
pfp/header by NomnomNami
could do some more work on it but happy with it for now!
apparently my last gif didn't play in firefox! hopefully this one does. just recorded in LICEcap and cut down in aseprite so idk.

Thanks for asking! I use the docking branch of dear imgui, which lets you dock windows like in that image.
The dockspace example code (and accompanying comments) in imgui_demo.cpp does everything I need, if I remember correctly.
I just create the dockspace by calling ImGui::Begin and ImGui::DockSpace, then I call ImGui::BeginMenuBar and do everything that's in the menu at the very top of the screen (File, Edit, the Rewind timeline etc), then I call ImGui::EndMenuBar and ImGui::End. After that, I just make all of those other windows ("Game", "Visibility", "Achievements", "Progression" etc) by calling ImGui::Begin, then the window contents, then ImGui::End, just like normal.
The "Game" window uses ImGui::Image to display the contents of the main game framebuffer, along with some additional code to force its aspect ratio to 16:9 and to fudge my in-game mouse positions so I can click on things in the game.
I learned pretty much everything I know about dear imgui from the imgui_demo.cpp example code (which you can see in your game by calling ImGui::ShowDemoWindow) and from the "examples" folder that shows you how to hook it up to OpenGL, DirectX and so on. So I recommend checking those out too. But me know if there's anything I missed out!
My duck action games are discounted on Steam, itch.io, and Nintendo Switch! So if you want to save some money on my chess piece bomb dropping game Chessplosion (with rollback netcode and the new online co-op gauntlet mode) or my propeller-powered duck delivery action game Ducky's Delivery Service, now is the time to do it. Enjoy!
My duck action games are discounted on Steam, itch.io, and Nintendo Switch! So if you want to save some money on my chess piece bomb dropping game Chessplosion (with rollback netcode and the new online co-op gauntlet mode) or my propeller-powered duck delivery action game Ducky's Delivery Service, now is the time to do it. Enjoy!