Elektrine lite

← Feed

@MikkoMononen@mastodon.gamedev.place

Post #1024747

2026-03-27 07:07 UTC

I have been working on data inheritance recently. The kind of stuff that you usually see with prefabs, but I believe that all the assets should support data inheritance. I just released an article how to do that on property and container level. It tries to cover both the low level bits and the UI. It's one of those problems that have to be worked as a whole. https://github.com/memononen/data_inheritance

Replies (3)

  • I tried to keep things simple and used Dear ImGui for the example code, i n the hopes that someone can pick up the ideas and run whit them. Thanks @ocornut@mastodon.gamedev.place for awesome support!

    Open ##2350680

  • @pervognsen@mastodon.social 2026-03-27 10:07

    @MikkoMononen@mastodon.gamedev.place Nice article! Even augmented with some of the additional information (e.g. the override flags), the derived data still feels more like a snapshot representation than a delta/change-based representation. My intuition is that a delta representation would be better at capturing the user's intention and therefore be better for rebasing, but I haven't thought deeply about it.

    Open ##2350681

  • @MikkoMononen@mastodon.gamedev.place Thanks for the article, this kind of stuff is super-valuable! I tried to build the project out of curiosity but got an error referring to a local path on your computer I believe. I'm a bit scared of CMake so I didn't dig deeper, but I thought I'd let you know!

    Open ##2350686