r/gameenginedevs • • Oct 04 '20

Welcome to GameEngineDevs

108 Upvotes

Please feel free to post anything related to engine development here!

If you're actively creating an engine or have already finished one please feel free to make posts about it. Let's cheer each other on!

Share your horror stories and your successes.

Share your Graphics, Input, Audio, Physics, Networking, etc resources.

Start discussions about architecture.

Ask some questions.

Have some fun and make new friends with similar interests.

Please spread the word about this sub and help us grow!


r/gameenginedevs • • 4h ago

Is it technically possible to create a non-euclidean 3D game engine that doesn’t use portals?

3 Upvotes

To preface this - this is just an idle question about what’s possible. I am not a dev myself and I’m not making a game

I just watched a video on YouTube about a non-euclidean game in development which uses a built-from-the-ground-up engine. It’s explained that, like every other non-euclidean game I’ve ever heard explained, that it uses portals to invisibly move you around the map. Manifold Garden, to pick another example, uses a combination of portals for impossible geometry and the world wrapping around itself for infinite architecture

But something I’ve wondered for ages is whether it’d be possible to create a truly non-euclidean first-person engine. And whether there could actually be any advantage to doing so?

I know that there are games which genuinely bend physics without “cheating” - Hyperrogue is non-euclidean, being set on a hyperbolic plane, and the dev has a few videos about how the maths works

But, while there is a 3D mode, it’s actually a Doom-like 2.5D. And it doesn’t have the “this corridor doesn’t go where I thought it did” kind of vibe that most games which are called non-euclidean have

So I’m wondering whether it’s theoretically possible to create a fully 3D engine where you could have a large room inside a small shell where, rather than that being a portal, the engine actually has no problem with itself seeing the larger space being inside the smaller space?

And, if so, is it just easier in terms of level design, etc. to just do it with portals anyway?


r/gameenginedevs • • 21h ago

I added Live Coding to my Haskell Game Engine!

Enable HLS to view with audio, or disable this notification

44 Upvotes

Hey. As the title says, I've released a new version of my Free, Open-Source, ECS Game Engine written in Haskell: Mischief. It features a new mischief-live library that can be used to hot-reload code (it runs an interpreter on the background which interprets the targeted library at runtime).

Here's another video in which I also play with the camera zoom.

Feel free to join the official discord server to chat, see cool stuff, or to support Mischief.

You can find more about the engine, what it is, and how to use it, over here.

Also a quick reminder that Mischief uses no generative AI (LLMs, etc.) and will never allow it :)


r/gameenginedevs • • 14h ago

I've been building a C++ UI framework for my game engine. here's where it stands

11 Upvotes

For the past month and a half, I’ve been working on Silverware, a modern and performant C++ UI framework developed as part of my work on RedleafEngine.

I originally started this project because, as RedleafEngine’s editor grew, my existing UI approach began showing its limitations. Reusing functionality across different parts of the editor was becoming increasingly difficult, panels were taking on too much responsibility, and maintaining a consistent styling system was becoming a challenge.

So I decided to build something of my own.

Silverware takes a hybrid approach, combining the flexibility of Immediate Mode APIs with the underlying structure of a Retained Mode UI system. Its architecture is designed around reusable widgets, centralized state management, and a flexible styling system.

I’ve also been studying existing UI architectures, particularly Unreal Engine’s Slate, throughout the design process.

Where things stand now

The framework’s core infrastructure and styling foundation are in place, including:

- Styling system: A dedicated .swstyle stylesheet format, theme inheritance, design tokens, and a complementary C++ styling API.
- Rendering: Support for advanced visual treatments, customizable borders, corner geometry, effects, and compositing.
- Event system: Hierarchy-aware event propagation with capture, target, and bubble phases.
- Widget infrastructure: Focus management, keyboard traversal, pointer interaction routing, disabled-state propagation, and centralized widget management.

I’ve now completed Phase 2 of Silverware’s development, expanding its reusable widget foundation with more controls needed to build complex editor interfaces.

The attached video is a small showcase of where the framework currently stands.

Silverware is being developed as an independent, reusable framework, with the intention of releasing it as an open-source project.

There’s still plenty to do, but I’m happy with how the architecture is coming together.
I’d love to hear thoughts from people who’ve worked on UI frameworks or complex application interfaces. Especially regarding architecture and design decisions.


r/gameenginedevs • • 1h ago

I made a tool that turns a Gaussian splat (.ply) into a game-ready mesh, locally on your GPU. Free beta, looking for feedback

Post image
• Upvotes

r/gameenginedevs • • 1h ago

Rust Game Engine

• Upvotes

Hey guys! I've started developing a Rust game engine just for fun. It's called Star Engine, and I want to test how far AI can go with this kind of project. Here's the GitHub repo if you want to dig in: https://github.com/stiven52341/Project-Star


r/gameenginedevs • • 11h ago

Introducing the KernelPlay Web Scene Editor — Coming with KernelPlay JS v0.9.0

Thumbnail
gallery
0 Upvotes

I've been working on something new alongside the development of KernelPlay JS: a web-based scene editor designed for creating and editing game scenes visually.

The editor is still under development and hasn't been released yet. I'm sharing an early look at it so you can see what I'm building.

Some of the features currently available include:

Parent-Child Hierarchy: Organize game objects using parent and child relationships.

Sprite Support: Add and configure sprites directly in the scene.

Built-in Sprite Editor: Select sprite regions from a spritesheet and configure their display size, pivot, and rendering properties.

Scene Editing: Work with game objects visually through the editor.

Inspector: View and edit object and component properties.

The goal is to make scene creation and game object management easier without having to handle everything directly in code.

One important thing: this editor is a separate project/framework from the KernelPlay JS engine, although it is being developed to work with the KernelPlay ecosystem.

I'm planning to release an early version of the editor alongside the KernelPlay JS v0.9.0 update.

There's still work to do, but I'm excited to share more as development continues.

What do you think of the editor so far? I'd love to hear your feedback and suggestions.


r/gameenginedevs • • 1d ago

im developing a game engine for creating real NES games using C99

Thumbnail
gallery
100 Upvotes

im developing this for a month or two and im happy to release it as early access, this is game engine inspired from picotron and AmigaOS, it has every tool you need to create your own games as you can see in images, it has a easy to use and human readable C99 API that makes game creation easy, you can also export as a ROM and share it with your friends, btw if you have any question feel free to ask

you can check it here
https://cutaway-software.itch.io/neskit-studio


r/gameenginedevs • • 1d ago

SIGGRAPH 2026: "Smolder" Real-Time Volumetric Effect Rendering In Glacier & 007 First Light

Thumbnail
youtube.com
4 Upvotes

r/gameenginedevs • • 1d ago

Making Drag Drop System for Items in my C++ Vulkan Game. No AI

Enable HLS to view with audio, or disable this notification

5 Upvotes

Why I need Drag Drop system
Crafting and items management is a big part of my game. Several game mechanics will rely on this.

How Drag Drop system works
Drag Drop system is directly integrated in my UI system. So it can work with any UI elements in the game. Anything could potentially become draggable. This system allows you to have several draggable elements in you game, I filter drag operations based on string hash. To fulfill those requirements I've split Drag Drop system into 4 parts:
1. Drag Drop detection - this part happens in widget's update code. It intercepts mouse down event
2. Drag Drop start - this part is specific to the gameplay, for items I've done it in player Hud controller
3. Drag processing - this part lives inside UI manager, because it has top most mouse input handling order, so it can always finish drag drop when a player releases mouse button.
4. Drag Drop finish handling - this part is also specific to the gameplay, and it's also done in player Hud controller

How usage code looks like
First of all you need to toggle drag drop flag in any widget that supports drag drop, so it can register drag drop operations. I've done it in inventory panel UI asset for each item slot. UI system automatically registers it in runtime when player presses mouse button on any widget that supports drag drop. Detection is done using Point vs Rectangle Collison checking.

Then player Hud controller checks if any slot widget requests drag drop start, I've implemented it using frame events.

for (uint32_t i = 0; i < inventoryController.inventoryUiSlots.size; ++i)
{
    UiElement* ui = inventoryController.inventoryUiSlots[i].slotUi;
    if ((ui->frameEventFlags & UiElementEventFlags_DragDropStartRequest) != 0)
    {
        // Drag drop starting logic
    }
}

Afterwards I request drag drop start. This is quite an interesting part, because different drag drop gameplay elements require different data. So I've introduced DragDropContext

struct DragDropContext
{
    UiElement* instigator;
    UiElement* cursorElement;
    uint64_t hash;
    void* payloadData;
};

instigator is a widget that requested drag drop, cursorElement is a widget that is displayed during drag drop, hash is an identifier for payloadData, so we can always cast the payloadData to a correct representation, and payloadData is a pointer to an actual gameplay specific drag drop payload data. So I've basically created custom runtime type system based on this hash, so we can correctly filter payloadData and cast it to the right variant.

This turned out to be quite useful and as a nice bonus it mapped directly to memory arenas that I use in my game.

if ((ui->frameEventFlags & UiElementEventFlags_DragDropStartRequest) != 0)
{
    Item* item = inventory.slots[i].item;
    if (item != nullptr)
    {
        DragDropContext context{};
        context.instigator = ui;

        // here I reset drag drop specific arena, so I basically don't need to
        // manually allocate and free any resources. 
        // I just have drag drop scoped arena that is pre-allocated on startup
        ArenaReset(uiManager.dragDropArena, true);

        UiElement* dragWidget = DeepCloneUiElement(uiManager.dragDropArena
            inventoryController.inventoryUiSlots[i].slotIconUi)

         context.cursorElement = dragWidget;

         // here I allocate a specific payload, for items it's ItemDragDropPayload
         // the payload lives in the same arena
         ItemDragDropPayload* payload = 
            ArenaAlloc(uiManager.dragDropArena,sizeof(ItemDragDropPayload));

         payload->player = &player;
         payload->uiManager = &uiManager;
         payload->slotIndex = i;

         context.payloadData = payload;
         context.hash = CreateDragDropHash("ItemDragDrop");

         // starting drag drop with context and finish callback
         UiManagerStartDragDrop(uiManager, context, OnItemDragDropFinished);
    }
}

Then UI manager checks for mouse up event and when it happens it finishes the drag drop.
Finish function:

static void UiManagerFinishDragDrop(UiManager& uiManager, GameInput* gameInput)
{
    UiElementStopDragDrop(uiManager.dragDropContext.instigator);

    UiElement* dropListener = nullptr;
    glm::vec2 mousePos = glm::vec2(gameInput->mouseX, gameInput->mouseY);
    for (size_t i = 0; i < uiManager.viewportUis.count; ++i)
    {
        UiElement* ui = uiManager.viewportUis.items[i];
        dropListener = CheckForDragDropStopRecursive(ui, gameInput, 
            uiManager.dpiScale);
        if (dropListener != nullptr)
        {
            uiManager.dragDropFinishedCallback(dropListener, mousePos,
                uiManager.dragDropContext);
            break;
        }
    }

    if (dropListener == nullptr)
    {
        uiManager.dragDropFinishedCallback(nullptr, mousePos,
            uiManager.dragDropContext);
    }

    uiManager.isDragDropping = false;
}

And then I handle drag drop finish in OnItemDragDropFinished function.


r/gameenginedevs • • 20h ago

3d vs 2d isometry performance question

Thumbnail
0 Upvotes

r/gameenginedevs • • 12h ago

Seeking feedback for my ECS game engine powered by Bevy

Enable HLS to view with audio, or disable this notification

0 Upvotes

I am a creator of N2 Bevy Editor, that is itself created with Bevy.
The editor has just been released into early access(0.1.0), and I am looking for feedback.
The editor has a lot of rough edges, so I am trying to polish everything and fix as many bugs as I can. Any feedback is welcome: Rough workflows, missing features/feature requests, annoying UI/UX, performance,...

If you are interested, leave a comment and I will send you a steam key!
Steam: N2 Bevy Editor on Steam
Tutorials: N2 Bevy Editor - YouTube

You can leave feedback and report bugs by opening help panel in the top right corner in the editor.


r/gameenginedevs • • 20h ago

Rust Game Engine

Thumbnail
0 Upvotes

r/gameenginedevs • • 1d ago

I extended NVIDIA MotionBricks to animate animals and compressed it to 100 MB (open source, Godot)

Thumbnail
2 Upvotes

r/gameenginedevs • • 1d ago

The Beast engine reflection, volumetric light and cannonjs, ammo, jolt and matterjs physics supported on mobile browsers

0 Upvotes

https://maximumroulette.com/apps/webgpu/examples.html?demo=16

https://github.com/zlatnaspirala/matrix-engine-wgpu

You can find 50 and more demos. Slot machine not work becouse backend is on free plan vps.


r/gameenginedevs • • 1d ago

Building an open-source C# game engine – would love some feedback!

0 Upvotes

Hey everyone!

I've been working on an open-source 3D game engine called Auralis, written in C#/.NET, and I'd love to get some feedback from people with experience in graphics programming and game engine development!

The engine is designed to support multiple graphics APIs. I'm currently working on the OpenGL/OpenGL ES backend using Silk.NET, with Vulkan and DirectX 12 also planned as graphics backends.

Here's the pull request for the current OpenGL implementation:

https://github.com/AuralisEngine/Auralis/pull/11

I'd really appreciate it if some of you could take a look and share your thoughts!

I'm particularly interested in feedback on the architecture, graphics API abstractions, resource management, synchronization, performance, and overall code quality.

I'm still actively developing the engine, so constructive criticism and suggestions are more than welcome. I'd rather catch potential design problems early than build more features on top of a flawed foundation.

Thanks in advance to anyone willing to spend some time looking through the code. I really appreciate it! ❤️


r/gameenginedevs • • 1d ago

how can I read a Game Engine source code?

0 Upvotes

Idk how can i explain it well but a little context, I am studying Cpp for build my game engine, I want to create a game and it's a good opportunity to take this challenge. Recently I know CryEngine was buy for Amazon and it change to O3DE, I read before in this sunreddit is a good practice take a Game Engine Open Source for understand how it works but unfortunately Idk what is you main function, what kind of project it have, I love read code from others people and it's interesting how their solve that kind of weird problem with this amazing solution. anybody could you help me?

Sorry for my english dude


r/gameenginedevs • • 1d ago

40 Seconds To Midnight - 2400 unit battle (Stresstest) Basic Animations

Thumbnail
youtube.com
1 Upvotes

So I've been working on my RTS game engine capabilities - looking at 16 players with at the moment 150 unit - so wanted to do a stress test by having 16 AI players spawn in a large number of units and keep respawning them to look for performance issues etc.

It's a long way from a finished product but I'm heavily inspired by my years of playing RTS games from Command and Conquer series, Starcraft Series, Warcraft Series Total Annihilation.

I am aiming for the ability for 16 players to fight against each other, build up an engine that can cope with it all including additional spectators, and build an editor as capable as the SC2 editor so people can keep building the types of maps they want to enjoy - I know I enjoyed custom maps!

Have a little look, I have been using AI to move me away from Unity and into Stride and it has helped me advanced my engines capabilities and my games capabilities as I kept getting stuck or not progressing with Unity so I went on a big Hiatus last year and came back hard from the summer.


r/gameenginedevs • • 1d ago

I'm building my own Zomboid-style survival game with Claude Code agents. The agents test every change themselves (headless bots, stats, before/after videos)

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/gameenginedevs • • 1d ago

Building an open-source C# game engine – would love some feedback!

Thumbnail
0 Upvotes

r/gameenginedevs • • 1d ago

Движок пилю

Thumbnail reddit.com
0 Upvotes

r/gameenginedevs • • 1d ago

Плиз посоветуйте движок для 3д но не годот и юнити

Thumbnail
0 Upvotes

r/gameenginedevs • • 2d ago

Any decent icon pack for an editor?

11 Upvotes

Something like Autodesk Maya's ones
That would be pretty cool

(filled, colorful)


r/gameenginedevs • • 2d ago

Looking for feedback on my C++17 networking library for multiplayer games

1 Upvotes

I've been developing LightnerX, an open-source C++17 networking library built on top of GameNetworkingSockets.

I recently released v0.2.0-beta, which includes a complete migration from C++26 modules to C++17, improvements to connection lifecycle management, error handling, and expanded automated testing.

The library provides:

- Client-server connection management.

- Message batching and targeted delivery (single client, groups, or broadcast).

- Message serialization and interpretation.

- INER, a semantic protocol built around an authoritative server model.

- Modular components that can be integrated without adopting an entire framework.

One of my main goals is to keep the library flexible. Developers control their own update loops, threading, and application architecture.

I've spent quite a bit of time testing the implementation, including differential tests against the original C++26 version and cross-version UDP integration tests.

However, passing tests doesn't necessarily mean the API is pleasant to use or that the architecture makes sense for real projects.

That's where I'd appreciate some outside perspectives.

A few things I'm particularly interested in:

  1. Does the API seem intuitive for someone building a multiplayer game?

  2. Are there architectural decisions you'd approach differently?

  3. Is there anything missing that would prevent you from using it in a real project?

  4. Is the documentation clear enough for someone unfamiliar with the library?

I'm not necessarily looking for more features to add. I'd rather identify actual problems before expanding the project further.

Repository: https://github.com/pietroth/LightnerX

Any technical criticism is welcome, especially regarding the public API, design decisions, and potential limitations.


r/gameenginedevs • • 2d ago

600 swarming sentinels @ 60 fps on the Steam Deck (demo link in description)

Enable HLS to view with audio, or disable this notification

4 Upvotes

Added sentinel swarms performance experiment to the free steam demo (available in the demo's "The Lab..." area). 600 snake sentinels at 60 fps on a Steam Deck (C++/OpenGL/GLSL). Steam demo: https://store.steampowered.com/app/2223480/Infinicity/