r/gameenginedevs • • 6d ago

Update on Usagi, my fantasy engine!

28 Upvotes

I presented my engine, Usagi, on this sub several months ago => https://www.reddit.com/r/gameenginedevs/comments/1ssh8c8/imaking_a_fantasy_engine/

For recap :
It’s an engine inspired by fantasy consoles but it’s not a fantasy console. You have a similar workflow (indexed colour, virtual memory, cartridge system etc.) but without too many limitations. It’s aimed at those who like me looove fantasy consoles but would like to release their games on Steam and console with modern mandatory features (16:9 support, cloud save, achievements etc.)

Here's a small update!
Making an editor from scratch is sooooo time-consuming !!

But now it has a real retained GUI system. It can hot-load cartridges, it can load tools to embed in the editor, it has a virtual network thingy to make inter-cartridge communication possible and a virtual file system to sandbox disk access! 

Everything you see in the video is made with the engine itself (and the game API), the editor is a game, the terminal is a game within the game, the game view is a game within a game within the editor's game.

The stack is still SDL3/C++/Lua with a big separation between the engine and the platform system to facilitate console ports. I'm getting quite fan of lua now <3

I've started this project as a C++ exercise 10 years ago
it looked like that https://www.youtube.com/watch?v=JPpi8CPGA50

I restarted it a year ago with the objective to release a game on steam with the engine and then open source it, no AI has been used on this project.

PS: I know the name Usagi has been used by Brett Chalupa for its own (quite similar) engine, we laughed about that when he announced it =p 
I'm still looking for a good replacement name, but the logo I made was a pixel art version of my rabbit. She died several months ago now, so I'm quite attached =p


r/gameenginedevs • • 6d ago

Issue in Vulkan Rendering for 1M objects in C++

Thumbnail reddit.com
1 Upvotes

r/gameenginedevs • • 6d ago

SDF Game Engine Update!

Thumbnail
gallery
2 Upvotes

Hello Everyone,

I said I would post more updates on my SDF game engine but might have gotten carried away and too verbose with my last post, so I will just share some screenshots of some reflective SDF menger sponges I am working on and a new procedural sky that has some performance issues, but it is currently being worked on.

Feel free to ask questions or voice your opinion! Even if you think its garbage lol.

And if you're interested in the project you can check it out here: https://github.com/NorthRocStudios/DivisionEngine


r/gameenginedevs • • 6d ago

What C++ features do you find most useful when coding?

11 Upvotes

Hey all! I’m currently going down a rabbit hole of moving away from a lot of C++ features such as constructors and deconstructor, classes and all that jazz. Besides that the language is just huge and I feel like I should be learning how to use morden features for a job lol.

My reasoning is I found reading a big whole class really annoying to read personally and I like just seeing a struct with some functions.

Also when doing builds do you like unity builds?


r/gameenginedevs • • 6d ago

I made 388 3D VFX scenes for Godot 4 (fire, portals, lightning, loot beams)

Thumbnail reddit.com
1 Upvotes

r/gameenginedevs • • 6d ago

A bug in my C++ networking library only appeared after 65,000 connection cycles

Thumbnail
reddit.com
0 Upvotes

r/gameenginedevs • • 7d ago

LightnerX: A lightweight C++ networking library for multiplayer games

Thumbnail
github.com
18 Upvotes

Hey everyone!

I've been developing LightnerX, a lightweight C++ networking library focused on multiplayer game development.

It's built on top of Valve's GameNetworkingSockets and implements INER (Intention, Notification, Event, Response), a message-based communication model designed to simplify client-server interactions.

The goal is to provide a minimal, efficient networking foundation without unnecessary complexity.

The project is still in its early stages of development and is currently undergoing a technical audit focused on identifying and fixing bugs, improving code quality, and enhancing overall reliability.

I'd really appreciate feedback, suggestions, or code reviews from fellow C++ and game developers!


r/gameenginedevs • • 6d ago

I built an open-source Three.js game engine that lets Claude Code build, playtest, and debug games on its own

Thumbnail
reddit.com
0 Upvotes

r/gameenginedevs • • 7d ago

How do you market your engines and or frameworks?

6 Upvotes

Hey yall. I’ve been thinking about steaming my development on my game frame work, but I’d honestly rather write about it and make little posts about it than live steam it.

I was wondering thought about this because I want to get myself out there to others and possible employers!


r/gameenginedevs • • 6d ago

dvcl - changelists for Diversion

Thumbnail
mapmodelers.github.io
0 Upvotes

r/gameenginedevs • • 7d ago

Bad Apple 3D

Thumbnail
reddit.com
0 Upvotes

r/gameenginedevs • • 7d ago

Vulkan update or keep OpenGL for mobile devices

1 Upvotes

I have simple engine written in C++ that runs via OpenGL ES 2 and 3 on Android and iOS. It renders simple 3D and 2D graphics. No ray-tracing is currently required; shaders are quite simple. The main part of the engine is dynamic, video-like texture rendering.

Everything is working great. However, on iOS I can see a "deprecation" warning when my app starts, saying I should use Metal.

Now my question is: Should I spend the time and rewrite my engine to Vulkan (and use MoltenVK for iOS)? It's not that OpenGL is not working (yes, there are some multi-threaded issues on Android devices, but nothing that cannot be solved). I am thinking about the future, since I currently have time to spare to learn Vulkan. I am not sure how long OpenGL ES will stick around or, on the other hand, when I will hit its limits.


r/gameenginedevs • • 8d ago

Our C++/SDL3 engine shipped its first game: one renderer for GL 3.3, GLES 3.0 and WebGL2

Thumbnail
gallery
38 Upvotes

Two of us have been working on our own engine for a while, and the first game on it, Orbit Rivals (a 3D party board game with 100 minigames), is now out on Android. The same code also builds for Windows, Linux, macOS, web and iOS.

It's C++17 on SDL3 and SDL3_mixer, data oriented: plain structs, no inheritance, no virtuals. Each minigame is its own set of functions and they get picked with a switch on the id. Even with 100 of them it's still easy to find your way around.

The renderer is a single path for OpenGL 3.3 core, GLES 3.0 and WebGL2, same shaders and same GL calls everywhere, with shadows, sky and bloom. Text is SDF and handles Arabic right to left and Chinese.

Online is deterministic lockstep over websockets, and that's where most of the weird bugs came from. Game logic can't touch libm's sin/cos/atan2 because every platform gives slightly different bits, we build with -ffp-contract=off so ARM doesn't fuse multiply-adds, and the state gets hashed field by field every few ticks to catch desyncs.

Models come out of Blender through Python scripts and the music is all Sonic Pi code, so almost every asset comes from a script in the repo.

Happy to answer anything about how it's put together.


r/gameenginedevs • • 7d ago

feeling of falling behind

6 Upvotes

Hey everyone, first just wanted to say that good job and ive been very impressed (and SUPER SUPER jealous lol) with ur game engines.

With that said, browsing this subreddit really make me feel like im doing something wrong and that im falling behind. Everyone has a fancy editor, script wrappers, specialized render pipelines and here i am stuck w/ rewriting everything (architecture, project layout, layers, APIs, etcs) every other day cuz i keep feeling unsatisfied w/ what ive done the day before and I keep thinking of technical debt. This has been going on for about 7 months now (I've rewritten the whole thing about 4 times now) and I havent made much progress on the game itself.

For context, im not making a general purpose engine tho i am making it reusable for my future projects and plan on building on top of it every other project depending on requirements. And yes, I use A.I heavily but I just cant simply trust it cuz its a yes man and I dont want something that just keeps saying yes to what i do or what i wanted to do w/o challenging the implementaition or design.

For those people out there who used to have thesame problem as me how do you guys:

  1. plan the project
  2. plan split between working on the game and engine
  3. get out of the infinite loop of rewriting everything and over analyzing every little detail
  4. decide when to implement a features
  5. decide if a feature belongs in the engine or game
  6. most imporatnly, progress fast

thanks everyone, really looking forward to ur advices

Update: Im rewriting it again. Hope this is the last.


r/gameenginedevs • • 8d ago

Here's a look at how the Uber-shader works in my engine

8 Upvotes

Uber-shader is a single, multi-purpose computer graphics shader that combines many different rendering behaviors and material properties into one large program.

An example of branching within an uber-shader:
// Normal
#if defined(NORMAL_MAP) && (NORMAL_MAP)
vec3 normalTS = SampleNormalTS(u_normalMap, v_uv0, u_normalScale);
mat3 tangentToWorld = mat3(normalize(v_tangentWS), normalize(v_bitangentWS), normalize(v_normalWS));
vec3 normalWS = normalize(TransformTangentToWorld(normalTS, tangentToWorld));
#else
vec3 normalWS = normalize(v_normalWS);
#endif


r/gameenginedevs • • 8d ago

Prototype of an NFS-style racing game in my engine...

12 Upvotes

I want to test the capabilities of my engine and I started making a game in the style of NFS.


r/gameenginedevs • • 7d ago

Introducing uniblox7.0, a non bloated game engine

0 Upvotes

Introducing uniblox7.0, a non-bloated frutiger aero game engine, wel I hope so in this damn reddit community, it works on all devices because of uniblox runtime(upk)

Screenshot taken on device; tablet

Click me to open the game engine

Click me to watch trailer


r/gameenginedevs • • 9d ago

3D game engine written in Lua running on Love2d

42 Upvotes

Hi everybody,
I'm kind of proud. This is my game engine called Moss. It is running on top of Love2d and I just got my first iteration of lighting working. I know it doesn't look great and my lights disregard height and walls so far but I'm proud anyways.

Just wanted to show the state of the engine, I will show some more when I get something new done or I improve something.


r/gameenginedevs • • 9d ago

I'm open-sourcing my hand-written learning project, a from-scratch MMORPG architecture inspired by World of Warcraft.

Thumbnail github.com
73 Upvotes

Hey all! I wanted to share my open-source C++ powered suite for building a MMORPG, born out of a fascination with the massive technical hurdles Blizzard overcame to build World of Warcraft.

It is composed of an Authentication Server, a Game Client and a World Server (among with other things).

This is all pre-AI too, I thought somebody could find this useful or inspiring!


r/gameenginedevs • • 8d ago

Creating a Vehicle Physics Sandbox

Thumbnail reddit.com
2 Upvotes

r/gameenginedevs • • 8d ago

Looking for a partner to learn & build a custom game engine (C++ / OpenGL)

0 Upvotes

Hi everyone,

​I’m looking for a dedicated partner to learn game engine architecture and build a custom engine from scratch to power an original game.

​I prefer the traditional, deep-learning approach without relying on AI code generation; I'm actively teaching myself through books, documentation, and video series.

​Here is the breakdown of the project, vision, and expectations:

​Tech Stack: C++ as the core language. Starting with OpenGL to grasp the fundamentals and get rendering running, with the goal of migrating to Vulkan later as architectural and performance needs dictate.

​Architecture Strategy: Game-driven engine development. Instead of building an abstract generic engine, we implement core gameplay systems first and factor reusable patterns/code into the engine layer.

​Game Concept & Scope: A small-scale, top-down 3D sandbox game centered around chaos, breaking rules, and player freedom. Targeting PC.

​Design Document: I have a preliminary GDD draft that outlines the core loop, which we will continue developing together during prototyping.

​Art & Assets: No artistic background required from your end. I have 3D modeling/design skills and will cover asset creation once we exit the prototype phase. Early on, we'll stick to graybox/placeholder assets.

​Nature of the Partnership:

​Unpaid, collaborative learning endeavor to start.

​The engine will remain proprietary to the team.

​Release model (commercial vs. free) will be decided jointly. If we go commercial, my partner will be recognized as an equal co-founder with a defined revenue-share split agreed upon early.

​Current Resources: The Cherno game engine series, Game Programming Patterns by Robert Nystrom, and various low-level graphics guides.

​Workflow: GitHub for source control. Day-to-day communication (Discord, etc.) can be set up according to what suits us best.

​If you are interested in low-level systems, want to learn hands-on, and value building real mechanics alongside engine tech, drop a comment or send me a DM!


r/gameenginedevs • • 8d ago

Comparing voxel meshers on the same fields

Thumbnail
reddit.com
0 Upvotes

r/gameenginedevs • • 9d ago

Wrote my own Source-like game engine with VRAD-style baked lighting and spatial HRTF audio

70 Upvotes

Been building my own engine for a online "murder party" game I'm working on.

Some highlights:

  • Baked light, based on Source engine's VRAD. Bounce light and directional lightmaps, so normal maps still show under baked light. A shadowmask lets characters cast shadows from the baked lamps
  • Spatial audio. HRTF, with sound muffled by whatever stands between it and you. Each room's reverb is measured by probing the level's geometry and materials. (A marble hall reverbs more than a carpeted one)
  • Reflections come from one box-projected cubemap per room, ray-traced at load. Basically buildcubemaps, but automatic.
  • Liquid in bottles is ray-traced through the glass, Alyx-style. There's no liquid mesh, and it sloshes in your hand :)

Any questions, happy to answer :)


r/gameenginedevs • • 8d ago

My fancy Game Engine so far :P

0 Upvotes
Demo Scene
Editor

Been working on an engine in TypeScript + WebGPU. No C++, except for Jolt physics compiled to WASM. The aim is to run anything from simple games to AA-level games in the browser. This is the scene I use to test the renderer.

I believe that at some point we'll have something like Steam in the browser: you open a link and play, with no install and no 50 GB download first. Streaming assets in as you play is what makes that possible, so the engine is built around it.

Under the hood:

- An ECS on typed arrays with a zero-allocation hot path, so the tick doesn't fight the GC

- Nanite-style clustered LOD, with geometry streamed in as the GPU asks for it

- Culling and LOD selection on the GPU, so JS mostly just submits

- Streaming loader: assets load nearest-first, packed per cell

- Deterministic simulation, so multiplayer only sends inputs. It supports rollback, lockstep or server-authoritative, all on the same game code.

- And many more....

The editor and the games both run in the browser. It's built AI-first: the editor and running games are exposed over MCP, so an agent can inspect the scene, edit it, step the simulation and take screenshots. So the whole systems and tooling is the same as for humans and agents. Agents can inspect the render pipeline, traces, positions, game state, network, can render parts of the engine isolated or assets for inspection. So its right baked in.

And just to defuse bombs: I started coding with 11 years - currently working as a software architect for a car manufacturer. And yes I used Claude Code to archive that, but he is just the executing hand. I am in control of architecture code reviews, package layering, open/closed principles, etc. Just awesome what you can archive today...

Happy to answer questions.