{"id":16204106,"url":"https://github.com/aras-p/dod-playground","last_synced_at":"2025-04-07T10:26:28.970Z","repository":{"id":56216875,"uuid":"149614887","full_name":"aras-p/dod-playground","owner":"aras-p","description":"Sample OOP/ECS/DOD project (C++) for an internal Unity lecture in 2018","archived":false,"fork":false,"pushed_at":"2020-11-20T00:53:18.000Z","size":289,"stargazers_count":375,"open_issues_count":1,"forks_count":45,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-05T00:47:52.121Z","etag":null,"topics":["cplusplus","data-oriented-design","entity-component-system"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aras-p.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-20T13:36:59.000Z","updated_at":"2025-04-03T06:29:07.000Z","dependencies_parsed_at":"2022-08-15T14:50:41.602Z","dependency_job_id":null,"html_url":"https://github.com/aras-p/dod-playground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aras-p%2Fdod-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aras-p%2Fdod-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aras-p%2Fdod-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aras-p%2Fdod-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aras-p","download_url":"https://codeload.github.com/aras-p/dod-playground/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247634205,"owners_count":20970484,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cplusplus","data-oriented-design","entity-component-system"],"created_at":"2024-10-10T09:56:32.954Z","updated_at":"2025-04-07T10:26:28.950Z","avatar_url":"https://github.com/aras-p.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dod-playground\n\nSample OOP/ECS/DOD project (C++) for an internal Unity lecture in 2018, aimed at junior/future engineers.\n\nThis is a super-simple C++ \"game\" _(just a bunch of sprites moving around with very small amount of logic really)_ I made to\nshow how one might go from a very traditional OOP style GameObject/Component based code to an ECS _(Entity Component System)_ /\nDOD _(Data Oriented Design)_ based code. In the process making it run 10x faster, initialize 5x faster, and saving 100MB of memory\nin the process.\n\nTalk [**slides are here**](http://aras-p.info/texts/files/2018Academy%20-%20ECS-DoD.pdf) _(10MB pdf)_.\n\nThe app playground should work on Windows (uses D3D11, VS2017 project in `projects/vs2017/dod-playground.sln`) and\nmacOS (uses Metal, Xcode 9 project in `projects/xcode/dod-playground.xcodeproj`).\n\nI used some excellent other libraries/resources to make life easier for me here:\n\n* [Sokol](https://github.com/floooh/sokol) libraries for application setup, rendering and time functions. zlib/libpng license.\n* [stb](https://github.com/nothings/stb) library for image loading. mit/unlicense license.\n* Sprites used by \"the game\" I took from Dan Cook's [Space Cute prototyping challenge](http://www.lostgarden.com/2007/03/spacecute-prototyping-challenge.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faras-p%2Fdod-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faras-p%2Fdod-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faras-p%2Fdod-playground/lists"}