How pardcode/cpp-3d-game-tutorial-series works
• Game System / Entity Management – Represent modules such as CXGame, CXEntity, and derived classes (e.g., CameraEntity, MeshEntity, LightEntity). These components handle game logic, entity creation, and event callbacks.
• Graphics Engine – Highlight components managing rendering including CXGraphicsEngine, CXShader, CXSwapChain, constant buffers, vertex/index buffers, and the use of DirectX 11. Also include shaders found in the assets directory (HLSL files) as key parts.
• Resource Management – Include components found under Resource (CXResourceManager, CXMaterial, CXMesh, CXTexture, etc.) that load and manage game assets.
• Windowing System – Represent the CXWindow module that encapsulates native windows and event handling.
• Math Utilities – Indicate modules in the Math directory (e.g., CXVec2, CXVec3, CXMat4) that are used across the engine for transformations and calculations.
• Samples / Example Projects – Show that the framework is extended with sample projects (SpaceShooterGame, EmptyProject) which depend on the framework libraries (illustrating the separation between framework core and applications built using it).
Relationships and Interactions
• The Game System uses input from the Input Manager and data from the Resource Manager.
• The Windowing System provides the rendering context and handles system events that propagate to the Input Manager.
• That the Resource Manager loads assets (shaders, textures, meshes) from the assets folder and feeds into the Graphics Engine and Game System.
Architectural Patterns and Design Principles
• Modular separation seen in the file structure, suggesting a loosely coupled design—each major subsystem (Game, Graphics, Input, Resource, Window) being a distinct component.
• Event-based logic in the Game System (with callbacks like onCreate and onUpdate) and the use of templating to create and manage entities.
• That the project is designed with low-level control in mind, which is why every component has its own dedicated directory and API.
Relevant Technologies and Frameworks
• C++ 17 – Emphasize that the project uses modern C++ standards.
• DirectX 11 – Mark this as the graphics API powering the rendering engine.
• Visual Studio Build Tools – Since the project includes Visual Studio solution files (.sln, .vcxproj) use this to underscore the development environment.