How alexpineda/titan-reactor works
Main Components Architecture
The system should be represented with these primary components:
• Titan Reactor |
• ^ ^ ^
• UI Runtime | | Plugins | | Cascbridge |
• (iframe-based) | | | | (Asset Server) |
Core System Components (Detail Layer)
• Titan Reactor |
• OpenBW | | Three.js | | Plugin System | | Asset Management| |
• Integration | | Renderer | | | | | |
• Scene | | World | | Input | | Audio | |
• Management | | Composition | | Handling | | System | |
Data Flow Architecture
• Cascbridge | --> | Asset Loader | --> | Resource Manager|
• (SC Assets) | | | | |
• v
• OpenBW WASM | <- | Game State | <- | Renderer |
• Engine | | Management | | |
• v
• Plugin System | <- | UI Runtime | <- | User Input |
• (iframe) | | Processing |
Key Technical Elements to Highlight
• Blue: Core engine components (OpenBW, Three.js)
• Green: Asset management and loading
• Orange: Plugin system and UI components
• Purple: Input and state management
• WebGL/Three.js
• WebAssembly (OpenBW)
• File system interactions
• Network communications
Important Subsystems to Detail
• Plugin System |
• Plugin Host | | Plugin Registry | | Session Context | | UI Runtime | |
• Bridge | |
Asset Pipeline
• SC Assets | -> | Asset Server | -> | Asset Cache | -> | Renderer |
• (via Casc) | | (Cascbridge) | | (IndexedDB) | | |
• The separation between the core engine and plugin system
• The asset loading pipeline
• The communication between UI Runtime and main application
• The WebGL rendering pipeline
• The integration with OpenBW
• The plugin system's extensibility points