How godotengine/godot works
Godot is a cross-platform 2D/3D game engine with a unified editor. The principal workflow is a user creating a game in the editor, running it through the engine, and exporting it to a target platform. Major product areas represented here include editing, animation, asset acquisition, debugging, rendering, and export, alongside core runtime services. The README documents the product workflow and export capability; most implementation relationships are not shown in the supplied excerpts, so unverified links are dashed and have no evidence path.
Main entry points: scene_tree.h Scene runtime · editor_node.h Godot editor · main.cpp Engine startup · rendering_server_globals.h Rendering server
Components 23
Game authoring
- Godot editor
editor/editor_node.h - Scene and project editing
editor/docks/filesystem_dock.cpp - Animation tools
editor/animation/animation_player_editor_plugin.cpp - Asset library
editor/asset_library/asset_library_editor_plugin.cpp - Editor debugger
editor/debugger/debugger_editor_plugin.cpp
Engine runtime
- Engine startup
main/main.cpp - OS abstraction
core/os/os.h - Engine settings and timing
core/config/engine.cpp - Project settings
core/config/project_settings.h - Resource loading
core/io/resource_loader.h - Object and callable model
core/object/object.h - Runtime debugger
core/debugger/engine_debugger.cpp - Display and input
servers/display/display_server.h - Scene runtime
scene/main/scene_tree.h - 2D physics
servers/physics_2d/physics_server_2d_manager.cpp - 3D physics
servers/physics_3d/physics_server_3d_manager.cpp - Navigation
servers/navigation_3d/navigation_server_3d_manager.cpp
Rendering
- Rendering server
servers/rendering/rendering_server_globals.h - Rendering device renderer
servers/rendering/renderer_rd/storage_rd/texture_storage.cpp - OpenGL renderer
drivers/gles3/storage/texture_storage.cpp
Platform delivery
- Platform export
editor/export/export_template_manager.cpp - Export platform
Other components
- Game developer
Connections 21
- Game developer → Godot editor: authors in
README.md - Godot editor → Scene and project editing: provides editing
- Godot editor → Animation tools: provides tools
- Godot editor → Asset library: offers assets
- Godot editor → Editor debugger: provides debugging
- Game developer → Engine startup: runs game
- Engine startup → OS abstraction: initializes platform
main/main.cpp - Engine startup → Scene runtime: starts runtime
main/main.cpp - Scene runtime → Resource loading: loads resources
- Scene runtime → Display and input: uses display
- Scene runtime → 2D physics: uses physics
- Scene runtime → 3D physics: uses physics
- Scene runtime → Navigation: uses navigation
- Engine settings and timing → Project settings: uses settings
core/config/engine.cpp - Engine settings and timing → Object and callable model: exposes engine APIs
core/config/engine.cpp - Engine startup → Runtime debugger: enables debugging
- Scene runtime → Rendering server: submits rendering
- Rendering server → Rendering device renderer: uses renderer
servers/rendering/renderer_rd/storage_rd/texture_storage.cpp - Rendering server → OpenGL renderer: uses renderer
- Game developer → Platform export: exports game
README.md - Platform export → Export platform: produces build
README.md