How orgolis/c-engine-game works
GameWorldshaper is a Vulkan game engine paired with a project editor. The main creator workflow is to launch the editor, author a scene and assets, use Play to exercise the scene, then export a distributable game. Its runtime spans scene/ECS gameplay, rendering, physics, audio, scripting, and optional networking; editor extensions and the gws CLI are additional capabilities. The graph uses README-described capabilities and the sampled scene-playback code; unsampled subsystem internals and their call relationships are not inferred.
Main entry points: main.cpp Editor · scene.h Scenes and entities · scene_playback_manager.cpp Play mode · online_game.cpp Online sessions
Components 22
Editor authoring
- Editor
editor/src/main.cpp - Projects
editor/src/project.cpp - Scene authoring
editor/src/editor_scene.cpp - Terrain tools
editor/src/level_tools.cpp - Material graph
editor/src/material_graph_panel.cpp - VFX and timeline
editor/src/vfx_stack_panel.cpp - Editor extensions
editor/src/editor_extensions.cpp - Play mode
editor/src/scene_playback_manager.cpp
Game runtime
- Scenes and entities
engine/scene/include/scene.h - ECS gameplay
engine/core/ecs/world.h - Physics
engine/core/physics/physics_world.h - Deferred renderer
engine/renderer/include/deferred_renderer.h - Spatial audio
engine/core/audio/audio_engine.h - Scripting
editor/src/script_system.cpp
Content pipeline
- Asset import
engine/core/asset_pipeline/gltf_import.cpp - Cooked assets
engine/core/asset_pipeline/pak.h
Online play
- Online sessions
editor/src/online_game.cpp - Lobby and transport
engine/core/network/src/lobby_client.cpp
Export and tools
- Game export
editor/src/game_export.cpp - GWS CLI
tools/gws/main.cpp
Other components
- Creator
- Player
Connections 23
- Creator → Editor: authors in
README.md - Creator → Projects: launches project
README.md - Editor → Scene authoring: provides tools
README.md - Editor → Material graph: provides tools
README.md - Editor → VFX and timeline: provides tools
README.md - Editor → Terrain tools: provides tools
README.md - Editor → Editor extensions: loads extensions
README.md - Creator → Play mode: starts Play
README.md - Play mode → Scenes and entities: plays scene
editor/src/scene_playback_manager.cpp - Play mode → Physics: builds physics
editor/src/scene_playback_manager.cpp - Scene authoring → Scenes and entities: authors scene
README.md - Scenes and entities → ECS gameplay: uses gameplay ECS
- Scenes and entities → Deferred renderer: renders scene
- Scenes and entities → Spatial audio: spatializes audio
- Asset import → Cooked assets: cooks assets
README.md - Projects → Asset import: imports assets
- Creator → Game export: exports game
README.md - Game export → Player: packages game
README.md - Player → Online sessions: joins session
README.md - Online sessions → Lobby and transport: discovers lobby
README.md - Lobby and transport → Online sessions: relays connection
README.md - Creator → GWS CLI: runs commands
README.md - Scripting → Scenes and entities: controls entities