반응형

책의 소스 코드를 직접 작성해보면서 정리한 글입니다. (실습환경: windows)
책 소스 코드: GitHub - gameprogcpp/code: Game Programming in C++ Code
Chapter2의 주요한 내용은
'Actor - Component 기반으로한 게임 객체 설계' 방법이다.
실습 코드는 책 코드(깃허브)와 조금 다른 부분이 있다.
Chapter1에서도 차이가 있긴 했지만, 그 차이가 거의 없는 수준이었다면,
Chapter2에서는 실습에서 미구현 기능부터, 구현 방법 등 확연한 차이점이 존재한다.
Chapter2의 주요한 내용이 '컴포넌트 기반의 게임 객체' 구현이므로, 실습에서 발생한 차이점이 중요한 것 같지는 않다.
그래서 Chapter2는 이쯤에서 정리한다.
Chapter2 게임 객체 구조도(?)

반응형
'Game Programming in C++' 카테고리의 다른 글
| Game Programming in C++ Chapter2 - AnimationComponent (0) | 2025.09.06 |
|---|---|
| Game Programming in C++ Chapter2 - BGSpriteComponent (0) | 2025.09.06 |
| Game Programming in C++ Chapter2 - Sprite Component (0) | 2025.09.06 |
| Game Programming in C++ Chapter2 - Component (0) | 2025.09.06 |
| Game Programming in C++ Chapter2 - Actor (0) | 2025.09.05 |