How bitenode/game-engine works
This repository is a C# 3D game engine with a visual editor and cross-platform player hosts. The main workflow is authoring a project and scene in the editor, composing GameObjects from behaviors and components, then running the scene through the player loop to render and simulate it. The graph also preserves major documented authoring and runtime capabilities. Relationships are grounded in the README or the shown source/index references; several subsystems are documented but their internal wiring was not sampled, so those links are omitted.
Main entry points: MainWindow.axaml.cs Visual Editor · Behavior.cs Behavior Lifecycle · PlayerBootstrap.cs Player Bootstrap · SceneService.cs Scene Service
Components 22
Editor Authoring
- Visual Editor
Game-Engine/MainWindow.axaml.cs - Inspector
Game-Engine/Views/InspectorPanel.axaml.cs - Project Service
Game-Engine/Core/ProjectService.cs - Scene Serialization
Game-Engine/Core/SceneSerialization.cs - Visual Blueprints
Game-Engine/Core/Blueprint/BlueprintFlowRuntime.cs - C# Scripting
Game-Engine/Core/ScriptCompiler.cs - Editor Extensions
Game-Engine/Core/Extensibility/ExtensionService.cs
Scene Runtime
- Scene Service
Game-Engine/Core/SceneService.cs - GameObject Model
Game-Engine/Core/GameObject.cs - Behavior Lifecycle
Game-Engine/Core/Behavior.cs - Player Bootstrap
Game-Engine/Core/PlayerBootstrap.cs
World and Rendering
- Render Pipeline
Game-Engine/Core/Rendering/GameRenderPipeline.cs - Planet System
Game-Engine/Core/Component/Environment/PlanetTerrain.cs - Physics and Collision
Game-Engine/Core/Physics/Physics.cs
Gameplay Systems
- Animation and IK
Game-Engine/Core/Component/Animation/Animator.cs - Audio and Mixer
Game-Engine/Core/AudioManager.cs - Runtime UI
Game-Engine/Core/Component/UI/Canvas.cs - Networking
Game-Engine/Core/Networking/NetworkManager.cs - Save System
Game-Engine/Core/SaveSystem/SaveManager.cs - Model Import
Game-Engine/Core/Importers/ModelImporter.cs
Player Hosts
- Player Hosts
Engine.Player/Program.cs
Other components
- Developer
Connections 21
- Developer → Visual Editor: authors in
- Visual Editor → Inspector: edits through
- Visual Editor → Project Service: manages projects
- Visual Editor → Scene Serialization: loads scenes
- Visual Editor → Visual Blueprints: authors graphs
- Visual Editor → C# Scripting: compiles scripts
- Visual Editor → Editor Extensions: loads extensions
- Scene Serialization → Scene Service: replaces scene
Game-Engine/Core/SceneService.cs - Scene Service → GameObject Model: holds roots
Game-Engine/Core/SceneService.cs - GameObject Model → Behavior Lifecycle: attaches behaviors
Game-Engine/Core/GameObject.cs - Player Hosts → Player Bootstrap: starts runtime
Engine.Player/Program.cs - Player Bootstrap → Scene Service: ticks behaviors
- Player Bootstrap → Render Pipeline: renders frames
- Player Bootstrap → Networking: updates network
- Planet System → Render Pipeline: supplies world
Game-Engine/Core/Rendering/GameRenderPipeline.cs - Scene Service → Save System: saves scene state
Game-Engine/Core/SaveSystem/SaveManager.cs - Behavior Lifecycle → Physics and Collision: uses collision
- Behavior Lifecycle → Animation and IK: hosts animation
- Behavior Lifecycle → Audio and Mixer: hosts audio
- Behavior Lifecycle → Runtime UI: hosts UI
Game-Engine/Core/Component/UI/Canvas.cs - Project Service → Model Import: imports models
Game-Engine/Program.cs