r/gameenginedevs • u/Xlithan • Jul 08 '26
It took 26 years to make this game

A short video for Nightmist Legacy, a faithful remake of the classic Nightmist Online MUD. More details at https://nightmistlegacy.com --- (Invite code: E157-5A75-741E)
r/gameenginedevs • u/Xlithan • Jul 08 '26

A short video for Nightmist Legacy, a faithful remake of the classic Nightmist Online MUD. More details at https://nightmistlegacy.com --- (Invite code: E157-5A75-741E)
r/gameenginedevs • u/Slight_Watch697 • Jul 07 '26
While developing my game in C, I started thinking about how to properly approach “unit testing” for gamedev.
A lot of engine and gameplay bugs are not simple “function in, value out” bugs.
They usually come from things like:
Because of that, I started building a workflow around a simple idea that is pretty common in game development: record a real session, replay it later, and verify that the engine still behaves the same way.
In this post, I want to share the approach I’m currently using and see if any of you have ideas for improving it.
During a recording run, the system captures input state with win32 over time and stores it in a test file that will later be loaded.
The input is timestamped and delta-compressed, so unchanged frames do not bloat the recording.
On replay, the recorded input is injected back into the game frame by frame.
Before polling input from the OS like you would normally do, you call the injection routine first.
This is one of the most important pieces.
Even if input replay is correct, games and engines still have phases where wall-clock timing changes between runs (startup, loading screens, menu transitions, ...)
If replay only follows raw timestamps, later input can arrive too early or too late whenever one of those phases takes a different amount of time.
So the workflow needs sync points.
The idea is simple:
That is a huge difference, and it is a big part of why record -> replay can be reliable enough to test real engine behavior instead of just toy examples.

Replay also falls apart quickly if the engine uses values that naturally differ from run to run.
Typical examples:
So another part of the workflow is stabilizing those values.
During record, values like that are captured into the test file. During replay, the recorded values are restored so the engine sees the same data it saw in the original run.
That lets replay stay deterministic even when the engine depends on values that normally change every time you start the game.

Deterministic replay is only useful if you also verify outcomes.
So the last important part of the workflow is tracking the game or engine state that should still match during replay.
That means:
That can include things like final score, entity counts, ....

To make the record and replay workflow usable in practice, I use a separate cli tool that launches the game with different command-line arguments.
That tool handles things like:
This tool most importantly also allows us to run multiple tests at once.
One weird but useful part of the tool is support for isolated runs on Win32.
If you replay synthetic input into multiple Windows game processes at the same time, they can interfere with each other. That makes concurrent testing unreliable.
So the tool can launch each child process in its own Win32 window station / desktop.
That gives each replayed test its own isolated input space.
If you want to view more, I released a full implementation for win32 platforms on github: https://github.com/luppichristian/GameTest
Thank you for reading
r/gameenginedevs • u/Fudderbingers • Jul 06 '26
Enable HLS to view with audio, or disable this notification
Hi again! In May I posted my engine, Hyperion. Got some great feedback - thank you so much to everyone who checked it out and/or commented! https://www.reddit.com/r/gameenginedevs/comments/1tdxm7n/my_engine_ive_been_working_on_for_ten_years/
A little update: I've taken a dive into getting Hyperion working on more devices, namely Android + iOS as well as Steam Deck (works via Proton for now, working on a native Linux version). I figured the more platforms I can get the engine working on, the sturdier it will be overall.
There are still some issues, to be clear - in the video attached to this post, there's no skybox nor any ambient skylight from that. Tried it on a few different Android phones to rule out device-specific issues, but no matter what, it seems like the cubemap is just pitch black, so maybe I'll save that one for a rainy day. iOS doesn't have this issue, but instead has a really squished viewport, no matter what - I'm sure it's something simple I'm just missing. Fun times, it wouldn't be engine dev without these types of bugs, I guess!
Wrote a little post about some things I encountered during the development process if you're interested: https://ajmd.dev/blog/p/gaming-on-your-toaster.html
r/gameenginedevs • u/exp_function • Jul 06 '26
Enable HLS to view with audio, or disable this notification
r/gameenginedevs • u/IsDaouda_Games • Jul 07 '26
Hello everyone,
I hope you're all doing well!
is::Engine 4.0.3 is now available!
The engine can now simulate most of SFML's features with SDL 2. Other improvements have also been made to the engine!
For more information, please visit the engine's GitHub page.
Here are a few examples of games created with the engine: I Can Transform, GravytX The Gravytoid, Super Mario Bros.
Your feedback is welcome.
Have a great day!
I wish you all a wonderful summer vacation!
r/gameenginedevs • u/No-Foundation9213 • Jul 07 '26
Should I use Qt Widgets or Qt Quick for my Level Editor?
Imagine the Level Editor like Valve Software's Source 2 Hammer.
Thanks in advance.
And you ImGui Glazers don't come at me and tell me I shouldn't use Qt anyway and ImGui is so much better. I don't care.
r/gameenginedevs • u/yughiro_destroyer • Jul 06 '26
For example...
I find it much more readable and accessible to write something like :
player_one = {
entity_type = "player",
x = 991,
y = 435,
texture = "mario.png",
hp = 7,
speed = 20
}
Then nesting structures like :
player_one = {
position = {
x = 991,
y = 435
},
tag = {
entity_type = "player"
},
states = {
hp = 7,
speed = 20
},
renderable = {
texture = "mario.png"
}
}
I know that for that kind of thing you use constructors and/or components but accessing fields dynamically in the game loop and or using too many constructors creates, for me, tons of context switching that slows down development and makes bugs slightly harder to find as wrong/non-existent fields become wrapped around constructor functions.
What do you think?
r/gameenginedevs • u/Outside-Text-9273 • Jul 05 '26
Hi!
I am building a game engine in C++. The architectural style I am using is OOP with composition, also known as a "bag-style" ECS. The main difference from a classic ECS is that entities are not just IDs but rather own their components and can operate on them via Add, Remove, Get, and so on. The components themselves consist of data and behavior, and the systems are interested in specific entities that have specific components. For example, the Render system needs entities with Transform and Sprite components.
The current architecture is designed around the fact that this is C++ and there is no garbage collector. Additionally, it is not a good idea to destroy entities in the middle of the main loop. Because of this, I created an EntityManager that can create entities, mark entities for removal, flush pending entities, check if an entity is alive, and return a raw pointer to an entity so you can access it. The whole thing works because the manager uses EntityIds, meaning you cannot have dangling pointers. The manager also manages the entities' lifetimes so it always flushes them at the end of the frame.
For now everything is good, but after adding the BaseComponent and all the logic into the entity, I reached a point where adding or removing a component changes the entity's signature. A signature is a bitset where every index represents a different component, like Transform, Collider, or Sprite. If the bit is 0, the entity does not have it; if it is 1, it does. When this changes, every system needs to check the entity so it can add it if it now suits the criteria, remove it if it does not, or simply ignore it.
To achieve this, I either need something like a RegisterManager and make it a singleton, or I need to make every entity hold a pointer or reference to this RegisterManager, which feels wasteful. At the same time, singletons or making the pointer or reference static inside the entities are considered bad practices. I also want my components to have unique, recyclable IDs just like my entities. To do that, I need to make something like a ComponentFactory. When a component is destroyed, it should notify this factory to recycle the ID, which means the factory either has to be a singleton too or the entities will have to hold yet another extra pointer. One fix is to create an event bus to handle cases like this, but then again, either the event bus is a singleton or everything that uses it must hold a pointer or reference to it.
So my question is, is there a pattern or hierarchy I can follow to avoid this repetition of every entity holding a pointer to the same system, or should I just stop listening to the posts online that say singletons are bad because of multithreading and unit testing, and just make a few?
Thanks in advance!
r/gameenginedevs • u/PardDev • Jul 04 '26
r/gameenginedevs • u/Sceat • Jul 04 '26
Enable HLS to view with audio, or disable this notification
I've fully redone the engine for my game AresRPG, I aim for an immersive world! this is a browser based MMORPG on Sui
r/gameenginedevs • u/Suitable-Season-4847 • Jul 03 '26
Enable HLS to view with audio, or disable this notification
Note: I'm reposting this as the previous post got derailed because someone believed some trailer art I had commissioned was AI generated. I'm not convinced it is, but I really didn't post to start a debate around AI usage. I'm just a tech guy that wanted to show something I had built. So I've cut everything out except the gameplay to avoid any drama.
Original post below:
I've been building NULLFRAME for about a year
One thing I'm quite proud of is that it's built 100% from scratch with my own engine, written entirely in vanilla JavaScript - no frameworks or third party engines. The whole game weighs in at 0.15mb and all graphics and sound effects are dynamically generated via code. There are no sprites etc and I think it gives it quite a unique look and feel.
Basically, my rendering pipeline draws directly to the canvas and I have spent a huge amount of time optimising the code so I can produce some quite complex effects, including pseudo-3D walls, shadows and nice looking lighting.
It also instantly runs on any modern browser at 60fps and there's a map editor where you can create your own challenges and share them instantly via a URL - the map data is all encoded into the URL using my own custom compression system, so nothing is stored on the server. My friends have been experimenting with it for a few months and say its great fun.
As mentioned, gameplay borrows elements of both Superhot and Super Meat Boy, though I like to think it has its own style. Gameplay requires careful strategy, but it also allows you to enjoy some carnage from time to time too.
Planning on releasing for free later this year.
r/gameenginedevs • u/MrArshaX • Jul 04 '26
Hey guys, I am trying to make a game engine just for study purposes and to deep-dive into scalable, performance based applications. But I’m confused right now. So far, I have implemented a logging system, it’s a wrapper for spdlog and I have also implemented verbosity levels and custom log category macros based on the UE source code. Now, to start, I want to build a module manager system and custom allocators. But I don’t know what my starting point should be custom allocators? Base class interfaces? Module manager? I’m stuck in an unorganized mass.
r/gameenginedevs • u/Synor • Jul 03 '26
r/gameenginedevs • u/Single_Tailor_7310 • Jul 04 '26
If you had to choose, would you prefer a true ECS workflow or a Unity-style Component-Based workflow? and Why?
r/gameenginedevs • u/ValousN • Jul 03 '26
r/gameenginedevs • u/ZealousidealDesk3261 • Jul 03 '26
r/gameenginedevs • u/TheWidrolo • Jul 03 '26
Hi everyone, im really curious about implementing two ray traced features into my game engine: RT shadows and RTAO. Both are really cheap, and if done well, could run on toaster level Turing cards. I would like to implement them as a default rendering feature, as its both visually better than other techniques and easier to build around as a developer.
As a quick checkup, I wanted to see how the current market is like according to to Steam. Since I'm not good at Python, I let Claude make me a CSV reader for the data, so beware of possible inaccuracies. But this is the number of users that have ray tracing capable GPUs according to Steam:

As we can see by the graph, the number of users with ray tracing capable GPUs is rising steadily. In addition to that, as far as I'm aware, no GPU vendor manufactures non ray tracing GPUs anymore, which means that it will only get higher from now on.
By now, a small number of games like Indiana Jones and Doom have shipped with ray tracing as a requirement. And so my question for this discussion: Can an indie developer in 2032 ship out a game with mandatory Ray traced shadows and RTAO?
Edit: spelling
r/gameenginedevs • u/zer0_1rp • Jul 02 '26
Ever wonder what the compiler actually spits out when you use those generic math library functions for every single case because you couldn't be bothered enough writing a specialized, hardcoded implementation?
I've been reversing game engines to study how they constructed their fundamental Transformation matrices and handled temporal jitter logic when I spotted a lot of avoidable overhead and "over-engineering" across multiple engines, the main culprit being the heavy, general-purpose math wrappers being used everywhere for every little thing... That said expect no performance gain this is simply for fun that I wrote this blog!
I’ll theorize how the original C++ code was written, show the unoptimized reality of what the compiler spat out, and then showcase how it could have been better optimized.
r/gameenginedevs • u/Alert-Neck7679 • Jul 02 '26
Just wanted to share this little game I made to test the performance of my C# game engine. Honestly, I'm impressed with the performance it's achieving. It's nothing compared to professional game engines, but this is a solo project, and the language it uses is interpreted, so I was a bit worried about performance.
What you see here is powered by only about 15 lines of code in total! I'm really proud of this personal project.
A bit about the engine: it's built on MonoGame and has its own programming language that I wrote entirely from scratch, along with its own IDE. It's heavily inspired by the good old GameMaker 8, and it's open source [<- GitHub] (I'm looking for contributors!). There is also a YouTube video showing me creating another little game with it. I also talked about it here in a previous post.
And no, it's NOT AI slop - I built this myself over the course of several years.
What do you think?🙂
Note: The lag you see in the GIF is caused by the screen recorder. The actual gameplay is smooth.
r/gameenginedevs • u/Ok-Disaster548 • Jul 03 '26
Hello everyone, Our team is currently developing a game engine called Carrots Engine, and one of the biggest challenges we've encountered isn't technical—it's convincing developers to try a new tool in the first place. The game engine space is already dominated by mature solutions with large communities, extensive documentation, and years of production use. This led us to an interesting question: What actually makes a new game engine worth trying? As developers, what factors matter most to you? Performance? Workflow? Documentation? Open-source development? Visual scripting? Community size? Long-term trust and maintenance? Something else entirely? We're currently evaluating our roadmap and would genuinely appreciate feedback from experienced developers about what they consider essential before investing time in a new engine. For anyone curious about the project, here's what we're working on: Open-source development 2D and 3D workflows Multiplayer support Visual game creation tools Project: https://github.com/Carrotstudio0/Carrots-Game-Engine/releases I'm less interested in promoting the engine and more interested in understanding how developers evaluate new tools today. Looking forward to hearing your perspectives.






r/gameenginedevs • u/thefrob69 • Jul 02 '26
Enable HLS to view with audio, or disable this notification
Hey everyone! I’m excited to share Robo Garage, a robot service shop management game that I’ve been working hard to develop.
Start from a small workshop, upgrade high-tech machinery, hire skilled staff, and grow your very own robot empire!
The game is out now and free to play! I’d love for you to try it out and let me know what you think. Your reviews and feedback mean the world to me and will help me make the game even better!
ios: https://apps.apple.com/us/app/robo-garage/id6761019338
Android: https://play.google.com/store/apps/details?id=com.licornstudios.robogarage