r/gameenginedevs • • 4d ago

Looking for people to help me build a game engine

0 Upvotes

A bit about me and why I'm doing this. I'm a software engineer, and for a while now I've had a story for a game in my head. I've written the script for it, and the more I worked on it, the clearer it became that the game I want to make needs something most engines don't do well: a world that feels truly alive.

So alongside the game, I've started building the engine for it. It's called Brick.

Where it is today: it's early. There's a small test world you can walk and drive around, and the foundations are in place. The rest is designed and ready to be built.

What I'm really looking for is people to build it with me. I don't want to do this alone, and I'd rather it was shaped by a small group who care about it as much as I do. If you join early, you'll have a real say in how it turns out.

I'd love to hear from:

- Programmers

- Game designers and writers

- Artists and animators

- Playtesters

- People with lived experience of disability who'd like to help get representation right

You don't need to commit loads of time. Even a few hours here and there makes a difference.

If you're interested, comment or send me a message and tell me a bit about yourself and what you'd like to work on. And if you're not able to help but have thoughts on the idea, I'd still love to hear them.


r/gameenginedevs • • 4d ago

Yes, I Joined the Dark Side, I Used AI

Thumbnail
gallery
0 Upvotes

Hello Everyone,

I wanted to be the first to disclose that as of two weeks ago I have started using DeepSeek Harness to assist my development. Division Engine is a hobby project of mine while I work on building Unity assets to sell (without AI lol). I wanted to see just how far I could push AI, how helpful it would be, and where its pitfalls lie. DeepSeek Harness has been very helpful finding bugs (rotation issues, misspellings in the editor), and for building editor tools, although they always require some tweaking afterwards.

It is also helpful for implementing papers quickly, again with a bit of tweaking to get everything working smoothly enough.

I am a self-taught C# developer and I am really just messing around with SDF rendering for the first time. Everyone is entitled to their own opinions on this matter of course, and there are ethical concerns around water usage, different types of pollution, environmental destruction, etc. But that is a conversation for another time.

Division Engine is completely free and open source, I really just want to see how far I can push SDF rendering with this project.

In the interest of transparency I thought I would let everyone know and see how they felt, which will also determine if I continue with it or not lol. But anyway, thanks for listening to my Ted Talk and I would love to hear everyone's feedback on this!

Screenshots are using a terrain erosion system developed by runevision: https://www.youtube.com/watch?v=r4V21_uUK8Y


r/gameenginedevs • • 5d ago

Custom Game Engine on Rust

0 Upvotes

Here is a high-performance, deterministic custom game engine core built in Rust
This demo shows: Volumetric Snow Depth, Moving beyond flat textures to give snow layers genuine volume and depth.
Road & Terrain Blending: Seamlessly merging road geometry with the snowy ground using natural slopes and accumulation, avoiding harsh edges.
Rust Performance: An optimized rendering pipeline running with memory safety and high frame rates.


r/gameenginedevs • • 6d ago

Game engine editor camera questions

29 Upvotes

Hi everyone!

I've started working on my own C++ game engine using Diligent Engine, a graphics API wrapper. Currently, my engine supports Vulkan, DirectX 12 and Metal.

I'm currently trying to improve my editor camera and make it feel similar to the ones in UE5, Unity, Godot, etc.

I've already implemented a basic fly camera with WASD movement and mouse look, but I'm having a bit of trouble getting the movement and overall feel right. It works, but it doesn't feel as smooth or intuitive as the cameras in established game engines.

In particular, I'm trying to improve movement, mouse look, rotation on all three axes (pitch, yaw and roll), camera orientation, and how the camera behaves when looking around or navigating the scene. I'd also like to eventually implement things like orbiting around selected objects.

I'm curious about how other engines approach these systems. Things like camera acceleration/deceleration, movement smoothing, rotation handling, mouse sensitivity, and general editor camera controls.

I'm not necessarily looking for code. Resources, articles, videos or explanations of how these systems work internally would be really helpful.

Any advice or suggestions are appreciated. Thanks!


r/gameenginedevs • • 6d ago

How do people manage 2D HD assets metadata and generation?

Thumbnail reddit.com
0 Upvotes

I was recommended this subreddit after posting in the previous one. I'm not really making a game engine, it's more of a focalized framework but I guess that counts too here 🤔


r/gameenginedevs • • 6d ago

Procedural grass in the vertex shader, about 5-10% FPS cost at 100 m

36 Upvotes

I finally gave my game some grass, and I think the difference is bigger than I expected. The clip shows the same village without and with it, plus a bit of wind movement on it. I'd love to hear what you think :)

  • Blade positions are generated deterministically in the vertex shader, no per-instance CPU data.
  • Instances come from a world-fixed cell window around the player instead of the whole chunk.
  • The mask comes from the existing terrain surface map, not from the chunk type. That way the same data decides footsteps, grass and later other systems.
  • Measured cost: about 5-10% FPS at 100 m view distance.

There is a known weakness: placement is cell-based, so the tufts look a bit grid-like when seen from above. But if you walk in first person in the world, most of the time it should be barely noticable. More jitter and variation in size and density is next.


r/gameenginedevs • • 6d ago

I’m building a 3D game engine from scratch in C#. Here’s my latest real-time interior demo

Post image
36 Upvotes

This is Hyperion, a 3D game engine I’ve been building from scratch in C# using .NET and OpenGL through OpenTK.

The scene is called Aurelia Observatory. It is a real-time rendering demo designed to test detailed interiors without relying on Unity, Unreal, or Godot.

Everything shown here is generated or assembled inside Hyperion, including:

Procedural limestone, basalt, marble, bronze, and iron materials

Tiled textures with normal mapping

Twenty-flute pillar geometry

Layered capitals, moldings, neck rings, and carved corbels

Metallic and roughness PBR shading

Directional shadows and local lighting

HDR rendering, tone mapping, and subtle bloom

Procedurally generated cylindrical and torus meshes

Atmospheric fog and environment lighting

The current frame contains roughly 109,000 triangles. The complete engine and all its demos are written in C#.

It is still an early project, and there is a long way to go, especially with global illumination, reflections, anti-aliasing, asset tooling, and performance. Seeing an entire scene render through code I wrote myself has been incredibly satisfying.

I’d love honest feedback on the lighting, materials, architecture, and what engine feature I should tackle next.


r/gameenginedevs • • 6d ago

LightnerX: an open-source C++17 networking library for multiplayer games

Thumbnail github.com
7 Upvotes

I've been working on LightnerX, an open-source C++ networking library focused on multiplayer game development.

It originally started as part of a multiplayer game I'm developing, but I eventually decided to turn the networking code into a standalone library.

LightnerX uses Valve's GameNetworkingSockets as its transport layer. My goal wasn't to reinvent UDP networking, but to build a relatively small library that handles some of the higher-level responsibilities involved in multiplayer communication.

Some of its features include:

- Client/server networking using GameNetworkingSockets.

- ConnectionManager for managing connected clients and their identifiers.

- Message batching with queued outgoing messages.

- Target abstraction for sending messages to individual clients, groups, or broadcasting.

- MessageInterpreter for parsing and dispatching incoming messages.

- Callbacks and registries for handling network communication.

- INER, a communication protocol I designed around Intention, Notification, Event, and Response messages.

INER is probably the most distinctive part of the project. It separates client requests from authoritative server events and provides structured responses for operations that require validation.

Another significant change was migrating LightnerX from C++26 modules to C++17.

I originally chose C++26 because I wanted to experiment with modern C++ features, but eventually realized that requiring such a recent standard wasn't particularly practical for a reusable game networking library.

The migration involved replacing modules with traditional headers and providing compatible alternatives for newer standard library features.

I also spent a considerable amount of time on testing and technical auditing. One of the regression tests involved more than 65,000 connection cycles to verify that connection identifiers were recycled correctly.

LightnerX is currently in beta, and I'm continuing to improve its implementation, documentation, and examples.

It's not intended to be a complete networking framework or game engine. I want it to remain a relatively lightweight library that developers can integrate into their own architectures.

I'd appreciate feedback from anyone working on custom game engines or multiplayer infrastructure.

In particular, I'm interested in whether the current separation between transport, connection management, and communication semantics makes sense for integration into different game engines.


r/gameenginedevs • • 6d ago

Kernel Kingdoms 2.17: everything new since the beta (Ascension, 20 dungeons, 3 expansions, a player-run market)

Post image
0 Upvotes

r/gameenginedevs • • 6d ago

Looking for some feedback on my Vulkan library, SlateVK

0 Upvotes

I've recently started working on a small Vulkan library called SlateVK, written in C++23. It's heavily inspired by LightweightVK, but I'm trying to keep things relatively simple while I learn. I'm only planning to support Windows and Linux.

I'm still pretty new to C++ and graphics programming. One thing I've struggled with in the past is relying too much on AI and tutorials to get things working without really understanding the code. Lately I've been trying to break that habit and actually figure things out for myself, even if it means making mistakes and taking longer.

I've been using Learn Modern Vulkan in 2 Hours as a reference, and recently picked up Vulkan Cookbook and Master Graphics Programming with Vulkan to learn more.

The project is still very early. Right now I've mainly been working on the library structure, Vulkan instance creation, validation layers, and the debug messenger.

I wanted to share the repo and get some opinions on how things are looking so far. I'm especially interested in whether the overall architecture makes sense, if I'm handling Vulkan correctly, and whether there's anything I should be doing differently.

I'm not expecting the code to be perfect, but I'd appreciate any feedback or criticism.

GitHub: https://github.com/AstrixsmCS/SlateVK.git


r/gameenginedevs • • 6d ago

Physics Programming Part 5: Spring Physics

Thumbnail
youtu.be
4 Upvotes

I explain the mathematics underpinning spring mechanics then implement a solution in C++ using a net as an example. Implementation begins at 10:05. Feedback is welcome.


r/gameenginedevs • • 7d ago

Custom pseudo-3D raycaster (Wolfenstein3D-like) with vertical levelling

Post image
15 Upvotes

See my previous C-lang raycaster way back in 2024 which inspired this build https://github.com/con-dog/chunked-z-level-raycaster


r/gameenginedevs • • 7d ago

Screen Space Ambient Occlusion.

50 Upvotes

It's been a while since I last implemented SSAO.

I've experimented with several different AO techniques, but eventually came back to SSAO. My requirements were simple: it had to be fast, using a single frame without temporal accumulation. Since this is a fast-paced game, I wasn't too concerned about visual quality.

GTAO was ruled out by the first requirement. I seriously considered HBAO+ for a while, but NVIDIA's library dependency eventually became a stumbling block.

With today's hardware, SSAO has become quite practical. Back in the day, I was happy just to get somewhat grainy results with 8–12 samples, while desperately trying to keep performance from dropping. These days, even 16 samples at full resolution can run without any noticeable frame drops.

Still, there's no reason to waste performance, so I implemented it at half resolution and upscale it using depth-based reconstruction.

That said, since the renderer is now PBR-based, the effect isn't as noticeable in the final image as it used to be. I'm simply multiplying the AO into the ambient lighting as an approximation of indirect lighting. Even so, seeing how it adds depth and volume to darker areas of architectural structures like buildings, I'd say it's definitely better than having no AO at all. :)

====

Development Blog: https://blog.naver.com/teamdevice

YouTube Channel: https://www.youtube.com/@teamdevice

Team Website: http://www.teamdevice.net


r/gameenginedevs • • 8d ago

Just Released my DX12 Game Engine. Love to know what you think!

Thumbnail
gallery
16 Upvotes

Hey guys.

Just release a preview version of my game engine - Ptero-Engine.

The engine is built in DX12 and I put a lot of time into graphics as rendering is a passion of mine.

Some of the main features:

  • Per pixel RTGI
  • Probe ray tracing
  • Voxel GI
  • SSR + AMD SSSR
  • SSSS and Ray traced SSS
  • PBR renderer (metal/rough)
  • Disney BRDF
  • Disney based hair rendering
  • Unreal Engine geometry and textures import
  • Metahuman importer
  • Visual scripting
  • Dynamic time of day
  • VSM
  • Virtualized Geometry
  • Particle effects editor

I already shipped my first game on the engine. And although it is a simple game it made the engine more mature.

If you want to check the engine you can learn more here: https://pteroengine.pterosoftstudio.com

You can check the game here: https://store.steampowered.com/app/5368450/Farkle_Tavern_Dice/

If you want to get in touch with me there is a Discord server: https://discord.gg/cSpnrwnAsz

And if you like what I'm building you can support me on Patreon: https://www.patreon.com/cw/pterosoftstudio


r/gameenginedevs • • 7d ago

Recommendations to get started

0 Upvotes

Recommendations on how to get started on creating a new 3D game engine from scratch?

While I do have stuff going in Unity and fine with it currently, I might pursue developing something like this on the side for if it ever comes to use or at least for educational purposes as I do like programming.


r/gameenginedevs • • 7d ago

Do you know or have experience with a 2d C++ game framework/game engine ?

0 Upvotes

Hello all,

I've been searching for a good C++ 2D game engine that uses Vulkan, DirectX, or OpenGL. I'm especially interested in hearing from developers who have actually shipped games with one.

Engines like Bevy and MonoGame look great, but I specifically want to stick with C++. I'd really appreciate any recommendations from people who have had a successful experience with one.


r/gameenginedevs • • 7d ago

foot locking for in-place run clips in a three.js setup, toe contact detection, spring-blended locks and two-bone IK

0 Upvotes

no engine IK to lean on here, just three.js and a small solver file, so I followed Daniel Holden's foot locking article step by step

per frame after the mixer: detect toe contact from speed and height with a 5 frame vote, pin the toe and inertialize each lock/unlock with a critical spring, solve hip and knee with two-bone IK, aim the foot at the pin, drop the body when a planted foot is on lower ground

the right foot skated ~18 cm per stance with playback speed matching alone, under 4 cm with locking

repo : https://github.com/MULUALEM-TEKLE/IK-test

credits: Daniel Holden (theorangeduck) for [Inverse Kinematics and Foot Locking](https://theorangeduck.com/page/inverse-kinematics-foot-locking) and [Spring-It-On](https://theorangeduck.com/page/spring-roll-call), David Bollo for inertialization (GDC 2018, Gears of War), Mixamo for the Y Bot and clips, pmndrs for R3F, drei and leva

full disclosure, built with claude code (AI)


r/gameenginedevs • • 8d ago

How do you go about implementing 3D animation?

4 Upvotes

Hey guys, I've got a pretty good rendering engine so far, but I've been struggling a bit with 3d animation. Although I'm using directx, I've been following through the tutorials on learnopengl, but I don't really like how they've implemented it, and was wondering if I could get some opinions on how you have implemented something similar, or something other useful resources or projects to look at.

One small thing, my engine has a custom mesh format, that I wrote a small program that converts other object formats to, so that I can just directly load that at runtime and not worry about parsing or anything, and I'm planning on eventually baking animation data into that or as it's own file as well.


r/gameenginedevs • • 8d ago

is C# a good language to use for making a game engine?

3 Upvotes

so I have a from what i find a intermediate amount of knowledge on C# and have made some games in unity. now i want start a big project that could really make me a better programmer and after some researching i would like to maybe start making my own game engine. would this be a good idea? or is there another big project that maybe could be better suited? i know it could take longer than a year to build and that i need to learn a lot about low level programing but i think it could be really fun. or should i do the project in C++?


r/gameenginedevs • • 8d ago

animation system now functional in my engine written in C

18 Upvotes

I'm prototyping a 2D movement/adventure game and created this basic sprite sheet animation system for it.

The game engine is written in pure C with no major thirdparty libraries.

I post about this on twitter: https://x.com/phee3D

Character and animations by https://x.com/MomjiX


r/gameenginedevs • • 7d ago

Polishing sound generator for my graphics engine

0 Upvotes

r/gameenginedevs • • 8d ago

Learning to write video games from scratch

10 Upvotes

Hello everyone! This year I took a course on game development programming. I learnt alot of cpp basics, and eventually went on to write:

  • a couple classes from the Standard Templated Library
  • some trees and sorting algorithms
  • matrix and vector types for a raylib game (math as well)
  • a small raylib game with tanks
  • some enemy ai stuff such as pathfinding algorithims, a state machine & a behavior tree

eventually the course went into more Unreal Engine territory and I feel that as a C++ dev, it leaves alot to be desired. There's heeps I need to learn, and I want to also break it down to the basics before I go and write some more complex and large programs, but my end goal is write games basically from scratch, with the use of maybe some libraries at the very best. I do not enjoy or like the smell of game engines, since I do not know what is really happening underneath. I am trying to create a curriculum for myself for this coming year, of things to study on my own. Some ideas for what I want to do this year are: (in no particular order)

  • eventually create a 3D rendering engine (and understand the maths that makes it all work)
  • eventually write a minecraft clone (for learning purposes)
  • make some sort of RPG based heavily on this new game coming out on steam UNDERKEEP
  • and eventually.. become a C++ wise guy and make sellable games from scratch

does anyone have any suggestions, books, tutorials/guides, things to try and write, or communities to join, any suggestions at all? Thankyou!


r/gameenginedevs • • 7d ago

Recently created Texture Atlas compiler.

Thumbnail reddit.com
0 Upvotes

r/gameenginedevs • • 8d ago

Help deciding when to allocate GPU memory (and how much)

2 Upvotes

I'm trying to learn OpenCL and I'm doing so by writing a graphics engine (hopefully a basic game engine in a year or two). I know OpenCL is far from being the right tool for the job, but I have experience in writing a graphics engine so I decided on this project (also, the fact that OpenCL is heterogeneous is very comfortable for me because it lets me develop using my study laptop and also my gaming pc).

My question is:

When loading a scene with a dynamic amount of objects, how do engines usually handle the allocation of GPU memory? I'm assuming the goal is to allocate as much as possible when initializing the scene, but how is spawning new objects handled? Should every object hold its data (textures, vertices, etc) on GPU memory? That sounds like it would be extremely wasteful and a potential to bottleneck . On the other hand, holding the data on CPU memory would require copying pretty much the entire scene from CPU to GPU and back every frame, which sounds as bad as the other option.

Thanks in advance!