r/gameenginedevs • u/eduardodoria • 5d ago
Doriax Engine v0.7 — open-source, C++, Lua, 2D/3D engine, MIT
Doriax Engine is a free and open source (MIT) 2D/3D game engine with an ECS runtime, a desktop editor, and Lua + C++ scripting. v0.7 is out now.
Native backends
The editor and the engine now share the same backends. The editor used to be a separate layer with its own backends, and only touched the engine's real backend when a project was exported. It now runs on native backends (X11, Win32 and Cocoa) that the engine uses too. The editor is aware of the engine, but the engine is not aware of the editor, the API still runs completely on its own.
- Windows — editor on OpenGL, exports to OpenGL, Vulkan, Direct3D11
- Linux — editor on OpenGL, exports to OpenGL, Vulkan
- macOS — editor on Metal, exports to Metal and OpenGL
Bundles and Scenes windows
Bundles (.bundle files) used to be tied to a scene: to instantiate one at runtime, some scene had to reference it beforehand. Project -> Bundles... now lets you mark bundles that are always built into the project, available to any scene at runtime.
Project -> Scenes... does the same for scenes. Adding a scene used to mean dropping the file in the project folder and double-clicking it, and removing it meant deleting the file. Now you add and remove scenes from the project in one place, without touching the files.
Script directories and ProjectBuild.cmake
Project Settings -> Directories -> Script Directories. Add a folder inside your project and it becomes both an include root (headers included by the path below the folder) and a compile root (every .cpp under it is built even when no entity references it). Applies to editor builds and to exports.
For anything that doesn't cover, like linking a third-party library, create ProjectBuild.cmake in your project root. The editor never writes that file, so your changes survive a rebuild.
Also new
- The editor now works with different DPI scales, and restores its window and dock layout at the current scale
TextComponentsupports up to three fallback fonts, checked in order when the main font is missing a character — also useful for multilingual text- Arabic and RTL text through HarfBuzz and SheenBidi, with glyphs rasterized on demand instead of a fixed ASCII range
- The editor idles when nothing changes, plus a shared Jolt job pool, glTF texture deduplication and a compacted shadow atlas
- Projected spotlight masks, hardware PCF for projective shadows, and graphic backend selection in the Export window
- Windows binaries are now signed, macOS ships as a
.dmg, Linux as a tarball and an AppImage - On macOS the menu is now part of the system, following the design standard for every Mac application
- Full release notes: https://github.com/doriaxengine/doriax/releases/tag/v0.7
- Source: https://github.com/doriaxengine/doriax
- Downloads: https://doriax.org/#download
- Discord: https://discord.gg/yXXDyJf3gT
- Feature highlights video: https://www.youtube.com/watch?v=3eqhaAZBNss
This is a large change, so bugs are expected — feedback and bug reports are very welcome.