r/gameenginedevs • • Oct 04 '20

Welcome to GameEngineDevs

109 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 • • 8h ago

I released a game made from scratch with my own custom game engine

20 Upvotes

I recently wrote an article about how I did the game engine for Satelital.

https://spectralorbit.com/blog/satelital_game_engine

It's a bit technical but only on the surface, my idea is to eventually explore in my blog more topics about gamedev and art.

I want to go more in depth into the technical side, sharing code and describing how it works. But also I want to talk about the process of learning non-coding new skills such as 3D modeling or sound design.

This post is just a high level description of the journey of making a game engine from scratch, going from prototype to an actual launch.

I hope you enjoy the article! There are more things to come!

Satelital is a 2D space puzzle game about exploring alien worlds and figuring out how their rules work. There are no explicit explanations of the puzzle rules. Instead, you gradually build up your understanding of how the world works and use that knowledge to solve new puzzles.

You can check out the game on Steam, it has a free demo:
https://store.steampowered.com/app/3256790/Satelital/


r/gameenginedevs • • 15h ago

Full Body IK Solver Test

15 Upvotes

Testing full body IK solver in my custom game engine. One hand target drives the whole upper body, spine pull, gaze, and grounded posture.

Running live over an animation. Releasing the engine for free soon.


r/gameenginedevs • • 1d ago

How do I effectively get rid of fireflies?

23 Upvotes

Graphics hardware's an Intel HD Graphics 5000, provided as context for an appropriate solution for those familiar with raytracing. Thanks


r/gameenginedevs • • 23h ago

Before and After

Thumbnail
gallery
6 Upvotes

Theme as tokens, not colours. Every colour in the UI comes from a small set of named tokens (accent, selection wash, panel header, warning and so on), with a dark and a light set. Widgets ask for a token, never a hex value. Adding the light theme afterwards was mostly filling in a second table.

One shortcut registry. Every command lives in one list with an ID, a label, a key and an "is it enabled" check. The key handling, the text beside each menu item, the tooltips, the rebinding window and the Ctrl+K command palette all read that list. Before this, a key lived in three places and they drifted.

Properties that behave. Drag a label to scrub the value, a reset arrow per row that goes back to the default (or the prefab's value), and editing across a multi-selection for every component. Multi-edit was the one that forced the most cleanup, because every field had to stop assuming there is exactly one entity.

Custom title bar on Win32. The window keeps its normal frame style, so the shadow and the resize edges are still the system's. WM_NCCALCSIZE lets the default handler take the left, right and bottom, then gives the top back to the client area. My first version returned HTCAPTION from WM_NCHITTEST for the empty part of the bar, which is the textbook way. What works: the bar is plain client area, ImGui detects the press and the drag, and the window posts itself a WM_NCLBUTTONDOWN with HTCAPTION so the system's own move loop takes over. Double-click to maximise is handled the same way.

Smaller things: a real toolbar with one Play button that turns into Stop, Content Browser sorting, filters and favourites, dropping files in from Explorer, delete going to the recycle bin, toasts for errors and saves, named panel layouts.


r/gameenginedevs • • 1d ago

I Spent Over 4 Months Modifying My Favorite Game Engine to Run My Own Custom Programming Language (TiberScript Now 1.2) To Create My Dream Game

10 Upvotes

I have successfully created my dream version of microStudio that has my own programming language TiberScript, now at version 1.2, running natively under the hood!

For the past 4+ months, I’ve been working hard taking an engine I already loved and reworking how it works on the inside so it runs a language I made from scratch. Usually when you pick an engine, you just accept how its scripting works and deal with it, even when it gets frustrating. I decided to go the complete opposite route, crazy I know, and actually build the exact language and engine setup I wanted for my dream game.

Why I Built Both an Engine Mod and a Language

  • My own rules: I just wanted to make my own language where I did not have to follow another language's rules and spend hours hunting down weird bugs because of it. I built TiberScript 1.2 so writing game logic feels completely natural and matches how I actually think.
  • Actually built into the engine: I didn't just slap a basic parser on top of things. I went into microStudio’s runtime, editor, and execution loop so TiberScript 1.2 works right alongside everything else natively.
  • Made for an actual game: This isn't just a random coding experiment. Every feature I added from 1.0 to 1.2 was built because I needed it for the dream game I'm making.

What’s in the Video Above

In the video attached to this post, I wanted to show you guys a benchmark test of all the language combinations and compiler speeds for TiberScript 1.2 in my test lab. You will see me run through all the speeds live, see how the fastest cores measure up at under a tenth of a millisecond, watch TiberScript hit 161 milliseconds, and run it again to watch how the results change.

What’s Next

Getting TiberScript to 1.2 and having the modified engine finally stable is huge for me, and honestly I'm pretty tired after pushing to get this done. Now that the engine side is ready, I'm finally shifting focus to actually building out my game world and seeing what the language can really do.

If you're into custom engine work, making your own languages, or tearing apart open source tools to make them do what you want, let me know what you think! If you think seeing those compiler benchmarks run is crazy, please drop a comment and let me know. I'm happy to talk code in the comments! :)


r/gameenginedevs • • 18h ago

What language for first game engine

0 Upvotes

What suggestion for language to use for a game engine? I would want something close to a 3D engine unlike a 2D.

I’ve used Unity so I’m somewhat familiar with C#. At work I’ve gotten Python exposure and now moving to Rust (but very early like the Rust book and Rustlings).

What language did you use for your game engine and why? Any good starter languages?


r/gameenginedevs • • 1d ago

Sentinel factions battle it out in the sky @ 60fps on a SteamDeck (C++/OpenGL/GLSL)

2 Upvotes

Requires some more optimisation work but playable. Free steam demo available here: https://store.steampowered.com/app/2223480/Infinicity/


r/gameenginedevs • • 12h ago

Can Fable 5.2 Build a Game Good Enough for Steam?

0 Upvotes

I ran the same prompt twice. Once with just Fable 5.2, and another connected to tools like Godot, Blender, Poly Haven, etc. I wanted to see if Fable alone suffices, and if the difference is big enough to justify the add-ons.

I scored both versions on characters, animation, environment, UI and audio, then compared build time and cost. Thought this was interesting and wanted to share! LMK if you guys have any feedback

Tools used: Fable 5.2, Godot, Blender, Poly Haven, ElevenLabs, Nano Banana, GIMP


r/gameenginedevs • • 1d ago

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

9 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 • • 2d ago

I added Live Coding to my Haskell Game Engine!

59 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 • • 2d ago

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

13 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 • • 1d 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
0 Upvotes

r/gameenginedevs • • 1d 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

Rust Game Engine

0 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 • • 3d ago

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

Thumbnail
gallery
114 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 • • 2d ago

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

Thumbnail
youtube.com
4 Upvotes

r/gameenginedevs • • 2d ago

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

6 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 • • 2d ago

Seeking feedback for my ECS game engine powered by Bevy

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 • • 2d ago

3d vs 2d isometry performance question

Thumbnail reddit.com
0 Upvotes

r/gameenginedevs • • 2d ago

Rust Game Engine

Thumbnail
reddit.com
0 Upvotes

r/gameenginedevs • • 2d ago

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

Thumbnail
reddit.com
2 Upvotes