{"id":27944906,"url":"https://github.com/devslem/d2dsimplesurvivalgame","last_synced_at":"2025-05-07T12:55:05.948Z","repository":{"id":37389803,"uuid":"504286054","full_name":"DevSlem/D2DSimpleSurvivalGame","owner":"DevSlem","description":"Simple survival game using Direct 2D API","archived":false,"fork":false,"pushed_at":"2022-06-22T13:26:53.000Z","size":55826,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T12:55:00.212Z","etag":null,"topics":["direct2d","game-2d","game-dev","survival-game"],"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/DevSlem.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":"2022-06-16T19:46:11.000Z","updated_at":"2022-10-23T07:57:27.000Z","dependencies_parsed_at":"2022-09-15T00:11:16.417Z","dependency_job_id":null,"html_url":"https://github.com/DevSlem/D2DSimpleSurvivalGame","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/DevSlem%2FD2DSimpleSurvivalGame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevSlem%2FD2DSimpleSurvivalGame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevSlem%2FD2DSimpleSurvivalGame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevSlem%2FD2DSimpleSurvivalGame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevSlem","download_url":"https://codeload.github.com/DevSlem/D2DSimpleSurvivalGame/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252882789,"owners_count":21819154,"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":["direct2d","game-2d","game-dev","survival-game"],"created_at":"2025-05-07T12:55:05.182Z","updated_at":"2025-05-07T12:55:05.941Z","avatar_url":"https://github.com/DevSlem.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# D2DSimpleSurvivalGame\n\n[Direct 2D](https://docs.microsoft.com/ko-kr/windows/win32/learnwin32/your-first-direct2d-program) API를 사용하여 만든 간단한 게임이다. 게임은 적들을 피해 오래동안 살아남으면 되는 간단한 게임이다.\n\n![](Images/d2d-simple-survival-game.webp)\n\n#### 조작 방법\n\n* 이동: WASD\n* 음량 조절: up/down key\n* 음소거: P\n* 적 공격: Mouse Click\n\n#### Platform\n\n* Windows\n\n## Implementation\n\n[Unity](https://unity.com/kr)와 유사한 시스템을 구축하였다. Component와 Game Object 기반으로 동작한다. 충돌 시스템은 AABB collision 기반이다. 렌더링은 `Update`에서 물리 처리는 `FixedUpdate`에서 수행된다. 엔진을 구성하는 주요 class는 아래와 같다.\n\n* Transform \n* GameObject\n* Component\n* Rigidbody\n* RectCollider\n* Renderer\n\n위 시스템은 `D2DEngine` 프로젝트에 구현되어있다.\n\n## Asset References\n\n게임 개발에 사용된 Asset 출처는 아래와 같다.\n\n### Image References\n\n* [background](https://wallpapersafari.com/w/EXVgK1)\n* [cannon](https://www.flaticon.com/kr/free-icon/cannon_1973575#)\n* [cannon-bullet](https://opengameart.org/content/bullets-game-asset)\n* [ghost](https://www.pngegg.com/en/png-zedgi)\n\n### Sound References\n\n* [background](https://seo6285.tistory.com/212)\n* [cannon-fire](https://soundeffect-lab.info/)\n* [heavy-attack](https://soundeffect-lab.info/)\n* [light-attack](https://soundeffect-lab.info/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevslem%2Fd2dsimplesurvivalgame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevslem%2Fd2dsimplesurvivalgame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevslem%2Fd2dsimplesurvivalgame/lists"}