How to Design a Scalable Entity Class for Games

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…

Continue ReadingHow to Design a Scalable Entity Class for Games
detailed_guide_to_installing_sdl_on_windows_linux_and_macos
detailed_guide_to_installing_sdl_on_windows_linux_and_macos

A Detailed Guide to Installing SDL on Windows, Linux, and macOS

1. Introduction SDL (Simple DirectMedia Layer) is a powerful, cross-platform multimedia development library. It's widely used in game development, emulators, and visualization software. SDL provides a unified interface for developers to access core functionalities like graphics rendering, audio output, and input from keyboards, mice, and game controllers. This guide will…

Continue ReadingA Detailed Guide to Installing SDL on Windows, Linux, and macOS

From Small Projects to Large-Scale Games: Organizing C++ Game Code Modules

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…

Continue ReadingFrom Small Projects to Large-Scale Games: Organizing C++ Game Code Modules

C++ Programming Paradigms and Mindsets in Game Development

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,…

Continue ReadingC++ Programming Paradigms and Mindsets in Game Development