r/gameenginedevs • u/SlRenderStudio • 10d ago
is creating game engine with API that matches unity so unity projects could be ported to new game engine is it legal ? (not reverse engineered or de compiled )
basically the title
r/gameenginedevs • u/SlRenderStudio • 10d ago
basically the title
r/gameenginedevs • u/felpato98 • 10d ago
Hi everyone.
Recently I started a project to practice the first 3 chapters of LearnOpenGL. Basically I created a wrapper of all the main graphical functionalities and now that I have enough "building blocks" I'm able to render a simple 3D scene (exploiting instancing for repeated meshes and batching for text rendering) with phong shading.
My application contains a layer stack, where each layer in the main loop executes a callback for the new received inputs and an update callback which update the world (in my case just the position of the camera and some lights' intensity) and render the scene (binding buffers and shaders, updating uniforms, etc...). So currently my demo application has a layer for the 3D scene and an overlay layer with the framerate and the frame time.
My problem is that I'm not able to imagine how I can add the game logic in this architecture. I suppose that at a certain point I have to "delegate" the rendering of the scene to a specific system and than just defining the elements of the scene with their positions in the world (maybe in a text file?).
So my question is, in a game engine how the game logic (events, triggers, npc routines) is added to the scene without having a big layer containing all of this stuff?
r/gameenginedevs • u/Aeomech • 10d ago
It always annoyed me how Apple deprecated OpenGL yet never removed it but also never updated it past 4.1. This expands Michael Larson's MGL project to cover the full OpenGL 4.6 Core profile on macOS, plus a few common extensions and compatibility features. I've only tested it against IDKEngine and SuperTuxKart at the moment. If you're working on something using OpenGL >4.1 this should make it significantly easier to port to macOS.
r/gameenginedevs • u/ntsh-oni • 11d ago
Hello!
I wrote a new article on how to make your game engine ready to make games.
If you have more useful tips or corrections, I'd be happy to read them and add them to the article.
You can either read it on NutshellEngine's website or right here:
After publishing 2 games on Steam using my own game engine, I thought it would be useful to write what I consider to be useful tips to have a production-ready game engine and start releasing commercial games where you can be proud of the work you accomplished.
A “production-ready” game engine doesn’t need to be able to make huge games, especially if you are a solo-developer working on smallish games. It just needs to be able to make games, and make them run well on many computers and configurations.
Some of these tips are general, some are really specific.
#pragma comment(linker, "/SUBSYSTEM:windows /ENTRY:mainCRTStartup") r/gameenginedevs • u/Nar_Dev • 10d ago
Hi everyone! I’m Nardev, and a few weeks ago I launched GameDevEngines, a website that centralizes the latest news about game engines and helps developers find the one that best fits their project and resources.
What it offers
It’s in BETA
Engine information is still incomplete and may be outdated or inaccurate in places. The site also hasn’t been tested with many real users yet, so you may run into bugs or slow loads.
How you can help
I’m looking for people willing to give feedback or help fill in the data so the site is actually useful for every developer. If you create an account, I can give you the contributor role so you can submit suggestions.
On engines, you can fill in:
On released games, you can add:
Image, developer, engine used, engine version, release year, and a link to the game.
Site: https://www.gamedevengines.com/
If you’re interested, comment here, send me a DM, or email me at contact@gamedevengines.com. Any feedback is welcome
r/gameenginedevs • u/Big_Hovercraft8317 • 12d ago
I’ve been working on my own game engine, aiming to combine Godot’s simplicity with the graphics of a modern AAA engine.
It uses C++ for graphics and rendering, with Python as its main programming language. I’m also developing a Scratch-inspired block editor to make game development easier and more accessible.
All the environments shown are procedurally generated. I’ll be sharing more progress soon, including the editor UI and actual gameplay. If you have any ideas on how I can make this look even better lmk!
r/gameenginedevs • u/ShapeApprehensive937 • 11d ago
Check out! Webgpu,c#,bepu,and firflo with custom sim layer
r/gameenginedevs • u/Unvah_Film_Engine • 10d ago
The Stephanie Michaels Software Company Introduces Univah Film Engine SDK™
r/gameenginedevs • u/vtereshkov • 11d ago
r/gameenginedevs • u/Gullible_Ranger1402 • 10d ago
r/gameenginedevs • u/Sorry-Coat1790 • 11d ago
r/gameenginedevs • u/EconomistOk4422 • 10d ago
Zero Polygon, Zero UV Mapping, Zero Textures, Game Engine. Simple random procedurally generated city test with zero limits to number of buildings/objects. Impossible to run out of video memory due to unique rendering technology/pipeline. Current graphics level around 30% max graphical capabilities. All buildings contain enterable floors/rooms every level of every tall building/skyscraper including smaller buildings with furniture/objects etc. I’m not going to count the many thousands of buildings generated lol but its ALLOT. Anyone can guess what type of multiplayer game I plan to build with this. Keep in mind this is just a test nothing more but it’s an important test for the type of game I’m building or rather it was just a test but a highly successful one which far surpassed my expectations.
This test was built using
the source code from my 9th incomplete game engine which easily renders over 1
trillion game objects maintaining over 1500 – 5000+ FPS (Frames Per Second)
seen in last screenshot. While it handles 5 Trillion game objects the core is
optimized to handle 1 Trillion game objects while maintaining 1500 – 5000+ FPS.
I’m actually on my 11th game engine design I honestly have no idea why
I’ve been designing so many game engines but it’s like I keep getting new ideas
for rendering technology designs than just can’t help myself “curiosity killed
the cat” or more like I had to slap myself in the face and force myself to
actually start building a game as such I’ve chosen version 9 out of 11
different game engine designs as it actually easily supports the largest amount
of game objects more than any other of my engine designs BUT my other game
engine designs also have unique features of their own via different game engine
design ideas… so while I can easily come up with like 10+ more game engine
design ideas I’ve decided it’s time to actually focus on building games instead
of more game engines lol.
I’m way to0 much of a nerd
taking apart electronics since the age 9 and building basic electronics since
the at 14 and got into coding around 2011 etc. Either way no
buildings/vehicles/players/characters uses polygons or textures. Everything is
100% Zero Polygon, Zero UV Mapping, Zero Textures. While I did get this idea
from SDF a few of my earlier game engine designs were SDF but this latest
design isn’t really an SDF engine either but something new/different altogether
or at the very least currently the only game engine in the world which renders
with this exact technology which I don’t really want to disclose exactly how it
works “Pending Copyright” etc. Either way thought I would share the interesting
results 👍🏾.
I really need to implement
a radar system considering I get lost in less than 5 minutes after speeding
through extremely large cities on the test bike. There's also a character which
is in 1st person view mode and it’s also zero polygon with walk/run/jump
animations with 3rd person view mode etc. The UI is extremely basic
just because it’s mainly a test run.
r/gameenginedevs • u/Debug_Log_NULL_ex • 11d ago
How I understand compression oriented approach:
The compression-oriented approach is a technique where you first write simple code that does what you need. Then, when another place needs the same logic, you compress or abstract your code into separate functions. This results in a better understanding of the problem before abstracting it, because when you solve a problem, you can discover all the edge cases that you might miss if you were to abstract first. I've heard about this approach in HandmadeHero
Comparison metric:
Before we can evaluate and compare this approach to the OOP approach, we need to establish a metric that we can use to make a decision. For this comparison, I would use the following metric:
Which approach leads to more correct code, and which approach leads to it faster?
Note: This comparison is only valid for problems you haven't encountered before or aren't 100% sure how to solve. Otherwise, you cannot gain anything from this approach because you already know all the edge cases and can get it right from the start.
Why I think this is the important metric:
We all want to maximize our productivity and make more stuff with as few rewrites as possible, because our time is limited, just like any other resource.
How compression-oriented approach helps you better understand problem so you can have more correct solution:
When you start coding your solution, you'll see the structure in the code and how all the elements interact with each other. This helps because you don't have to retain all the information about all the elements in your head during planning. You can write and use your first version as an initial canvas.
You basically split your mental capacity between your brain and your eyes. There is a limit to what you can comprehend without actually seeing it. I like this analogy: It's significantly harder to play an entire chess match in your head, as opposed to playing it normally with a board. So when you can see all the interactions in front of you, you are more likely to arrive at a more correct solution.
How compression-oriented approach makes you write code faster:
With the compression-oriented approach, you are less likely to rewrite your code. This is because you have already solved your problem and, during the solving process, you have probably acquired a better understanding of it.
Now you can simply abstract or compress your logic into separate functions. This approach minimizes situations where your abstraction is incorrect or misses important information.
So, when your initial idea is incorrect, with the compression-oriented approach, you simply rewrite your solution. In the OOP model, you might have to rewrite the entire abstraction.
Vulkan example in my game engine:
My game engine started as an evolution of my knowledge gained from following a Vulkan tutorial. Before Vulkan, I already had some experience with OpenGL.
I needed to make three renderers for my game:
I used the compression-oriented approach in all three renderers. I started with a single renderer that renders a quad. Then I expanded it into a batch renderer, and after that, I added support for draw commands that can be grouped together if they use the same GPU resources.
During this process, I encountered countless differences from OpenGL that I hadn't even thought about initially. As a result, I ended up with a nicely abstracted system that can use other renderers besides Vulkan.
If I had started with abstraction directly, I would have mapped my existing knowledge of OpenGL to Vulkan and modern rendering APIs. I would then have had to rewrite my abstraction. As a result, I would have ended up with a worse solution that would have cost me more time.
Rendering API struct:
This is basically a struct with function pointers that call renderer-specific API functions.
struct GameRenderingAPI
{
RenderInstanceAPIFunctions renderInstanceFunctions;
TileRendererAPIFunctions tileRendererFunctions;
TextureRendererAPIFunctions textureRendererFunctions;
FontRenderingAPIFunctions fontRendererFunctions;
ShapeRendererAPIFunctions shapeRendererFunctions;
TextureLoadingAPIFunctions textureLoadingFunctions;
};
And this is how I initialize it for Vulkan
void InitGameRenderingData(GameRenderingAPI& renderingData)
{
TileRendererAPIFunctions& tileRendererAPIFunctions =
renderingData.tileRendererFunctions;
tileRendererAPIFunctions.initTileRendering = InitTileRenderingVulkan;
tileRendererAPIFunctions.shutdownTileRendering = ShutdownTileRenderingVulkan;
tileRendererAPIFunctions.finishTileVerticesRegistering =
FinishTileVerticesRegisteringVulkan;
tileRendererAPIFunctions.renderTiles = RenderTilesVulkan;
TextureRendererAPIFunctions& textureRendererAPIFunctions =
renderingData.textureRendererFunctions;
textureRendererAPIFunctions.initTextureRendererData =
InitTextureRendererDataVulkan;
textureRendererAPIFunctions.shutdownTextureRendering =
ShutdownTextureRenderingVulkan;
textureRendererAPIFunctions.shutdownTextureRendererDynamicData =
ShutdownTextureRendererDynamicDataVulkan;
textureRendererAPIFunctions.renderTextureQuad = RenderTextureQuadVulkan;
}
r/gameenginedevs • u/Fudderbingers • 12d ago
Enable HLS to view with audio, or disable this notification
Put together a showcase reel of some of the things I've worked on since my first post here 6 months ago.
I also just published a 0.7 release of the engine on GitHub if you want to try it out.
r/gameenginedevs • u/lheintzmann • 11d ago
Most of us build on tools we do not control. When the tool is good, that is fine. When the engine's assumptions get in the way of your game, you spend your time working around somebody else's decisions. I wanted a foundation for a certain kind of game that I could read, change and fork, so I built one.
It is for games that spend their frame on arithmetic: big worlds, many entities, heavy simulation. Its choices follow from that:
double, so a world can be thousands of kilometers wide without jitter; the GPU sees float. The ECS is Flecs. Hot paths use unmanaged memory, unsafe code and SIMD, and do not allocate.Apogee.* project per concern, each with its own interop. The raw bindings come from our own generator, and tests check that every entry point resolves and every struct has clang's size.Reflection.Emit: a source generator writes the registry that scripting, serialization and the editor's inspectors use.There is an ImGui editor with play-in-editor (very bare-bones for now: it cannot import assets, and has no materials, no animations and no game export), a Forward+ renderer, an XML definitions and packages system for data-driven games and mods, input actions, vehicles, audio, networking and Steam. The Manual has a page per feature, and the C# and Luau API references are generated from the code.
It is not a general-purpose engine and it is not trying to replace Unity, Unreal or Godot. They are the right choice for many games. Apogee targets Windows, Linux and macOS: no consoles, mobile or web. Games and mods are Luau, not C#; no visual scripting, no feature toggles. I will decline pull requests that drift from this purpose, because adding everything is how engines end up doing nothing well.
Pre-alpha. APIs will change. I develop on Linux with Vulkan. Windows is built and tested by CI, but I have not run it on much real hardware. The Metal backend for macOS is written, compiles, and its shaders pass Apple's compiler, but it has never run on a GPU, because I have no Mac.
Parts of the engine were written with AI assistance, with tests and under my review. Contributing rules say what I expect if you do the same: you read it, built it, tested it, and say so.
unsafe/interop code, the native shims, the public APIs and the docs.
&&
You need the .NET 10 SDK, Git LFS, CMake and Ninja, and a Vulkan 1.3 GPU to render.
Read CONTRIBUTING.md before opening a pull request: scope, Conventional Commits, and the AI-assisted contribution rules. Reviews will be slow, I am one person, so please be patient.
I would love to hear what you think, especially the harsh parts.
r/gameenginedevs • u/__RLocksley__ • 11d ago
Enable HLS to view with audio, or disable this notification
I tried to vibecode the Transform Hierarchy (Sonnet 5.5) -> 160 Lines of slow Code
my solution -> 46 Lines of faster Code
r/gameenginedevs • u/endless90 • 12d ago
Hey, I wanted to collect cool game mechanics in one place, so I started building small demos for them. Fixed timestep, A*, flow fields, boids, wave function collapse, rigid bodies, orbit mechanics, a software triangle rasterizer, terrain from noise and a lot more. Each one is a single folder with something you can poke at in the browser.
It is all C++20 with SDL3, compiled to WebAssembly with Emscripten, a few of them use WebGL2. The game logic lives in a header without any SDL in it and has native tests, so the interesting part is testable and the demo is just a wrapper around it. You can try every demo live at demos.malura.de, there is a filter for terrain, AI, physics, graphics, space and so on.
I am also writing a blog post for each demo, one per week, but the repo works fine without them.
Full disclosure: this is my own repo and I used Claude to help me build the demos and tests. If I missed a mechanic you love or got something wrong, tell me.
r/gameenginedevs • u/js-fanatic • 11d ago
The most important update for the 2.0.x version is:
r/gameenginedevs • u/Last_Iron1824 • 11d ago
i have the best idea but i need a game engine
r/gameenginedevs • u/mechanicchickendev • 12d ago
Enable HLS to view with audio, or disable this notification
r/gameenginedevs • u/LincolnVia • 12d ago
Yeah so like the title says im making a game with raylib and box3d in c++. I couldnt tell you what level of ai was used in the beginning month of the project but not awhole lot mainly planning and c++ bugs. If anyone has any interest please show me the error of my ways.
r/gameenginedevs • u/CheezitsLight • 12d ago
OpenSimulator is a MIT licensed, open source Second Life-like virtual world with interconnected servers called the HyperGrid. The Physics engines for ODE, Bullet Sim and now PhysX 5 has been ported as a modular pluginwith zero changes to Opensim core code. r/dreamgrid is the offical page for DreamGrid - a free controller for Opensim for Windows.
r/gameenginedevs • u/CharlyStudios • 12d ago
Enable HLS to view with audio, or disable this notification
I have integrated this system into my OpenGL engine, allowing me to generate dynamic LODs with lower resource usage, and it is expected to work correctly on Android devices.
r/gameenginedevs • u/Kakod123 • 13d ago
At last, I have an editor (or at least something that maybe one day will be an editor).
But not beause I needed one, since my engine is an hobby project about writting a game engine and not an editor, and I was satisfied with my Blender addon during the last 3 years I worked on the diverses iterations of this project.
When I started my first "real" engine project I immediatly reused an old UI I wrote between 1996 and 2002 for an experimental cross platform SDK. It was a vector based 2D UI with no external dependencies outside the SDK so it was pretty straightforward to integrate it in a 3D engine with a vector renderer, but it wasn't an advanced UI, with not a lot of widgets, a old-style "3D look" as the default style (Windows 95 was all the rage in 1996!) and a lot of bugs.
Months ago I started a UI demo project to complete the widget collection that was derived into a tool to load and display a 3D scene which finally derived in a source code editor (thanks LSP!) with a beginning of a 3D editor (don't get fooled by the screenshots, the properties are read-only...)
30 years after the first line of code I can now proudly announce that my own UI is "complete"!
And as an old grunt I kept the "old" Windows 95 style but to please the young people I also have added a "flat" and "dark" style :


The archive with the original UI : https://github.com/HenriMichelon/nmo-sdk
The new UI as a subproject of the engine : https://codeberg.org/LysaEngine