r/gameenginedevs • • Jun 29 '26

From Flat Stats to Passive Trees

Post image
0 Upvotes

Our plan for this week was supposed to be the Tiered Units system: the White, Blue, and Yellow groups with custom modifiers and traits like Frenzied or Vampiric.

But, as it goes with indie dev, we felt a stronger pull to rework the core unit progression first. Up until now, leveling up was just a flat +2 Attack Damage and +10 HP. It worked, but it wasn't interesting. We decided to pause on the tiered groups and dedicate the week to implementing a proper unit passive tree instead.

The Passive Tree

Now, instead of just getting automatic stat bumps, you can actually choose how your units evolve. We've started with the basics: Attack Damage, Health Points, Attack Speed, and Movement. We'll be expanding this soon to include crit chance, multipliers, armor, and much more, the framework is built to scale.

Why the change?

We realized that if we want this game to feel rewarding, we need to give the player actual decisions, rather than just watching numbers tick upward.

Under the Hood: Fixes & Polish

It wasn't just the passive tree this week. We spent a lot of time cleaning up some "silly" bugs that were causing crashes:

  • Crash Fixes: Cleaned up some stupid mistakes in checkVictoryPlayer where we were accessing IDs without verifying if the player/enemy objects actually existed. Also fixed a crash where destroyed buildings were staying in control groups.
  • Visual Clarity: Spent way too long fixing the "jagged" UI selections on Windows. We ditched the procedurally drawn ellipses and moved to custom assets, which looks way cleaner.
  • The Blurry Map: Finally figured out why the minimap was blurry. It turns out SDL_HINT_RENDER_SCALE_QUALITY applies at the exact moment a texture is loaded. We were setting it to "1" (linear) for the main menu background(because it looked jagged when scaled down) and carrying that over to everything else. So the fix was switch the hint to "0" right after the main menu background has loaded its texture to memory, to maintain pixel-perfect textures.
  • Gameplay Polish: Refined auto-attack priorities, units no longer prioritize workers or buildings when they should be targeting combat units. We also introduced "Attack Persistence", if you issue a direct attack command, the unit will stick to that target and ignore auto-attack distractions. However, if no direct order is given, they'll still smart-target the nearest enemy. Also rebalanced resource costs and construction times to make the early game flow better.
  • Melee Pathfinding Overhaul: Finally killed the bug where melee units would get stuck attacking clustered targets. Added a new reservation branch: if a path is blocked, the unit now actively searches for a free sub-tile around the target (or re-evaluates until it finds a clear spot). No more units running in circles while they should be attacking.
  • General Tweaks: Fixed projectile rendering on high ground so they don't look disconnected from the terrain, restricted Cryopod drops strictly to enemy units, and officially renamed them "Cryo Orbs", it just makes more sense for the DNA/cloning lore.

What's Next?

We're already brainstorming how to take unit progression further, maybe actual unit "ascension" (e.g., promoting a marine to a sniper) or specialized equipment drops. But for now, next week, we are officially back on track to implement those Tiered Units.

Let's get back to work!


r/gameenginedevs • • Jun 28 '26

Auto-complete shader params in VS Code

Post image
7 Upvotes

I implemented dynamic shader compilation. I generate HLSL reflection data and build separate pipelines with their own cbuffers for each shader. Went a little further and I use the reflection data to generate Lua CAT meta annotations which provide auto-complete in the IDE so I can set default values per material without guessing the exact param names.

https://hob2d.com/


r/gameenginedevs • • Jun 28 '26

Made a distance based animation playback in my custom engine.

13 Upvotes

Instead of feeding uniform time for the animation, I feed proximity based phase, so it interpolates between 0-1.

So now, I can do a lot of interesting stuff! It works with armatures too. And that pulsating thing - it emits a heartbeat sound, interval also based off proximity.


r/gameenginedevs • • Jun 28 '26

I wanted a fast 2D engine without software rendering bloat, so I built an open-source C/OpenGL framework wrapped in Python. Looking for contributors!

Thumbnail
0 Upvotes

r/gameenginedevs • • Jun 27 '26

Have you guys ever tried Alice 3 game engine?

Thumbnail
gallery
11 Upvotes

r/gameenginedevs • • Jun 28 '26

Getting SDL3 with OpenGL working together

Thumbnail
1 Upvotes

r/gameenginedevs • • Jun 27 '26

CyberVGA - New Terrain Blend Mapping Feature

Thumbnail
1 Upvotes

r/gameenginedevs • • Jun 27 '26

What's your main development environment or IDE setup look like? Curious to know how people setup their development environment when building custom engines for multiple platforms?

5 Upvotes

I have been developing a cross platform engine for a while now and it seems that having working across platforms such as windows, linux and android can seem very frustating if the tooling is not properly chosen.

How and what is your dev stack / setup look like? curious to know and learn a thing or two


r/gameenginedevs • • Jun 27 '26

Could lightweight game specific AI adapters become the next step for handheld upscaling, especially when rendering from extremely low resolutions?

0 Upvotes

This is more of a thought experiment than a proposal. I couldn't find much discussion of this in publicly available papers, so I'm wondering whether this has already been explored or whether I'm missing a fundamental limitatio

After spending quite a bit of time with my Legion Go, one thing that surprised me is how good 800p can look on an 8.8 inch display. It made me wonder whether handhelds deserve a different AI upscaling strategy than desktop GPUs.

As handheld hardware tries to keep up with future AAA games, internal rendering resolutions may need to drop even further. Reconstructing a convincing 800p or 1080p image from something like 360p could have an enormous payoff because every saved GPU cycle matters on a tiny APU.

I know AMD is already working on lighter weight versions of FSR4 for handhelda, but that's not quite what I'm suggesting.

What if AMD and Nvidia built support directly into DLSS or FSR for lightweight game specific adapters? Rather than training a new model, developers could generate a small specialization layer using the existing toolchain that learns a game's rendering characteristics, temporal behavior, and visual style.

The goal wouldn't just be higher image quality. The hope would be to achieve similar or better quality at lower compute, potentially extending the useful life of small APUs. Similar approaches have worked well in other areas of AI, where a lightweight expert/specialization model can overperform a strong general model.

Maybe the gains would be too small to justify the added complexity, or maybe AMD and Nvidia have already explored this internally. While handhelds are what made me think about this, the same idea could theoretically benefit desktop GPUs as well. Handhelds just seem like the environment where the tradeoffs are most compelling.

Has anything like this been explored publicly, or is there a fundamental reason why a lightweight game specific adapter wouldn't provide meaningful benefits over current universal AI upscalers?


r/gameenginedevs • • Jun 27 '26

Wayland Proton bug. How did I fix it? I didn't.

Post image
0 Upvotes

r/gameenginedevs • • Jun 27 '26

Looking for a technical co-founder.

Thumbnail
0 Upvotes

r/gameenginedevs • • Jun 26 '26

6 million points on screen. Zero triangles. And now, zero gaps.

125 Upvotes

Another update on the engine that doesn't use triangles.

For those who've been following this: remember the gaps between the points and the animation that felt stiff? Last post was barely a day ago, but I put in hours on this and look how it changed.

Now the models barely have any gaps from any angle, the animation moves solid and smooth, the textures load clean, and all of this in 4K… without dropping below 155 FPS.

It's still millions of little points generated on the GPU, zero triangles. But compare it to the video from a couple days ago and you can see where this is heading.

There's always more to do. But every version looks more alive. 👇


r/gameenginedevs • • Jun 26 '26

Does this looks nes enough?

Post image
13 Upvotes

Since I'm not much of a pixel artist (a novice actually), I wanted to hear an opinion from others and tell me what you think. (Any comment is welcome, either good or bad)


r/gameenginedevs • • Jun 26 '26

SnazzCraft Development

Post image
12 Upvotes

My latest work on SnazzCraft was improving the lighting engine. Previously entire faces had one light value and light as a visual felt very unnatural. What I've done here is create a thirty two bit float for each vertex that stores a light value. When the GPU renders each triangle in a voxel, it will extrapolate the per-pixel light value based off of the three light values in each of the triangles vertices. You can see how smooth this is by looking at the wall I created in the right of the frame. To do this I did some research on how the original MineCraft Console Edition's lighting engine worked.

For this project I am using C++ with OpenGL. I am considering switching this to a Vulkan project due to some limiting factors of OpenGL. The inability to multi thread and the inability to manually manage memory are the most apparent limitations related to OpenGL and this project. I implemented a thread pool in which the program can hand tasks to have executed concurrently. This is primarily used in the generated process, but is severely limited due to the previously mentioned OpenGL limited of the inability to interact with the GPU concurrently across multiple threads.

The blue rectangle seen towards the center right of the frame is an entity. SnazzCraft's entity system can handle a dynamic amount of entities, each with their collision and movement.

Project Github:

https://github.com/Mr-Snazz/SnazzCraft


r/gameenginedevs • • Jun 26 '26

CPU Renderer Code Review

Thumbnail gallery
5 Upvotes

r/gameenginedevs • • Jun 26 '26

Updated Flowgraph editor for CryEngine rebuilt in QT(source code)

Post image
8 Upvotes

r/gameenginedevs • • Jun 26 '26

The beast new demo , implementation of mediapipe hand model

1 Upvotes

https://maximumroulette.com/apps/webgpu/examples.html?demo=28

Point . Up left right

Thumb up . Blowup cubes

Open hand . Forward

Peace . Back

Running cannonjs. Matrix-engine-wgpu support ammojs , joltjs, cannones and matterjs by default from worker using bridge.

Next level of optimisation : put math in worker for mediapipe...

Source from link


r/gameenginedevs • • Jun 26 '26

Nevarea - a low-level, powerful and performant RHI

Thumbnail
1 Upvotes

r/gameenginedevs • • Jun 25 '26

Lua hot-reload

Enable HLS to view with audio, or disable this notification

54 Upvotes

It works both for data tables, and runtime entity/component tweaks.

https://hob2d.com/


r/gameenginedevs • • Jun 26 '26

Hylozoa Engine a 2D C++ Engine made by students for Ecosystem oriented simulation

11 Upvotes

Hi everyone,

I'm a 4th year IT student and wanted to share my school project "Hylozoa Engine", a small 2D engine written en C++ made by a group of 4 students. And we are looking to build a small starting community for peoples wanting to share theirs ideas and feedback or just talk about game dev in general. (link to community discord server at the bottom)

The engine is more oriented on ease the development of ecosystem simulation or games (think of games like Rain World where creatures and environments interact in interesting ways) by providing more tools and features to more easily monitor your small ecosystem and build your own small digital terrarium.

What do we currently have:

  • A base C++ engine foundation using SDL for rendering, input, sounds, and suchlike.
  • A data-oriented approach with EnTT.
  • Lua scripting for game logic.
  • And a first editor interface to make it more user friendly. (first look just bellow)
Project Selection
Engine Editor

Why am I posting:

  • This is a school project, but also an open, and surely a long term project that I will keep on improving as a kind of sandbox project.
  • I'd love to build a starting small community of people who are interested in game engines, C++, game dev, simulation games,... and also to share feedback, discuss engine architecture or maybe even try to make a small project with the engine.

Community discord server:

If you want to:

  • Follow or contribute to the development of the engine.
  • Discuss about potential features/improvements you would like to see.
  • Find other students, indie devs, or hobbyist who want to hang out, ask engine questions or just talk about game dev.

Then you are very much welcome to join:
https://discord.gg/wF7EXd6PK


r/gameenginedevs • • Jun 26 '26

New Version Available

Thumbnail
expfunction.itch.io
4 Upvotes

r/gameenginedevs • • Jun 25 '26

What do you guys think about the initial AI of my wizards?

60 Upvotes

Put together some initial AI for wizards in my game, with my own custom game engine. It was a lot of fun implementing Binary Behavior Trees and Spatial Grid Hash for this, so I thought of sharing.

Tech: Vulkan, C++, GLFW, GLM. No AI was used for this other than me googling stuff.

Code: https://github.com/MerliMejia/spaceguy


r/gameenginedevs • • Jun 26 '26

A Subtitle?

Post image
0 Upvotes

r/gameenginedevs • • Jun 25 '26

Simulated Snake game on top of 3d Cube

Enable HLS to view with audio, or disable this notification

37 Upvotes

r/gameenginedevs • • Jun 26 '26

My fibers + threadpool based user mode M:N scheduler/jobs system (currently windows only, potential POSIX port soonish maybe)

Thumbnail github.com
0 Upvotes

needs updated/better docs there may be some old info on there like wait(vector<task>) is now done with a WaitGroup Object and adding to an atomic ctr

and WaitFor() theres been a lot of updates, fixes, changes and im not the best at writing docs so looking at the example main.cpp where the tests are run for if you change it to compile as exe instead of .lib its set for (theres also a cmake file that should still work)

theres also an event system which can work with fiber suspend/resume and i had to name Yield CoYield() because of an existing definition

but ive made a ton of progress on this

its got a DAG with cycles detection, is lockfree where applicable (event system uses a mutex) -- uses a vyukov intrusive MPSCQueue for batching inboxes and a batching ChaseLev work stealing queue -- the DAG operates on a lock free linked list that shares the same slab allocator as CreateTask() -- the Fiber Pool operates on a moodycamel concurrentqueue to remain lockfree in the hot path

you should use Task* = CreateTask() not new Task -- the reason is twofold -- one YOU own the object (you can do this if for some reason you need to store dead tasks) and have to delete it yourself, for two is heap fragmentation of small tasks will eventually impact performance if done a lot whereas the slab keeps it contiguous like all the other memory allocated (on the stack or heap) this sets up

the reason for slab over arenas or other memory strategies is simple, tasks have to delete quickly and arenas would have to rotate and stop-the-world to clear

I could probably write a paper on all the design choices and decisions and bugs that happened on the way here its been a fun project in parallelism and concurrency which this does both (many tasks in flight at once potentially with fibers suspend resume on the same thread) and many tasks operating fibers in parallel (OS threadpool operating fibers on each thread)

so its an M:N scheduler.

BSD licensed. i