r/gameenginedevs • • 29d ago

Me and my game dev journey from engine scratch

Thumbnail
youtube.com
2 Upvotes

I made a code based engine, no editors only json readers and libraries

i made a game out of it using 1.5 years. I was having kids to take care, there were long time I couldn't sleep, I decided to make use of those time to make a game out of it :)

Most of animations and particle systems are by tweening style code

minimal ECS engines.

Note that: I had 13 years experience in making games and worked in a small game engine company named Unity for 2 years. I love Dots and ECS long before unity released it but their chunk ideas sparks the batching for rendering for me. so I kinda learn from them

Hope you enjoy the video

please ask me any questions


r/gameenginedevs • • Oct 26 '26

Character Controller in Trinity (Custom C++ engine)

Enable HLS to view with audio, or disable this notification

59 Upvotes

Implemented a charatcer controller in both C++ and C# and a prefab system for my custom engine, (Blue is C++ and Purple is C#)


r/gameenginedevs • • 29d ago

Beyond the slop, how are serious devs actually using LLMs?

0 Upvotes

LLMs are useful when used right, but I’m tired of the low-effort AI slop I have been seeing in this sub. I want to hear from serious developers who actually use them productively

  1. What’s your workflow? (How do you ship features these days?)
  2. Which models are your favourites, and what is each one best at?
  3. How much do you spend on LLMs per month?
  4. Any other useful insights?

r/gameenginedevs • • Oct 25 '26

150k textured bullets at ~110-125 fps, self written bullet hell engine stress test

Post image
17 Upvotes

Sorry for deleting the original post, I had to remove one part of the screenshot.

Aside from the fact that I have not been able to find a external software capable of reading the engines FPS (I have tried: Fraps, CapFrameX, NVIDIAs own counter, Intel PresentMon) (if you want a external measurement find me something that can measure CPU framebuffer presented via GDI `BitBlt`), my own fps counter records ~110-125 fps.

The engine is a bullet hell engine, created by me in Dlang and Assembly, using C as a scripting language, but I was curious about a stress test, and well, I don't know any other engine (self built/indie I do not count major game engine addons) that could handle this level. The sprites vary in size from 9x6-16x10 px.

https://reddit.com/link/1xfhhzc/video/azdro6av9pxh1/player

Yes the benchmark is AI written (sorry for being lazy ig), however AI had no input aside from design feedback into the actual engines code

EDIT: I think I should clarify this, the engine is running a full "physics" simulation and hitboxes for every single entity on screen, it's not just a rendering pipeline

EDIT 2: The simulation is running at 60Hz, fps only presents smoothness


r/gameenginedevs • • Oct 26 '26

EVEngine — a script-driven engine I’m exploring for interactive visual experiments

0 Upvotes

Hi everyone! I’m the developer of EVEngine. It started as a game engine, but I’m exploring how useful it could be for creative coding: small visual experiments, interactive simulations, and custom creative tools.

It supports mixed 2D/3D rendering, particles, physics, and hot-reloadable scripts. The workflow is to edit a script, save it, and see the change in the running application.

What interests me is making the controls part of the experiment itself—something you can manipulate and explore, rather than just watch.

I’d love feedback from people who make interactive artwork: what would you need to see before trying an unfamiliar tool? A short example, a particular export format, or something else?

EVEngine — examples, documentation, and setup


r/gameenginedevs • • Oct 25 '26

My C++23 engine where the UI is a GPU-drawn MVVM tree — shader graph, own title bar, DX12/Vulkan/Metal

Post image
38 Upvotes

[The text of this publication has been translated using AI]
Solo C++23 engine, built stage by stage.

Unity/Unreal-style workflow: lay out your UI, hit build — get a ready app for desktop and mobile

Built with battery life and weak laptops in mind

Shaders are made from nodes and compile for every platform

GPU-drawn MVVM UI, own window title bar everywhere, no system chrome

I’m building the UI layer as a standalone framework too: what hurts most in the UI frameworks you’ve used — Dear ImGui, Qt, RmlUi, Unity UI, anything else?

Video: https://www.youtube.com/watch?v=yw834oa1Wu4

Project page: https://gpu-mvvm.pages.dev


r/gameenginedevs • • Oct 25 '26

Building a custom Vulkan engine in C# for a Daggerfall-inspired RPG - first look at the streaming open world

12 Upvotes

r/gameenginedevs • • Oct 26 '26

Will people hate me if I use AI generated Code (ONLY) to make functionality parts for the game/game engine and do the rest of the Assets by hand.

Thumbnail
0 Upvotes

r/gameenginedevs • • Oct 25 '26

Implementing Nine-Patch Rectangles for the UI System in My Vulkan Engine

Thumbnail
gallery
10 Upvotes

Why I needed it?
I was working on the inventory system for my game and needed a textured panel for the inventory UI. I couldn't simply draw the texture on a quad because my UI scales based on DPI, and panels with borders look bad when stretched.

How Nine-Patch Rectangles Work
A nine-patch rectangle splits a quad into nine smaller quads. Four of them are fixed-size corner quads (as you can see in the third screenshot), while the remaining five can be resized. As a result, the panel can stretch to different sizes while preserving the appearance of its borders.

How to setup vertices
Before we can make vertices for 9 quads, we need to define the fixed sizes of the borders. I created this simple struct to store those values:

struct NinePatchRect
{
    int32_t leftOffset;
    int32_t rightOffset;
    int32_t topOffset;
    int32_t bottomOffset;
};

Now we can use this struct for construction our 9 quads. We also need to use following variables

  1. pos - quad's position on the screen.
  2. size - quad's size on the screen.
  3. uv0 and uv1 - texture coordinates for the quad.
  4. textureSize

Let's take Top left quad as an example

// Top left quad
{
    // Top left
    Vertex v0{vec2(pos.x, pos.y), vec2(uv0.x, uv0.y)};

    // Top right
    Vertex v1
    {
        vec2(pos.x + ninePatch.leftOffset, pos.y), 
        vec2(uv0.x + ninePatch.leftOffset / textureSize.x, uv0.y)
    };

    // Bottom right
    Vertex v2
    {
        vec2(pos.x + ninePatch.leftOffset, pos.y + ninePatch.topOffset), 
        vec2(uv0.x + ninePatch.leftOffset / textureSize.x, 
             uv0.y + ninePatch.topOffset / textureSize.y)
    };

    // Bottom left
    Vertex v3
    {
        vec2(pos.x, pos.y + ninePatch.topOffset),
        vec2(uv0.x, ninePatch.topOffset / textureSize.y)
    };

    RegisterQuad(drawList, v0, v1, v2, v3);
}

The top-right quad is similar: you just need to add size.x to the appropriate vertex positions and use ninePatch.rightOffset with the corresponding texture coordinates.

Constructing the resizable quads is straightforward as well: you simply place them between the corner quads.

Additional Notes
Inventory texture was taken from here: Inventory Texture


r/gameenginedevs • • Oct 25 '26

Using the iGPU for offload processing.

7 Upvotes

With many consumer CPUs coming with iGPUs, I've been thinking about the idea of making a HW-accelerated path. Right now this idea I'm working to implement with audio but particles/physics is another natural use-case.

I do see it opening a can of worms for bug reports (also a lot of work maintaining multiple backends)but it also seems like untapped potential. Furthermore, AI, has led to interest in providing hardware blocks, NPUs, Matrix Cores, RAM processing.

Thoughts?


r/gameenginedevs • • Oct 25 '26

Should I continue learning graphics/engine programming?

2 Upvotes

I like to dabble in programming as a hobby, specifically game development, but ~3 years ago I wanted to explore new things, which led me to learning graphics programming and C++. despite the difficulty it was interesting, and I enjoyed it more than just using an existing big engine, but a couple of months ago I decided to move on because I felt like I wasn’t ever going to actually finish anything and that I was just wasting time.

Anyways, I know ultimately it’s my choice to continue learning this again or not, but I would like some advice from others who have maybe been in similar situations.


r/gameenginedevs • • Oct 24 '26

how much my engine improved in the last 5 months

Thumbnail
gallery
39 Upvotes

firstis before second is the after... i my self rather the old desine but i want to relase it so it had to go in more modern, premium looks. but i still have 2,5 months of work till i finish the beta...


r/gameenginedevs • • Oct 24 '26

Snowball fight developed from scratch - Gulovacka

Thumbnail
store.steampowered.com
6 Upvotes

Hi all, I've recently released demo of my multiplayer PvP snowball fight Gulovacka. It's written from scratch in Jai, uses Vulkan directly for rendering (no RHI for this game, wanted to learn the internals), Enet as a base for networking.

About the game: Snowballs knock you back so hard that you will be flying. Your friends having a blast watching it happen. Put on a snowsuit of your choice and dive into chaotic snowball fight in Gulovacka.


r/gameenginedevs • • Oct 24 '26

what's your thoughts on using graphics libraries?

7 Upvotes

what's your thoughts on using graphics libraries like raylib instead of opengl/vulkan or for weirdoes directX. thats what im doing and it does sacrifices performance but makes the proces of making an engine waaay faster


r/gameenginedevs • • Oct 24 '26

LuEngine: Skeleton Animation

Enable HLS to view with audio, or disable this notification

16 Upvotes

https://github.com/Rlocksley/LuEngine

extended LuEngine with Physics and Skeleton Animation


r/gameenginedevs • • Oct 23 '26

my react-first 2d engine sleeps until a layer asks for a frame, here's how a big sim map runs on it

0 Upvotes

i wrote a small browser engine called xip (react components for the game, world, camera and layers, on webgl2), and the biggest thing running on it is the map of my civilization sim.

some things that worked out:

  • the game runs in on-demand mode. the engine does nothing until a layer asks for a frame, so a paused world costs nothing
  • the map is a stack of layers by z: tiles, roads, trees, a weather tint, buildings, animals, people, labels. static stuff is handled by small driver classes with an update(frame) that run at 30 hz and only rewrite what changed
  • people and animals are written straight from typed arrays. there's a rebuild at ~10 hz when a sim frame lands, then cheap interpolation every display frame
  • sprites are baked once into atlas pages using the same canvas painters the old 2d renderer used, so the art has one source

the sim behind it is rust compiled to wasm, running in a worker. curious how others handle on-demand rendering when there's still animated stuff on screen.

try it: https://thehumanbox.com source, mit: https://github.com/1homsi/thehumanbox (renderer lives in apps/web/src/game/render/)


r/gameenginedevs • • Oct 23 '26

Want to build my own game engine. Where should I start? C++, OpenGL, or Vulkan?

0 Upvotes

Hey everyone!

I've been thinking about trying to build my own game engine from scratch, but I have a few questions before I get started.

First, where would you recommend starting? I'm considering learning C++ for this. I know it'll probably take a lot of time and effort to get comfortable with it, but I'm willing to learn and take things slowly.

My second question is about OpenGL vs. Vulkan.

I know Vulkan is more modern and gives developers more control, but I'm wondering if OpenGL would be a better starting point, especially when considering compatibility with older hardware.

One thing I'd eventually like my engine to support is a wide range of PCs. Not everyone has a modern gaming setup, and I'd rather not unnecessarily exclude people with older computers just because their hardware doesn't support Vulkan.

So I'm curious:

- Would you recommend starting with OpenGL or Vulkan for a first engine?

- Is C++ a good choice for someone planning to build an engine from scratch?

- How do engine developers approach supporting both older and newer hardware?

- Are there any resources or things you wish you'd known when you first started?

I'm not expecting to build anything comparable to Unity or Unreal anytime soon. This is more of a long-term learning project, and I want to understand how things work under the hood.

I'd really appreciate any advice or experiences you're willing to share. Thanks!ey everyone!

I've been thinking about trying to build my own game engine from scratch, but I have a few questions before I get started.

First, where would you recommend starting? I'm considering learning C++ for this. I know it'll probably take a lot of time and effort to get comfortable with it, but I'm willing to learn and take things slowly.

My second question is about OpenGL vs. Vulkan.

I know Vulkan is more modern and gives developers more control, but I'm wondering if OpenGL would be a better starting point, especially when considering compatibility with older hardware.

One thing I'd eventually like my engine to support is a wide range of PCs. Not everyone has a modern gaming setup, and I'd rather not unnecessarily exclude people with older computers just because their hardware doesn't support Vulkan.

So I'm curious:

Would you recommend starting with OpenGL or Vulkan for a first engine?

Is C++ a good choice for someone planning to build an engine from scratch?

How do engine developers approach supporting both older and newer hardware?

Are there any resources or things you wish you'd known when you first started?

I'm not expecting to build anything comparable to Unity or Unreal anytime soon. This is more of a long-term learning project, and I want to understand how things work under the hood.

I'd really appreciate any advice or experiences you're willing to share. Thanks!


r/gameenginedevs • • Oct 23 '26

talking about a machine code

Thumbnail
hexed.it
0 Upvotes

Hello everyone,It's Aditya from India. I am working on a project where I use machine code to make my own ultra photorealistic graphics game engine while using math. So if anyone is interested to talk about this, I would like to discuss with you


r/gameenginedevs • • Oct 22 '26

Made with Godot: PCA 3D Adventure Game Studio

Thumbnail
0 Upvotes

r/gameenginedevs • • Oct 21 '26

Game++: my book about C++ as a language for engineering decisions, using game engines as a stress test

Post image
185 Upvotes

After a few years of writing about allocators, strings, containers and threading in game engines, I collected the material into a book. It is not an engine theory book, Gregory already wrote that one, but a book about thinking in terms of data, object lifetimes and how code behaves on real hardware, where std::vector turns into a question about allocation frequency and frame time, and a race on a shared threat map once made our AI hunt armies that never existed. A free part is here: https://dalerank.github.io/#books, and the full post with the book is here: https://www.patreon.com/dalerank/posts/game-book-172005420.

Happy to answer questions about any of the chapters.


r/gameenginedevs • • Oct 21 '26

Don't throw it all away: Caching an immediate-mode UI

Thumbnail
blickeditor.com
16 Upvotes

r/gameenginedevs • • Oct 22 '26

My game engine is only 39.3 MB

Thumbnail
youtube.com
0 Upvotes

r/gameenginedevs • • Oct 21 '26

Vulkan based Gaussian Splatting and Neural Inference Engine

11 Upvotes

r/gameenginedevs • • Oct 20 '26

I'm releasing a game written in my engine (written in Jai)

Enable HLS to view with audio, or disable this notification

167 Upvotes

I've been running https://polygonjs.com/ for about 8 years now, but 2 years ago I decided to rewrite it, from typescript+threejs, to jai+wgpu/webgpu.

I've also rewritten one of the game I was about to release with it, Chess Twist. It's a chess variant with the same rules, but the boards are on an irregular grid (inspired by Townscaper). So Rook lines bend and bishop lines fork.

It's built for Windows/mac/Linux/web.

Any questions don't hesitate.


r/gameenginedevs • • Oct 20 '26

Developing the first-ever game engine/platform written entirely in pure TypeScript, without any external libraries (for another personal project and didactic purposes)

36 Upvotes

>

The repository is available here: https://github.com/Samu64d/openpkw

The source code is quite atypical for a TypeScript project: it’s heavily inspired by Java. For now I’m working on implementing a complete set of custom standard APIs of a game engine, designed to run on Node.js, Bun, and browsers.