Skip to content
exit-code-01Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Forge

CI

A from-scratch(ish) C++20 3D game engine, built solo and in public. Development is documented as a YouTube devlog — every phase ships something that compiles, runs, and is worth talking about on camera.

Build

cmake -B build
cmake --build build
./build/bin/forge_sandbox

Linux build prerequisites (GLFW's X11/Wayland backends need these; GLFW/GLM themselves are fetched by CMake, and macOS/Windows need nothing extra):

sudo apt install xorg-dev libwayland-dev libxkbcommon-dev wayland-protocols

Layout

  • engine/ — the engine itself: a static library. Public API lives under engine/include/forge/; private implementation under engine/src/. Consumers only ever include forge/… headers.
  • sandbox/ — a thin consumer executable that links the engine. Proving ground for the public API.
  • editor/ — arrives at P7.
  • cmake/ — shared build modules (warning flags, etc.).

Roadmap

  • P0 Scope, repo, CMake build system — ✅ done
  • P1 Platform layer: window, input, logging, math, ECS core — ✅ done
  • P2 Renderer core: Vulkan init, swapchain, first triangle — ✅ done
  • P3 PBR forward renderer: texturing, basic lighting/shadows — ✅ done
  • P4 Physics: Jolt integration, collision, rigidbodies — ✅ done
  • P5 Asset pipeline: model/texture import, hot reload — ✅ done
  • P6 Scripting: Lua bindings — ✅ done
  • P7 Editor: scene hierarchy, inspector, gizmos (Dear ImGui) — ✅ done
  • P8 Animation (keyframe; skinning deferred), particles, audio — ✅ done (lean, ADR-020)
  • P9 Networking basics (optional)
  • P10 Polish, docs, sample game, public release

Status

VAULT (the sample game) is playable start to finish: tutorial + ten puzzle rooms of plates, lasers, glass, a parkable companion drone, checkpoints, menus, settings, and save/continue (ADR-026). The week-11 character pass (ADR-027) replaced the grey boxes that mattered: procedurally generated OBJ models (crates, plates, vault doors, laser rigs — tools/gen_models.py), SPARK as a body + eye rig that banks, watches you, and answers commands with motion, and UNIT-7's first-person gravity glove with throw/grab animation driven by anim::Clip's new euler rotation curves. Character animation is rigid-rig by design — every VAULT character is a machine; skinning stays deferred until an organic character exists. Engine seams that landed on the way: a model registry (forge.scene.spawn(..., mesh)), forge.scene.setRotation, and Audio::setMasterVolume.

Vulkan SDK

Building Forge does not require the Vulkan SDK — volk loads the Vulkan loader at runtime, and the Vulkan headers are fetched by CMake. Installing the LunarG Vulkan SDK is recommended for development, though: it provides the VK_LAYER_KHRONOS_validation layer, which debug builds enable automatically when present (see ADR-009). Without it the engine still runs — it just logs that validation is off.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages