@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@INCD021@mastodon.gamedev.place avatar INCD021 , to random

So after fighting and not getting it to work, I've switched to and it worked right away. I think I'm just not used to and VS Code setup yet, and I've been pampered way too much over the past decade with nice looking IDEs. They are good, but also hide a lot of what is going on under the hood. So it's nice having to be so explicit. Also why I'm turning to C++ again. Not too much magic!

@tracefree@mastodon.gamedev.place avatar tracefree , to random

Current design decisions for my game engine:

  • NOT a general purpose engine, it'll be tailored to the kind of games I want to make
  • Open source
  • C++23
  • Vulkan 1.3
  • SDL3 for windowing, input, filesystem interfacing, possibly audio
  • Slang as shader programming language
  • Jolt physics
  • Split into core engine library, game application, and editor application
  • Dear ImGui for the editor UI
  • Maybe Luau for gameplay scripting?
tracefree OP ,
@tracefree@mastodon.gamedev.place avatar

So, I want to support having multiple windows. has a "multiviewport" feature for that where the ImGui context can be shared, but it's not supported under Linux with Wayland. So my only option is initializing multiple ImGui contexts and rendering them separately.

That's all fine. I'm just wondering if doing so will prevent me from doing drag-and-drop operations with ImGui across windows 🤔

@britown@mastodon.gamedev.place avatar britown , to random

It's ! This week I've been putting together inventory and equipment from the ground up. Still a mountain left to do but I'm quite happy with what I have so far 😁

The item art was pretty fun to make and I got to implement drag-drop generically in the game's "EGAUI" -like UI framework

Gif of an Ultima-style paper doll with equipment being dragged onto and off of the equipment slots.

@ronak69@serenityos.social avatar ronak69 , to random

Dear ImGui frontend for Ladybird! I'm calling it "Dear Ladybird" :^)

Check it out: https://codeberg.org/ronak69/dear-ladybird

typical dear imgui viewport with one "tab window" spanning it except a portion in the bottom where there is a small "global settings" window. welcome.html is the default url for new tabs in the gif. gif programmatically generated using the imgui test engine. with the "normal" mode, so the mouse movements are relatively fast, super smooth and precise and in straight lines. scene 1: scroll down all the way. right click on a link to "serenityos.org". click "open link in new tab". scene 2: new tab opens up. drag and dock it in the right half of the first tab. type in "ladybird.dev" in the first tab. scene 3: open "tab settings" window of the second tab. move it besides the "global settings" window. drag on zoom level slider until 0.6x zoom. scene 4: click on "open new tab" in the "global settings" window. third tab opens. dock it into the lower half of the combined dock window of two tabs. type in "dearimgui.com" in the third window's location bar. scene 5: click zoom out button of the first tab three times for 0.7x zoom. wait for dearimgui.com to load scene 6: scroll down a little after it loads. scene 7: close the 3rd tab. close the 2nd tab. scene 8: go back to zoom 1.0x on 1st tab by clicking "+" three times. undock the sole tab. scene 9: click "<" and go back to welcome.html. the screen contents are almost same as in the beginning. so the gif is ~perfect loop. second run of the gif begins.