A modern C++20 game engine & editor focused on performance, flexibility, and real-time workflows.
Honey Editor is a high-performance, modern game engine and editor written in C++20, designed for:
- real-time rendering experimentation
- building tools and editor workflows
- learning and pushing modern graphics APIs (OpenGL + Vulkan)
It combines a custom rendering engine, ECS architecture, and a fully interactive editor into a cohesive development environment.
- Batch-rendered 2D engine (quads, circles, lines, textures)
- EnTT-powered ECS for cache-friendly performance
- Full editor UI with scene hierarchy & inspector
- ImGuizmo integration for professional transform controls
- Hot-reload shaders & fast iteration workflow
- Scene serialization (YAML)
- Audio (SoLoud) + Physics (Box2D)
| Feature | Status |
|---|---|
| Vulkan Backend | ✅ Stable |
| OpenGL Renderer | |
| Editor Tools | ✅ Functional |
| ECS / Scene System | ✅ Stable |
| Linux Support | ✅ Primary |
| Windows Support | ✅ Working |
- Multi-Backend Architecture: Seamless* support for Vulkan and OpenGL 4.5 (WIP) backends.
- Batch Renderer 2D: Highly optimized batch rendering for quads, circles, and lines with support for textures and sub-textures.
- High Performance 3D: Features both Deferred and Path Traced rendering, with the path tracer using a wavefront architecture.
- Advanced Camera Systems: Orthographic and Perspective cameras with a dedicated Editor Camera featuring smooth interpolation and orbit/pan controls.
- Shader Management: Sophisticated shader cache and hot-reloading capabilities.
- Framebuffer System: Flexible multi-attachment framebuffers for post-processing and mouse picking.
- Driven by EnTT: Leveraging the industry-standard EnTT library for maximum cache-friendly performance.
- Flexible Components: Built-in support for Transforms, Sprite Renderers, Circle/Line Renderers, Cameras, and Physics.
- Native Scripting: Bind C++ classes directly to entities for high-performance logic.
- Scene Serialization: Save and load entire worlds using a robust YAML-based serialization system.
- 2D Physics: Integrated Box2D engine with support for rigid bodies, various body types (Static, Dynamic, Kinematic), and multiple collider shapes (Box, Circle).
- Physics Debug Draw: Real-time visualization of physics colliders and contact points.
- Audio System: Integrated audio support via SoLoud for spatial and non-spatial sound.
- Visual Scene Hierarchy: Intuitive tree-based entity management with drag-and-drop parenting.
- Property Inspector: Real-time modification of component data with support for math expressions and color pickers.
- Content Browser: Filesystem-integrated asset management with thumbnail support.
- ImGuizmo Integration: Professional-grade viewport gizmos for intuitive translation, rotation, and scaling of entities.
- Profiling & Debugging: Integrated instrumentation for performance bottleneck analysis and log visualization.
- Core: C++20, CMake 3.16+
- Graphics: OpenGL 4.5 / Vulkan, GLFW 3.3, GLM
- UI: ImGui, ImGuizmo
- Systems: EnTT (ECS), Box2D (Physics), SoLoud (Audio)
- Utilities: spdlog (Logging), yaml-cpp (Serialization), stb_image (Textures)
- C++20 Compiler: MSVC 2019+, GCC 11+, or Clang 12+.
- CMake: version 3.16 or higher.
- Vulkan SDK: Required if building with Vulkan support.
- Linux: Primary supported platform. Requires development headers for X11/Wayland (e.g.,
libx11-dev,libxcursor-dev,libxinerama-dev,libxrandr-dev,libxi-dev).ccacheis highly recommended. - Windows: Requires MSVC 2019+ / Visual Studio 2022, standard Windows SDKs, and the Vulkan SDK if Vulkan support is enabled.
- macOS: Experimental / WIP. Support is currently lacking and the project likely will not build. Requires Cocoa and Metal frameworks.
Ensure you clone with submodules if any are used (though most dependencies are vendored directly in Honey/vendor and Honey/engine/vendor):
git clone https://github.com/treybertram06/Honey_Editor.git --recurse-submodules
cd Honey_EditorHoney uses a standard out-of-source CMake workflow.
Warning
Windows and macOS support are still limited. Linux is the primary development environment.
Use CMAKE_BUILD_TYPE with Ninja or Makefiles:
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=DebugWhen generating a Visual Studio solution, do not use CMAKE_BUILD_TYPE. Visual Studio is a multi-config generator, so the configuration is selected at build time instead.
cmake -S . -B build -G "Visual Studio 17 2022"This will generate a Visual Studio solution in the build directory.
cmake --build build --target Honey_Editor -j$(nproc)Build the Debug configuration explicitly:
cmake --build build --config Debug --target Honey_EditorIf opening the solution in Visual Studio:
- Open
build/Honey_Editor.sln - Set configuration to Debug or Release
- Build the Honey_Editor project
The editor can be run from any working directory. It opens the project passed with --project <folder>, else the last-opened project, else a welcome window where you can create or open one.
./build/Honey_Editor.\build\Debug\Honey_Editor.exeIf configured using Ninja instead of Visual Studio:
.\build\Honey_Editor.exe- Honey_Editor – Primary desktop editor application.
- application – Minimal sandbox environment for testing engine features without editor overhead.
If building Vulkan-enabled code on Windows, install the Vulkan SDK and ensure the VULKAN_SDK environment variable is available in the shell or IDE session used for CMake.
-
Ninja / Unix Makefiles
- Single-config
- Uses
CMAKE_BUILD_TYPE
-
Visual Studio
- Multi-config
- Uses
--config Debugor--config Release
Generate Visual Studio solution:
cmake -S . -B build -G "Visual Studio 17 2022"Build Debug:
cmake --build build --config Debug --target Honey_EditorBuild Release:
cmake --build build --config Release --target Honey_EditorOnce the build is complete, launch the editor from any directory (optionally with --project <folder>):
# Linux/macOS
./build/Honey_Editor
# Windows (if using MSVC generator)
./build/Debug/Honey_Editor.exe- Honey_Editor: The primary desktop application with full editor capabilities.
- application: A minimal sandbox environment for testing engine features without the editor overhead.
Honey/: The core engine codebase.engine/: Main framework including Renderer, ECS, and Platform abstraction.vendor/: Core engine dependencies (Box2D, yaml-cpp, etc.).
src/: Source code for the Honey Editor application.engine_content/: Engine content every game needs (shaders, frame graphs, default fonts/textures).resources/: Editor-only resources (icons, default layouts).
Games are projects kept outside this repo: a portable folder with a <Name>.honeyproj file, Assets/ (scenes, prefabs, models, textures, audio) and Scripts/ (C# UserScripts.csproj). Create one with File → New Project in the editor; run one with Honey_Runtime --project <folder>.
README assisted by ChatGPT 🤖 (because writing docs is harder than writing engines)
