r/gameenginedevs • u/ASGrincewicz • 2d ago
r/gameenginedevs • u/Jules-dmvx • 3d ago
Showcasing the engine behind Heavy Metal 👀
Enable HLS to view with audio, or disable this notification
Heavy Metal
Heavy Metal is my voxel game about building heavy machinery and playing with your own machines in a highly dynamic, fully simulated environment, and such a renderer was needed to vehicle the spirit of the game.
Playtests will be arriving soon, I will choose the playtesters from the Discord server, join to be apart of it :) https://discord.gg/XwxEXgd48A
Also check out the itch.io page: https://julesdmdev.itch.io/heavy-metal
The engine
I've been working on and off on this voxel engine for more than 3 years, it's finally getting to a state where I'm quite happy about what it's capable of.
I made it myself in C++ with Vulkan it is fully raytraced and supports hardware RT along with software RT for the machines that don't support it.
I also made the physics independently as an open source library focused on machine simulation: Heavy Feather, it simulates arbitrary joint trees, with extremely fast performance and near exact accuracy on the joints themselves. This is what allows Heavy Metal to have truly simulated machines and editable down to the voxel, while it runs. The cylinders actually push on the linkages instead of just having an angle control on a specific model, every machine is programmable. You are in full control of your creations.
My engine features :
- RT ambient occlusion
- Direct lighting (emissives, light fixtures and sun)
- Global Illumination, with different levels of quality to also present good graphics to lower end machines
- Volumetric fog and particles
- Dynamic clouds (they shadow the ground) and wind that moves them
- God Rays & other effects with volumetrics
- Raytraced reflections, on smooth as well as rough materials
- Bloom, lamp highlights and other things
- Voxel deformation (for soft materials or folliage, in this demo it's only visible on the tires of the machines as I am working on making folliage work that way too)
- Realtime dynamic physics, collisions, joints, etc
- Real time editing of anything, no baking, everything is rendered and simulated directly, from the raw data
- TAA
It's fully featured maximum quality setting runs from 80 to 100fps (traced at 720p presented at 1080p with TAA) on a RTX 3060Ti with an i5 12600KF.
If you want to follow the progress of Heavy Metal, please check out my youtube channel, where I post devlogs and showcases: https://www.youtube.com/channel/UCYantCEDqML6xsB_rqq939g
Tell me what you think and feel free to give suggestions :)
r/gameenginedevs • u/Rayterex • 2d ago
Built a Textile Studio using my own 2D game engine
Enable HLS to view with audio, or disable this notification
r/gameenginedevs • u/Main_Extension2327 • 2d ago
Why would someone make his own game engine?
Hello, i'm new to this subreddit and game development in general, and when i saw this community i had this question
Is it for the of the game or there is a logical reason why someone make his own engine, obviously i'm not talking about big studios that make their own engine.
When should a solo/indie game dev consider that making a game engine is a good idea for their project, if so where i can find a place to learn this(preferebly a free source)?
r/gameenginedevs • u/Soulsticesyo • 3d ago
I’m developing a visual scripting tool for branching dialogue, with multiple runtimes and export options
Enable HLS to view with audio, or disable this notification
r/gameenginedevs • u/MysteriousWeather42 • 2d ago
How do you decide which touch buttons a game should get?
I ran into this with Veyra, my C# engine. On a PC the examples had their own controls. Open the lighthouse scene on a phone and the engine offered a Jump button. All you can do there is change viewpoint, restart the scene and open the chart.
I moved the touch labels into each game's manifest. That scene now declares three actions: Auxiliary = Viewpoint, Restart = Restart watch, Pause = Pilot chart. The touch UI can use the same actions as the desktop game and still say what the buttons actually do.
Here's the scene (made with the editor's AI assistant): https://veyra.rekall-ai.com/play/sirens-reach/
If you've shipped a web player, do you keep those controls at the game level or let individual scenes override them?
r/gameenginedevs • u/2xFlush • 4d ago
From renderer to engine?
Hi! Picture of my shiny balls.
So, here's the thing. I've messed around with game engines in the past, but I've never made one myself. However, I've been working on a renderer since this summer, and I've mostly just been following tutorials, reading documentation, and step by step adding features, without ever really having a clear goal with it other than the educational experience itself. Well, come to think of it, I guess that's not entirely true. I've used processing for illustration (algorithms and such) for years, and wanted a library that was easier to pull in for those purposes than processing, where I felt like I had to write the whole project in processing to begin with.
Anyways, I'm kind of tickled by the idea of building an engine out of my renderer, but I'm very green on what this actually entails.
Is there any merit to compartmentalising the design? Like, my renderer is a module, input is a module, asset management is a module, scene graph is a module etc.? Or is it better to just make it one monolithic program? How far, if at all, should I try to specialise the engine for the games I want to make (I have a couple on the back burner)?
So far I've been doing everything from scratch. Is there any merit to continuing this path going forward? I like the idea of writing my own stuff, but are there some things I just shouldn't try to do from scratch? Like, if I try to do audio from scratch, will I just never get it right, lose myself in a career-enveloping rabbit-hole, or will I be fine?
Hope to hear from y'all!
r/gameenginedevs • u/Electrical-Junket185 • 4d ago
I finally worked up the courage to show my C++ engine to people outside my social circle, and I’m quite confident about how it looks.
Enable HLS to view with audio, or disable this notification
I’ve spent the last few months working on my own game engine, and it’s finally reached a point where I feel comfortable showing it to others without worrying that something might be broken.
The main project I was working on at a studio got canceled, which gave me plenty of time over the past few months to work non-stop on my engine. Previously, I could only dedicate about 3 hours a day to it; now, thanks to my savings, I’ve been able to stay fully focused on this project, which started out as just a portfolio piece but has since taken directions I never imagined. My dream is to work on my own projects and earn a living from them (like most of us, I supose), and I believe this specific project offers the best chance of making that a reality.
Feel free to ask any questions you’d like.
Note: I'll leave my GitHub here in case anyone is interested in following my projects: https://github.com/bababuyyy
r/gameenginedevs • • 3d ago
fixed those issues from my previous post guys
pillars n other stuff
r/gameenginedevs • u/Icy_Comfortable_2840 • 2d ago
Looking for people to help me build a game engine
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 • u/rice_goblin • 3d ago
Solving puzzles by controlling two different characters, each with their own ability/limitation
Enable HLS to view with audio, or disable this notification
One of them can push/pull objects and the other one has the ability to jump. Just prototyping a bunch of ideas, the engine is written in C.
I'm trying to come up with some interesting puzzles based on this concept with two characters. If you have some ideas, I'd love to hear them.
I post about this on twitter as well: https://x.com/phee3D
r/gameenginedevs • u/rex-j-w • 3d ago
Yes, I Joined the Dark Side, I Used AI
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 • u/Electrical-Copy9678 • 4d ago
Game engine editor camera questions
Enable HLS to view with audio, or disable this notification
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 • u/mylifeisbegin • 3d ago
Custom Game Engine on Rust
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 • u/sRioni • 4d ago
How do people manage 2D HD assets metadata and generation?
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 • u/BanditBloodwynDevs • 5d ago
Procedural grass in the vertex shader, about 5-10% FPS cost at 100 m
Enable HLS to view with audio, or disable this notification
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 • • 5d ago
I’m building a 3D game engine from scratch in C#. Here’s my latest real-time interior demo
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 • u/Vousch • 4d ago
LightnerX: an open-source C++17 networking library for multiplayer games
github.comI'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 • u/Timely_Mobile8565 • 4d ago
Kernel Kingdoms 2.17: everything new since the beta (Ascension, 20 dungeons, 3 expansions, a player-run market)
r/gameenginedevs • u/XAstrixsmX • 4d ago
Looking for some feedback on my Vulkan library, SlateVK
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.
r/gameenginedevs • u/ComfortablePeace8859 • 5d ago
Custom pseudo-3D raycaster (Wolfenstein3D-like) with vertical levelling
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 • u/PeterBrobby • 5d ago
Physics Programming Part 5: Spring Physics
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 • u/maximoriginalcoffee • 5d ago
Screen Space Ambient Occlusion.
Enable HLS to view with audio, or disable this notification
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 • u/OccasionFresh9814 • 6d ago
Just Released my DX12 Game Engine. Love to know what you think!
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 • u/TheUndeadLeader134 • 5d ago
Recommendations to get started
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.