Fundamental C++ techniques and concepts used in game development, ideal for beginners and intermediate learners.
When it comes to designing entities in game development, we inevitably need to discuss the ECS (Entity-Component-System) architecture. Although the term has become somewhat of a buzzword, I’d still like to briefly revisit it here. What Is ECS? ECS stands for Entity, Component, and System. It’s a highly efficient data-oriented…
I. Introduction I remember for a long time when I first started learning to program, a project would typically have just one main.cpp file. Everything was crammed into it: global variables, window creation, resource loading, logic processing, and rendering output. While such code could run, as the project's scale grew…
I. Foreword Whether to use procedural or object-oriented programming is indeed a problem, especially for beginners. Procedural code is straightforward and simple in its flow. It also doesn't require a lot of prior design; you can just do things as you think of them. However, as a project expands rapidly,…