Skip to content
프로젝트

소개

Sample OOP/ECS/DOD project (C++) for an internal Unity lecture in 2018

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

dod-playground

Sample OOP/ECS/DOD project (C++) for an internal Unity lecture in 2018, aimed at junior/future engineers.

This is a super-simple C++ "game" (just a bunch of sprites moving around with very small amount of logic really) I made to show how one might go from a very traditional OOP style GameObject/Component based code to an ECS (Entity Component System) / DOD (Data Oriented Design) based code. In the process making it run 10x faster, initialize 5x faster, and saving 100MB of memory in the process.

Talk slides are here (10MB pdf).

The app playground should work on Windows (uses D3D11, VS2017 project in projects/vs2017/dod-playground.sln) and macOS (uses Metal, Xcode 9 project in projects/xcode/dod-playground.xcodeproj).

I used some excellent other libraries/resources to make life easier for me here:

  • Sokol libraries for application setup, rendering and time functions. zlib/libpng license.
  • stb library for image loading. mit/unlicense license.
  • Sprites used by "the game" I took from Dan Cook's Space Cute prototyping challenge.

관련 프로젝트 살펴보기

불러오는 중…