How seedyrom/stabby works
Project Type and Purpose
• This is a C++-based 2D game project (“Stabby”) composed of:
• A custom game engine (“STE”: Stabby Engine)
• A standalone game binary that uses the engine
• A lightweight level‐editing tool (“Editor”) built on the same engine
• Purpose: provide a platform‐independent, modern C++ game engine with ECS, rendering, audio, input, etc., plus tools to build and run a 2D hack-and-slash game.
File Structure
Top-level structure:
• build scripts & config: CMakeLists.txt, Makefile, conanfile.txt, BUILD.md, .github/workflows
• assets/ (maps, textures, audio, fonts)
• src/
– engine/ (core subsystems)
– editor/ (editor UI and entrypoint)
– game/ (game-specific code and entrypoint)
Engine subsystems (under src/engine):
• assets (async resource loading, asset manager)
• async (thread pool, lock-free queues)
• audio (engine, file loader, queue, manager, system)
• gui (portable dialogs, UI primitives)
• input (keyboard/mouse)
• rendering (window, shaders, textures, 2D batch renderer, fonts, camera)
• time (game timer)
• world (ECS, scene/map, serialization, quadtree)
README for Insights
• Core engine features: modern C++20/23, lock-free async, RAII, batch rendering, thread pool
• Dependencies: SDL2 (window/input), OpenGL (rendering), GLAD (loader), GLM (math), Conan (pkg mgr)
• Separate engine from game via CMake; reproducible multi-platform builds