🙃😉😌😃😆86 Collider 예제 :) https://github.com/eazuooz/WindowAPI/commit/31479a153c2e9b7ae3ef6882acc55d91ebc60bce Collider · eazuooz/WindowAPI@31479a1 Show file tree Showing 30 changed files with 281 additions and 70 deletions. github.com 충돌체크 충돌검사는 게임 오브젝트끼리 충돌이 일어났는지 검사하고 또 특정 처리를 하는 것을 말한다. 충돌 검사는 여러방식이 존재한다. Collider Collider 컴포넌트는 물리 충돌 처리를 위한 오브젝트를 의미합니다. 게임을 만드는 과정에서는 콜라이더가 우리눈에 보이면 편리하지만 실제로 게임이 서비스 될때는 콜라이더는 .. 2022. 9. 27. Component 예제 :) https://github.com/eazuooz/WindowAPI/commit/8ffba666f04241fcdc47b2d8305ecab441316e39 Component · eazuooz/WindowAPI@8ffba66 Show file tree Showing 22 changed files with 241 additions and 66 deletions. github.com 상속 구조 게임 오브젝트를 설계할때 가장 보편적인 구조는 상속을 이용한 계층 구조입니다. 가장 보편적으로 사용 되었던 오브젝트 계층 구조 설계에 대해 이야기를 해보려 합니다. 계층 구조 설계는 말 그대로 오브젝트가 하는 기능을 중심으로 계층을 만들어 설계를 하는 것입니다. Player, Monster, Prop의 공통된 부.. 2022. 9. 26. Path, Resource Load 예제 :) https://github.com/eazuooz/WindowAPI/commit/47fc7c2d8eba0b94d89daa121c7de9a8168b6db4 Path Resource Load · eazuooz/WindowAPI@47fc7c2 Show file tree Showing 12 changed files with 223 additions and 50 deletions. github.com 파일의 경로를 더 쉽게 가져와서 사용 할수 있도록 도와주는 클래스이다. 아직 구현은 덜 되어있지만 앞으로 경로관련한 처리는 이쪽 클래스를 이용해 처리 할 것이다. class Paths { public: Paths(); ~Paths(); private: static wchar_t mPath[256]; }; 리.. 2022. 9. 22. Resources, Brush, Pen 예제 :) https://github.com/eazuooz/WindowAPI/commit/a00f3fe492d614384f7550671b84e0e137e2698b Resources Pen Brush · eazuooz/WindowAPI@a00f3fe Show file tree Showing 15 changed files with 232 additions and 27 deletions. github.com WinAPI에서 Pen과 Brush를 사용하고 항상 원래 hdc에 세팅되었던 Old객체로 다시 바꿔주는 번거로움이 있었다. 그래서 Pen Brush 클래스를 만들고 소멸자에서 자동으로 이전 객체로 전환해주는 작업을 추가 해주었다. struct Pen { private: HDCmHdc; HPENmOldPen.. 2022. 9. 20. Double Buffering 예제 :) https://github.com/eazuooz/WindowAPI/commit/d17c2e8e757274a803f76cb94fb4bb7feee67504 Duble Buffering · eazuooz/WindowAPI@d17c2e8 Show file tree Showing 13 changed files with 181 additions and 18 deletions. github.com 우리 프레임워크에는 문제점이 하나 있다. 우리가 비트맵 배경 이미지 그림을 그리는 작업은 그림을 읽는 작업에 비해 훨씬 느리다는 단점이 있다. 또한 실시간으로 지워주고 다시 그리고 지워주고 다시그리고를 반복하다 보면 깜빡거림 현상이 일어나게 된다. 이러한 Flicking 현상을 해결하기 위해 더블 버퍼링을 사용한.. 2022. 9. 19. Input 예제 :) https://github.com/eazuooz/WindowAPI/commit/7e41da72605d73d8e695940704de8764fb165f3a Input Manager · eazuooz/WindowAPI@7e41da7 Show file tree Showing 12 changed files with 182 additions and 22 deletions. github.com 지금까지의 키 입력에는 단순하게 키보드를 누른것에 대한 처리만 진행하였다. 하지만 게임에서는 조금 더 다양한 경우의 입력을 고려해야한다. 1. 키가 눌려있을때 2. 키가 내려갔을때 3. 키가 올라왔을때 그래서 우리는 이 것을 관리해줄 인풋 매니저라는 클래스를 설계 할 것이다. enum class KEY_CODE { .. 2022. 9. 15. 이전 1 ··· 6 7 8 9 10 11 12 ··· 15 다음