How randygaul/game_math_101 works
Core Engine Layer
• Represented by tigr.c and tigr.h
• Math Foundation
• Math_101.h as a core component
• As a parallel component to TIGR
Game Systems Layer
• Drawing System
• DLL Interface
• Dll.cpp and dll.h as a module for dynamic loading capabilities
• Routine System
• Routine.h for game loop management
Asset Management
• Art Resources
• .ase files (charge1, explosion, ship)
• As a top-level resource container
Use a Layered Architecture Approach
• Bottom Layer: Core Engine (TIGR + Math)
• Middle Layer: Game Systems
• Top Layer: Assets and Resources
Component Relationships
• Bidirectional relationships where appropriate
• [TIGR Graphics Library] <---> [Math 101 Module]
• [Drawing System] ---> [DLL Interface]
• ↑
• [Routine System]
• [Asset Container]
• ↓
• [Drawing System]
Documentation Notes
• A small note about the project's purpose (2D math demo)
• Reference the blog post connection
• Relevant build/compilation flows
• The simplicity and elegance of the design
• The clear separation between graphics, math, and game logic
• The asset pipeline flow
• The relationship between different systems