Skip to content

simplistic & performance oriented 3d game engine, less generalization/abstractions -> more fun & focus.

Notifications You must be signed in to change notification settings

inanevin/stakeforge

Repository files navigation

stakeforge_engine

License GitHub issues GitHub repo size

Stakeforge is my on-going new engine project, it's successor to Lina Engine.

This time I'm focusing on developing extremely-fast, performance oriented engine framework, that tries to generalize/abstract less functionality than before. Idea is:

  • non-existing or minimal/simplistic editor, as custom editor development in Lina has been my biggest time consumer.
  • less platform support -> less time spent on maintainence, ditching Vulkan and Metal support and effectively MacOS (at least until stuff is more feature-complete).
  • production friendly workflow, fast shader & gltf pipelines.
  • project oriented, no custom build systems and project management tools, no scripting and C++ hot-reloading attempts. idea is simply copy&paste engine code and implement the game.
  • performance: data-oriented design, little to no runtime dynamic memory allocations. minimal abstractions & focus on data design, memory layout and cache utilization.

Alt running 1.42 ms median cpu time calculating 1024 characters with total of 50K+ bones ✌️

At the moment we have:

  • ok first of all a lot of stuff is missing, couple compremises here and there that will be fixed, but;
  • DoD entity & component system, supporting all the basics.
  • DoD resource management, aimed at no-hastle hot-reloading and simplicity.
  • basic components, audio, physics, lights etc.
  • Jolt physics integration.
  • Miniaudio based simple audio system.
  • proper game loop, variant delta based or fixed-timesteps with interpolation, along with Tracy profiler integration and custom in-engine frame-time tracking and memory tracking.
  • very fast animation graph supporting state machines, transitions, 1D/2D blending, joint masking etc.
  • bunch of platform, io, serialization, input, memory and other pipelinining utilities.
  • pretty cute PBR renderer running on DX12 on windows;
    • Runs a deferred pipeline using prepass depth.
    • Supports full GLTF PBR workflow.
    • Point, spot and directional lights.
    • Traditional shadows for point and spots, cascaded shadow maps for directional lights.
    • Physically-correct bloom running on compute.
    • Half-res HBAO and upsampling in compute shaders.
    • Basics for Post-FX pipeline.
    • GUI & canvas rendering for game-world.
  • DoD vector-graphics & widget system integrated into the engine.
  • very cute retro-aesthetics debug console.

Misc

stuff is constantly under development, I am seeing what's needed on the way, but idea is to put an open-source game(s) out there as soon as possible before making big plans :) Please do hit up the discussions and issues! and note that there are still some stuff in the engine that "defies" the premise of the engine, the foundation is not complete yet, but getting there gracefully!

building/project

CMake based build system, tested on variety of MSVC versions, using C++23 features, should be straightforward on Windows. Can be made to run on Clang easily with couple of tweaks. only Win32 platform backend for now, rendering requires DX12 support with Shader Model 6.6 and above.

vendor

Copyright [2025-] Inan Evin

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

   1. Redistributions of source code must retain the above copyright notice, this
      list of conditions and the following disclaimer.

   2. Redistributions in binary form must reproduce the above copyright notice,
      this list of conditions and the following disclaimer in the documentation
      and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.

About

simplistic & performance oriented 3d game engine, less generalization/abstractions -> more fun & focus.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published