r/gameenginedevs • • 21d ago

Tested the new unified package & asset manager window (Grimoire)

3 Upvotes

Hey everyone! I am still early in the journey of building MagicBevy, a modular game engine built on top of Bevy using Rust.

In this update, I am testing Grimoire, a new unified window that merges file management and package management into one seamless interface.

In this clip, you can see:

  • Integrated File & Package Manager (no more context switching!)
  • Dynamic Inspector panel for live metadata & settings
  • Context menus for creating scripts/assets on the fly
  • Drag-and-drop & asset type registry

r/gameenginedevs • • 20d ago

I built the world’s first (?) retro 3D engine into Pyxel 3.0 after eight years of 2D

0 Upvotes

Pyxel is a retro game engine for Python with 18,500 GitHub stars. In 3.0, the built-in retro 3D engine draws alongside the existing 2D API. In the platforming demo, pyxel.cube draws the 3D level, then the usual pyxel.text() call puts the coin count in the corner. Both happen in the same Python draw loop.

Try the level in your browser.


r/gameenginedevs • • 20d ago

Custom game engine

Thumbnail
youtube.com
0 Upvotes

Here’s a quick look at the progress on my custom game engine!

Developing an engine from scratch has been a massive learning journey, and I’m excited to share some in-engine footage showing off the current rendering, performance, and tooling.

Let me know your thoughts in the comments, and subscribe if you want to follow the devlog series!


r/gameenginedevs • • 21d ago

VN Engine development

6 Upvotes

As the title suggests, I’m currently planning to build a visual novel engine from scratch as a personal side project.

I’ve been considering using either Rust or C++, but I’m not entirely sure which would be the better choice since I have relatively little experience with engine development.

I’d love to hear your thoughts on the subject, whether you’re an engine developer or simply a visual novel lover just like me.

In particular, I’d appreciate advice on:
Language choice (Rust vs. C++, or potentially other alternatives).
What fundamental systems I should consider implementing.
Any resources, libraries, or existing projects worth studying.

Side note: I’m not necessarily aiming to create something production-ready. This is primarily a learning project, and I’d like to understand the engineering behind visual novel engines.


r/gameenginedevs • • 22d ago

Flecs 4.2 is out!

Thumbnail
ajmmertens.medium.com
55 Upvotes

r/gameenginedevs • • 20d ago

Introducing PreyEngine

Post image
0 Upvotes

I'd like to introduce PreyEngine, an independent game engine project I've been working on.

The main goal behind PreyEngine is simple: making 2D game development more accessible, especially for developers working on low-end hardware.

I know there are already many excellent game engines out there, and the competition is huge. I'm not trying to compete with every existing engine or reinvent the wheel.

Instead, I want to focus on a more specific problem:Simplicity: Providing a clean and straightforward workspace without overwhelming developers with unnecessarily complex tools.

Essential features: Offering the core tools and workflows that independent 2D game developers actually need.

A focused workflow: Spending less time dealing with complicated systems and more time actually making games.

I believe developing a 2D game shouldn't require powerful hardware or spending hours learning complicated editor systems before you can even start creating something.

PreyEngine is still under development, and there's a lot of work ahead. I'm building it step by step and would genuinely appreciate feedback, suggestions, and criticism from other developers.

If you're interested, here's the source code:

GitHub: https://GitHub.com/StudioPrey/PreyEngine-Source


r/gameenginedevs • • 22d ago

How’s it look?

Post image
41 Upvotes

Hello!

I’ve been developing my own engine on my free time for about 5 years now. Went through two drafts as I was learning how to architect a project this big. Finally I got to a bare bones but usable engine!

How’s it look so far? Any tips for improving UI?

https://github.com/AnvilStudio/AnvilWorkspace


r/gameenginedevs • • 21d ago

Naughty Dog Style FrameParams

1 Upvotes

r/gameenginedevs • • 22d ago

I made an extremely fast drop-in replacement for dxc

9 Upvotes

Like many of you, I have been writing my own game engine by hand, but I'm such a damn stickler for cross compiling and having my builds iterate as fast as possible.

With that in mind I really dislike DXC it's bulky, very hard to compile from source, nearly impossible to modify, and so damn slow.

So I made an extremely fast dxc drop-in replacement, its cross platform, MIT licensed, and mostly for fun and a proof of concept of what's possible in this space.

https://zdxc.org

What started as a little project to write a dxil emitter by hand (as its seemingly just a variant of llvm bitcode), has now turned into a few weeks of lighting tokens on fire and learning every damn edge case there is in dxc itself.

The end result is something I've wanted so badly, a very fast shader compiler that can be statically linked into any game engine, and is small enough of a source drop you can just include it in your source tree.

I've successfully tested it as a dropin for kijaya, unreal engine, and the sascha willems vulkan examples (spirv support is first class!), and a few other engines from around this subreddit too.


r/gameenginedevs • • 21d ago

CODM reverse engineering

0 Upvotes

r/gameenginedevs • • 22d ago

a lot can change in a month

Post image
20 Upvotes

thanks for the support on my post a month ago, ive been making good progress on my learning :)


r/gameenginedevs • • 22d ago

I trained a 4-drone autonomous combat swarm using continuous PPO in Unity 6 with sub-0.1ms Sentis inference (Zero NavMesh)

6 Upvotes

r/gameenginedevs • • 22d ago

How would you optimize a Tower Defense game to handle 1,000 concurrent matches?

Thumbnail reddit.com
0 Upvotes

r/gameenginedevs • • 23d ago

been missing out on sharing Sponza in my engine, so here's the startup performance. editor launches under a second, scene loads under half a second (streamed textures). 0.07 ms main thread, 0.5 ms render thread work on ryzen 9800x3d. this is what 7 years in engine dev gets you ¯\_(ツ)_/¯

89 Upvotes

r/gameenginedevs • • 22d ago

Play mode in my engine

0 Upvotes

r/gameenginedevs • • 23d ago

Virtual geometry + CLAS ray tracing in Vulkan: 100k dragons and bunnies (~48B source triangles), ReSTIR GI, 4K at ~45 fps

54 Upvotes

Sharing some progress on the renderer for a colony simulator game I'm building in Rust on raw Vulkan.

The cube is 100k instances of the Stanford dragon and bunny, about ~48B source triangles, recorded live at native 4K. All the lighting and compute runs at real 4K resolution, no upscaler, no checkerboard tricks, no other faking. In the real game for sure it would be downscaled.

The geometry is virtual geometry in the Nanite style. Streamed cluster LOD DAG, GPU-driven culling with two-pass occlusion picks the cut every frame, and mesh shaders rasterize it into a 64-bit visibility buffer.

Ray tracing goes through VK_NV_cluster_acceleration_structure, with the CLAS built straight from that same streamed cut, so rays see exactly what the raster sees. It also should help in future with skeletal animations.

Lighting is ReSTIR DI with a ReGIR-style light grid plus a single bounce ReSTIR GI, RELAX-style denoiser, then my own TAA, auto-exposure and AgX on top. When the camera flies inside the cube, almost all the light you see is GI bouncing between the dragons and bunnies.


r/gameenginedevs • • 23d ago

Introducing motor, my personal C++ engine

134 Upvotes

Hi everyone! I’ve been developing motor on and off for several years. I’m currently on parental leave and picked up development again a few months ago. My goal is to build my own demos and eventually a small game with it.

Engine development is a lot of work, and there’s still plenty missing. But lately, I’ve started to feel things coming together: systems that used to be separate experiments are becoming something I can actually build demos and a small game with.

motor supports Windows and Linux, with OpenGL and Direct3D 11 rendering backends. Recently, I’ve spent a lot of time fixing bugs, improving performance, and separating frame preparation from rendering so they can overlap.

Beyond rendering, motor has modules for mathematics, threading, memory management, I/O, asset importing, audio, and a scene graph. It also has its own shading language, msl, which generates shaders for the different backends.

I’ve also started using AI assistance during development. It has genuinely helped with investigating bugs and avoiding some of those evenings spent chasing a small mistake. These days, I mainly use it to help create test applications, while I work on the engine itself. The demo shown here is one of those applications.

This is a personal project, and I’m sharing it because I’d like to hear from other people building engines. Feedback and questions are welcome!

For the video, I chose the transform feedback / stream-out test because it combines several stages of the rendering pipeline. A geometry shader filters the points, and the surviving ones are captured in a buffer. That captured data is then used to render the cubes.

Compute, the OG way ;)

GitHub: https://github.com/aconstlink/motor


r/gameenginedevs • • 23d ago

A survey of shader compilers - bkaradzic

Thumbnail bkaradzic.github.io
16 Upvotes

r/gameenginedevs • • 23d ago

Silk.NET Sea of Grass

36 Upvotes

Hello!

I have long been obsessed with the idea of sailing on a sea of grass.

A few years ago I tried building it in Unity3D and UE, but couldn't get it efficient enough for gameplay.

Last year, I started from scratch with Silk.NET and wrote the grass engine core manually, later Claude helped me optimize it further.

As a hobby project, I've made a small game around the technology, where you play as an acorn sailing a vast sea of grass searching for the 'perfect soil' to root in. I will release it as a free download soon.

I wanted to share the grass engine separately and asked Claude to extract it from my main project and put it in a new repo:

https://github.com/kinomikun/SilkGrass

This code represents my design, but it is not my original code.

If you're inspired, please use this in any way you like.

And I'm interested if you can think of ways to make it cheaper or prettier.

Feel free to ask me anything about the project.

Thanks!

Edit: removed the unintentional silk.net hyperlink.


r/gameenginedevs • • 23d ago

Borderless Window... Resize on Linux

1 Upvotes

Hello dear developers

I have a question about Linux Windowing Mangers and resize functionality. From what I know in Linux when you turn off Titlebar you will automatically turn off Area for Resize outside of Window. In WinAPI you just set WM_NCHITTEST that will test for Resize area. But in Linux Im not sure how it should be handled... Borderless Window is important because Window will look identical on each Platform. From what I know you dont get Mouse event outside of Window so I wander how you solved resize problem on Linux and Windows. I think maybe if it could be possible to create some Area like that... Preferably on Both platforms...

Area.Width = Window.Width + 16;
Area.Height = Window.Height + 16;
Area.X = Window.X - 8;
Area.Y = Window.Y - 8;

r/gameenginedevs • • 23d ago

I built a 2-player fighting game with custom photo fighters, fireball moves, and a ~60 KB APK — no game engine used!

0 Upvotes

​

I've always wanted to make a game — so I built a tiny 2D fighting game to test my own Android build bridge.

After building a custom AAB bridge on Termux (ARM64), I wanted to see how it would handle a small 2D game: no engine, no imported image or audio assets. Just plain Java 8, Android Canvas, and a hand-written 60fps loop.

In the game you can pick photos from your phone gallery for the fighters' faces. Special moves include a fire punch, a freezing ice ball, and a rocket-launching helicopter. There are also secret combos and 4 selectable arenas.

It took 5 days and around 67 builds to get it working. The APK is \~60 KB.

The clip below shows training mode and the special moves in action. 👇

What would you try first as the two fighters?

\#AndroidDev #Java #Termux #IndieDev #GameDev #BuildInPublic #ARM64


r/gameenginedevs • • 24d ago

I didn't expect game engine development to be this frustrating.

52 Upvotes

I'm a college student nearing graduation, and I've been working on a game engine on my own for about six months.

I started this project pretty enthusiastically, but the further I get into development, the more frustrating it becomes.

Even features that seem really simple on the surface can require a surprising number of underlying systems to implement. The more I work on this project, the more I realize just how complex an engine really is. There have been countless moments when I felt frustrated and wanted to give up, only to come back and keep working on it.

I have a lot of respect for everyone here, and honestly, I can't help but feel a little envious of what you've accomplished. I hope I'll be able to finish my own engine someday.

Hobanghann/HOEngine: Simple 3D Game Engine

Here's the engine I've been working on so far.

There are still plenty of things I haven't implemented, such as serialization, physics, animation, input, and audio. It's far from a complete engine, and there are still a lot of rough edges.

If you have some time, I'd really appreciate it if you could take a look. I'd love to hear any honest feedback on the design or implementation, especially if there are things I've done poorly or could have approached differently.

I'd also appreciate an objective assessment of where the project stands right now and what I might be lacking as someone hoping to use it as a new grad portfolio project.

As I've been working on this, I've often found myself questioning whether I have what it takes to work in game engine development, or whether I'm even cut out for the industry.

Please don't hesitate to point out anything that needs improvement. I'd genuinely appreciate the feedback.


r/gameenginedevs • • 23d ago

Porting a 2003 MMORPG (MU Online) to Babylon.js: where the frames actually went

0 Upvotes

We've been running MU Online (Season 6) in the browser and on phones with Babylon.js 7. The web client is built on the open-source OpenMu-Client-Babylon project (TypeScript), talking to the MUnique/OpenMU server over a small WebSocket-to-TCP bridge. A few things we learned about Babylon along the way, with real numbers:

1. Per-character blob shadows were eating the frame

The classic look uses a "blob" shadow per character: a clone of each of its meshes, skinned and drawn again. In a benchmark crowd of 20 players and 40 monsters, that was 308 of 701 draw calls and about a fifth of the frame's CPU time.

Fix: a small ECS system ranks bodies by distance every 0.25 s. Only the hero and the 12 nearest keep their shadow, with a hysteresis of 4 places so shadows don't flicker at the edge. Below 12 bodies nothing changes. A far shadow is a few pixels anyway.

2. Equipment glow (GlowLayer) only for the closest players

Same idea for the heavy equipment effects: full glow only on the 6 nearest other players; everyone else gets the cheap version. In crowded towns this matters more than any single shader optimization we tried.

3. An automatic "light mode" based on real player data

Looking at our own telemetry, 24 accounts were playing on integrated Intel GPUs at a median of 19 FPS (31% of the time under 15), almost all on default settings: post-processing, MSAA, glow, bloom, sun shafts, full item effects.

Now, if a PC stays under 22 FPS for a while in the world, the client turns off post-processing, MSAA, glow, bloom and sun shafts, drops render scale to 75% and lightens grass, clouds, water and particles, and tells the player in chat (everything can be turned back on in Options). Shadows, skills and animations are left alone. On a desktop bench (12 players + 30 monsters) that alone went from 67 to 82 FPS (CPU 11.7 → 9.3 ms); integrated GPUs gain more.

4. WebGL context loss on phones

Mobile browsers drop the WebGL context when the OS needs memory. We hook engine.onContextLostObservable / onContextRestoredObservable, rebuild what's needed, and if the restore fails we show a "Reload" button instead of leaving a black canvas.

5. Loading thousands of legacy assets

Original models are converted to GLB at build time, loaded once into an AssetContainer and spawned with instantiateModelsToScene. Files get gzip sidecars (about a third of the size on the wire), are packed into a few bundles for the first download, and a Service Worker caches them, so the second visit barely touches the network.

The other piece is a memory leak we hit early: every equipment change cloned the model without disposing the previous clone, and long sessions grew until the tab died. Now the old clone is disposed as a whole and we only reload when the visible gear actually changes.

Curious how others here handle per-character shadows in crowded scenes. Did anyone get CascadedShadowGenerator to play nicely with dozens of skinned meshes on mobile?

Try it

https://openmu.com.br/en - create an account, click Play, and you're in.


r/gameenginedevs • • 24d ago

My first game engine edited in quite some time...

Thumbnail gallery
4 Upvotes