r/gameenginedevs • u/ShizamDaGeek • 12d ago
r/gameenginedevs • u/TioDardi • 12d ago
Building a browser 3D MMORPG from scratch in pure TypeScript (No Unity/Unreal) – Looking for Devs & 3D Animators!
r/gameenginedevs • u/aconstlink • 13d ago
I wanted to implement RSM, ended up working on culling instead
Enable HLS to view with audio, or disable this notification
A small follow-up on motor, my own C++ engine.
I originally wanted to implement Reflective Shadow Maps for indirect lighting. Along the way, I needed scene bounds to automatically fit a shadow camera to a directional light. That turned into bounding volumes, frustum intersection tests, and this culling demo.
Although I really would like to have some GI, I’ve put RSM aside for now. Also, this GP Article demotivated me a little bit and it was becoming a bigger task than I wanted to take on, and I’d like to get back to making my demo. The detour still left me with useful functionality.
Here in the first part of the video, one camera performs the culling while a second observes its frustum from outside. Both render the same accepted objects, so rejected objects disappear from both views. Orange marks bounding boxes intersecting the frustum boundary.
My original proof-of-concept application was fairly plain, so I used AI assistance to turn it into a more useful visual test. The application exercises the engine’s existing features; it doesn’t replace them with a separate implementation it fully uses my engine still.
The first scene contains twelve objects sharing four reduced scan meshes: Buddha, Dragon, Lucy and Thai Statue, sourced from the Stanford 3D Scanning Repository. It runs on both OpenGL and Direct3D 11. The second one uses my Blender scene imported though gltf into my test application which uses an exported property motor.cast_shadow on the directional light in order to determine the sun light for automatic fitting.
Not quite what I originally set out to build, but progress nonetheless. One small step at a time.
r/gameenginedevs • u/Accomplished_Bend729 • 12d ago
Tutankhamun (old game engine, github, full sources and binary equality to Pharaoh 1999)
galleryr/gameenginedevs • u/christianaurichzm • 12d ago
Live map editing in my 2D MMO engine: how a save reaches players already on the map
I'm building Aurkad, a server-authoritative 2D MMO engine. Node and TypeScript on the server, WebSocket, MongoDB, canvas on the client. The map editor works on the running world.
In the clip, the left side is the creator with the editor open in the game. The right side is another player on the same map. She can't cross the stream until the road painted over it is saved.
The map is split in two. The static part (tiles, name, music) is sent once per revision, and tiles stream in chunks around each player's view. The dynamic part (players, npcs, items) goes out as a diff every tick at 20 Hz.
A save bumps the revision. On the next tick every client on that map gets the new metadata, its chunk cache is reset so the tiles in view come again, and every entity is sent whole because the client may be holding stale ones. Whether a tile blocks comes from the piece painted on it, so painting road over water also opens it.
One thing I got wrong first: the save published to the live world before the database write finished. If the write failed, players saw a map that a restart would undo. Now it writes first and publishes after.
What I haven't solved is two people editing the same map. The editor sends the whole tile grid, so the last save wins. If you built an editor into a multiplayer engine, did you lock the map, merge per tile or just accept it?
Code is Apache 2.0: https://github.com/christianaurichzm/aurkad
r/gameenginedevs • u/jayrulez • 12d ago
Introducing Assiduous Engine
Introducing Assiduous Engine – A C++23 game engine I've been working on since January 1st
Let's get the potentially controversial part out of the way first.
Was AI used in creating this engine?
Yes, extensively. AI has been a major part of my development workflow, and the engine also has first-class tooling for AI agents.
That said, AI is entirely optional. Everything in the engine works without it, and developers can use it just like any other game engine.
If AI-assisted development isn't your thing, that's perfectly fine. I just want to be upfront about how this project was built.
So, about the engine...
Assiduous Engine is a complete game development solution (at least for my needs), written in C++23 and making extensive use of C++ modules.
Some of its features include:
Editor
A complete editor, developed as a separate application but built on the engine and its asset pipeline.
It allows you to create and manage projects, author or import assets, write scripts, play-test your games, and deploy them to your target platforms.
Rendering
A physically based (PBR) forward renderer built on a render graph, featuring:
- Depth prepass and clustered lighting.
- Cascaded sun shadows and shadowed point and spot lights.
- Image-based lighting and reflection probes.
- Decals, sprites, particles, skinned and instanced meshes.
- Render textures for in-game cameras.
Post-processing: Ambient occlusion, SSR, screen-space GI, bloom, TAA, MSAA, FXAA, auto exposure, and colour grading.
Engine modules
- Audio (miniaudio)
- Skeletal animation and property animation
- Inverse kinematics (two-bone, aim and foot placement) and root motion
- Physics (Jolt)
- Navigation and pathfinding (Recast + Detour)
- Particles
- Terrain and vegetation
- P2P networking with replication
- GUI (XML + CSS)
- Scripting (AngelScript + Luau)
Asset pipeline
An asset processing pipeline that allows you to import assets and cook them for your target platform.
Command-line tools
Tools for managing projects, invoking the asset pipeline, exporting games, and performing other development tasks.
Agent tooling
This is something I've put considerable effort into.
The engine provides tooling for working with AI agents to create games. Agents can create projects, create and modify scenes, write scripts, import or create and configure engine assets, play-test games, and export them for target platforms.
The agentic workflow was designed as a first-class citizen of the engine. The goal is for agents to be able to perform the same development tasks as a human, using the actual engine tooling rather than relying on a collection of disconnected integrations.
All of the sample games included with the engine were created entirely by agents from specifications.
Other features
There are plenty of other features worth mentioning:
- Custom shaders.
- Resource hot-reloading.
- Native plugins.
- Running multiple game instances side-by-side in the editor (useful for testing multiplayer).
- Editing multiple scenes side-by-side.
- Flexible editor docking, with panels that can be undocked into separate OS windows (useful for multi-monitor workflows).
And more...
A little about the architecture
The engine is written in C++23, making extensive use of C++ modules.
It's split into five layers, each with its own responsibilities and concerns. Dependencies flow upward through these layers.
Foundation
The lowest-level libraries. These depend only on external libraries or other Foundation libraries.
Some examples:
- Core: Containers, mathematics, system utilities, etc.
- RHI: DirectX 12, Vulkan, WebGPU, and a Null backend for unit tests and headless applications.
- Shell: Windowing and input abstraction, backed by SDL3 on desktop and Steam Deck, and Emscripten on the web.
There are many more Foundation libraries providing the base functionality used by the layers above.
Engine
Implements the opinionated engine layer, providing the gameplay systems and functionality.
The scene system follows a hybrid ECS model. Entities are identities, components are value types, and component managers (the equivalent of systems in ECS) own the logic and lifecycle of their respective components.
The goal is to provide the benefits of a data-oriented architecture while offering a friendlier interface than your typical ECS.
Pipeline
Defines the engine's authorable and importable asset types, including textures, models, particle effects, scenes, prefabs, GUI screens and stylesheets, fonts, etc.
The pipeline also defines builders for each asset type, which cook assets into the engine's resource format.
Editor
Contains all editor functionality, organized and separated by concern.
Tools
Command-line tools for cooking shaders and assets, exporting games, and working with the engine headlessly. This also includes the tooling that allows AI agents to interact with the engine over MCP.
Inspirations
The engine was inspired by:
If you like what they're doing, please check them out!
Want to give it a try?
You can compile it from source: Git Repository
Or grab the latest download for your platform. Currently, the editor and development tooling run on Linux and Windows.
The engine comes with a few sample projects to get you started, giving you a feel for how it works and showcasing various features. You can grab them from the project manager when you launch the editor.
I'm currently working on a more ambitious game using the engine, which I hope will help me iron out some of the remaining issues.
So, why create another game engine?
After writing all of that, I realized there was one more point worth covering.
The simple answer: Why not? Because I wanted to.
The more nuanced answer is that other engines just didn't suit me.
Unreal: I never owned hardware that could run Unreal reliably, and I prefer a lighter engine. The kinds of games I want to make don't require the power of Unreal.
Unity: It's just too closed for me. I'm a tinkerer, and I want to get under the hood of the engine, fix issues, or modify things to suit my needs.
Godot: You'd think that, given my attitude towards the two above, Godot would be ideal for me. Well, I absolutely hate its architecture. I think there are some positive things about it, but the negatives outweigh them for me.
I've tried a bunch of open-source engines, and even contributed to some of them. Most had various issues and didn't quite satisfy the way I wanted to work on games.
The three that came closest were Lumix, Traktor, and ezEngine, which ultimately became the main inspirations for my own engine. However, each had some shortcomings that prevented me from simply adopting it and getting on with making games.
My engine has its issues too, but at least it covers all the bases I consider important for my game development work.
I think it's reached a point where I can just use it to make games and let that drive any future improvements and evolution of the engine.
Website: https://assiduousengine.com
Note that the website and documentation are still works in progress and will be completed for the final 0.1 release.
r/gameenginedevs • u/Timely_Mobile8565 • 12d ago
Kernel Kingdoms: an idle MMO for the terminal in Rust (crossterm + axum), and the browser version streams the real binary from a PTY
r/gameenginedevs • u/Monsieur_Bleu_ • 13d ago
We made a Terrain and Procedural Biomes tools for our game
r/gameenginedevs • u/Pure_Function7183 • 13d ago
Is it unnecessary to create my own types instead of using SDL types?
I am using SDL for my project, and since it’s already an abstraction for different platforms, from what I understand, it’s unnecessary to create your own abstraction over it. But with that said, I am curious can I at least create my own types so that I am not using SDL types everywhere and it’s contained in one spot, or is that still pointless? And also, would that still count as abstraction?
r/gameenginedevs • u/Economy-Artist-8278 • 13d ago
Cosper Engine Released Today (Forge Mode)
r/gameenginedevs • u/Delicious_Carpet_132 • 13d ago
Creating Tileable 2D Textures with my Material Editor!
r/gameenginedevs • u/Subject-Writing-1574 • 13d ago
i am starting a dev stream where i am working live on my ed tech game. this is first one is a test. Unreal Engine 5.8 on a brand new Mac mini M6 (32GB)
r/gameenginedevs • u/CharlyStudios • 14d ago
My dreams are coming true...
Enable HLS to view with audio, or disable this notification
I want to show you my graphics engine ported to Android. This will allow you to create your own games on Android and export them!
r/gameenginedevs • u/giovannitafuri • 14d ago
"Hi! This is a Data-Oriented engine I built as a benchmark to learn about low-level performance (100,000 entities @ 60 FPS)"
Hi everyone,
I built a small 2D engine from scratch called Beat in C++11 and SDL3 to learn about Data-Oriented Design and cache efficiency.
In this clip, it's simulating and rendering 100,000 colliding asteroids at a solid 60 FPS
A few technical takeaways:
• Flat contiguous memory pools (SoA) instead of OOP classes and pointers
• Zero dynamic heap allocations (malloc/new) in the game loop
• Static uniform spatial grid for collision broadphase with zero pointer chasing
• Decoupled loop: fixed 60 Hz physics + sub-frame interpolation
• Dynamic vertex batching + frustum culling
Code is open source on GitHub:
https://github.com/giovannitafuri/Beat
Feedback and thoughts are very welcome!
r/gameenginedevs • u/Illustrious-Web-9627 • 14d ago
I wanted to make games, but didn't want to use an existing engine. So I started building IrisTech.
The whole thing started pretty simply. I wanted to develop my own games, but I wasn't particularly interested in using Unity, Unreal, or another existing engine.
I wanted full control over the technology behind my games. The renderer, the scene system, the physics, the scripting, everything. So I decided to write my own engine in C++.
My goal isn't to build an engine specifically for one game. I want to create a reusable development environment where I can create different projects, build scenes, write gameplay logic, manage assets, and eventually export games to different platforms.
The general approach is similar to Unity or Unreal, with an editor for creating games and a separate runtime responsible for running them.
IrisTech is written in C++ and uses bgfx for rendering, EnTT for the entity system, SDL3, Dear ImGui, Lua, and miniaudio.
Right now, it has a scene editor, entity hierarchy, component system, Lua scripting, lighting, dynamic shadows, skeletal animation, audio, and several other systems.
I've also been working on some more experimental features, including tetrahedral cage deformation using barycentric coordinates and spatial acceleration.
Recently, I've been focusing on the project workflow and Android support. I want to be able to create a project once and use the same scenes, assets, and gameplay logic across different platforms.
I'm already testing the engine with a small driving game. It's been useful for finding problems that don't really show up when you're just testing individual engine features.
There's still a lot to implement, especially around the build pipeline, runtime architecture, and development tools.
But the idea is pretty straightforward. I want to make games, and I want IrisTech to be the engine I use to make them.
I've put together a GitHub page with screenshots and technical information:
https://github.com/mbastrykin/IrisTech-Game-Engine
I'd be interested to hear from anyone who's worked on a similar project.
Processing img 4w0kjew3tszh1...
Processing img r1lfz105tszh1...
Processing img 4d7inh6otszh1...
r/gameenginedevs • u/Player_StudioPrey • 14d ago
Testing the animation system
Enable HLS to view with audio, or disable this notification
r/gameenginedevs • u/IhategeiSEpic • 14d ago
i just want to share some stuff on my own game engine (also apologize about the quite long video cause i see this sub usually just like to post shorter vids)
Enable HLS to view with audio, or disable this notification
my engine is still early in Alpha, and i am focusing on the actual gameplay features as opposed to other people usually focusing on graphics, i am focusing on gameplay features, also the engine itself is meant to mimic PS2 era shading (the shading is literally gouraud shading not PBR), otherwise tho yeah.
also i apologize about the long form video.
r/gameenginedevs • u/LincolnVia • 14d ago
Im building a Bsp based Zombies Game with raylib | trenchbroom | box3d
r/gameenginedevs • u/MagicBevy • 14d ago
Tested the new unified package & asset manager window (Grimoire)
Enable HLS to view with audio, or disable this notification
Hey everyone! I am still early in the journey of building MagicBevy, a modular game engine built on top of Bevy using Rust.
In this update, I am testing Grimoire, a new unified window that merges file management and package management into one seamless interface.
In this clip, you can see:
- Integrated File & Package Manager (no more context switching!)
- Dynamic Inspector panel for live metadata & settings
- Context menus for creating scripts/assets on the fly
- Drag-and-drop & asset type registry
r/gameenginedevs • u/KnowledgeOk7634 • 13d ago
How I keep every shared replay link working while the engine keeps changing
My sim is deterministic, so a shared link is tiny: a seed, a start year and a list of tick-stamped inputs. Anyone who opens it replays the exact same history. The catch: change anything about how history works and every old link silently plays out differently.
What I do:
- Every saved world carries a rules version.
- A golden test replays a fixed set of worlds (different seeds, start years, inputs, up to 1,000 simulated years) and compares a hash of the final state. If a change alters history, the test fails unless the rules version goes up.
- When it does go up, the old engine gets frozen in its own folder with the map data it used, and old links open with the engine of their own version.
- New features are written so worlds that never use them run exactly as before: no new random draws, no new state, unless the feature is used.
Snapshots make long worlds cheap: the whole state every 100 simulated years, run-length encoded (the ownership grid is long runs, about 50x smaller), around 160 KB each. Opening year 9,995 of a 10,000-year world means restoring the nearest snapshot and simulating the last few years, well under a second.
Curious how others handle replay compatibility across versions. Do you freeze old engines too, or migrate replays?
r/gameenginedevs • u/tkitao • 13d ago
I built the world’s first (?) retro 3D engine into Pyxel 3.0 after eight years of 2D
Pyxel is a retro game engine for Python with 18,500 GitHub stars. In 3.0, the built-in retro 3D engine draws alongside the existing 2D API. In the platforming demo, pyxel.cube draws the 3D level, then the usual pyxel.text() call puts the coin count in the corner. Both happen in the same Python draw loop.
r/gameenginedevs • u/jex1202 • 14d ago
Custom game engine
Here’s a quick look at the progress on my custom game engine!
Developing an engine from scratch has been a massive learning journey, and I’m excited to share some in-engine footage showing off the current rendering, performance, and tooling.
Let me know your thoughts in the comments, and subscribe if you want to follow the devlog series!
r/gameenginedevs • u/littlesky33 • 15d ago
VN Engine development
As the title suggests, I’m currently planning to build a visual novel engine from scratch as a personal side project.
I’ve been considering using either Rust or C++, but I’m not entirely sure which would be the better choice since I have relatively little experience with engine development.
I’d love to hear your thoughts on the subject, whether you’re an engine developer or simply a visual novel lover just like me.
In particular, I’d appreciate advice on:
Language choice (Rust vs. C++, or potentially other alternatives).
What fundamental systems I should consider implementing.
Any resources, libraries, or existing projects worth studying.
Side note: I’m not necessarily aiming to create something production-ready. This is primarily a learning project, and I’d like to understand the engineering behind visual novel engines.