How kazade/simulant-engine works
Main Components Identification
The system should be divided into these major components:
a) Core Engine Layer
• Platform Abstraction
• Memory Management
• Threading System
• Asset Management
• Event System
b) Rendering System
• Multiple Renderer Implementations (GL1x, GL2x, PSP)
• Material System
• Texture Management
• Shader Management
c) Scene Management
• Scene Graph
• Stage Nodes
• Actor Management
• Camera System
• Lighting System
d) Physics & Animation
• Physics Engine (Bounce integration)
• Animation System
• Particle System
e) Input/Output
• Input Management
• Audio System
• File System (VFS)
• Resource Loading
f) UI System
• Widget Framework
• Screen Management
• Viewport Management
[Platform Layer (Windows/Linux/Dreamcast/PSP/Android)]
• ↑↓
[Core Systems Layer]
• ↑↓
[Engine Services Layer]
• ↑↓
[Game Systems Layer]
• ↑↓
[Application Layer]
Connection Types
• Double lines: Data flow
[Asset Loaders] → [Asset Manager] → [Resource Cache]
• ↓ ↓
[File System] ← [Virtual File System]
[Scene Graph] → [Renderer] → [Platform GL/Graphics]
• ↓ ↓
[Mesh Data] → [Material System]
[Physics World] → [Collision System]
• ↓
[Physical Bodies] → [Scene Nodes]
Important Relationships
• Platform abstraction layer interfacing with different OS/hardware
• Asset management system's interaction with the VFS
• Rendering system's relationship with different graphics APIs
• Scene graph hierarchy and node management
• Input system's platform-specific implementations
• Sound system's integration with OpenAL