{"id":18407635,"url":"https://github.com/practical-works/unity2d-prototype","last_synced_at":"2025-10-26T00:17:28.902Z","repository":{"id":248773666,"uuid":"600769364","full_name":"practical-works/unity2d-prototype","owner":"practical-works","description":"🎮 Sample 2D Platformer Game Unity Project.","archived":false,"fork":false,"pushed_at":"2023-03-25T21:41:56.000Z","size":31486,"stargazers_count":19,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-10T14:46:03.754Z","etag":null,"topics":["2d-devl","2d-game","2d-game-development","2d-platformer-game","game","unity","unity2d"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/practical-works.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-12T14:49:10.000Z","updated_at":"2025-07-11T14:00:36.000Z","dependencies_parsed_at":"2024-07-17T03:09:38.341Z","dependency_job_id":null,"html_url":"https://github.com/practical-works/unity2d-prototype","commit_stats":null,"previous_names":["practical-works/unity2d-prototype"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/practical-works/unity2d-prototype","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/practical-works%2Funity2d-prototype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/practical-works%2Funity2d-prototype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/practical-works%2Funity2d-prototype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/practical-works%2Funity2d-prototype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/practical-works","download_url":"https://codeload.github.com/practical-works/unity2d-prototype/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/practical-works%2Funity2d-prototype/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281040713,"owners_count":26434030,"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","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["2d-devl","2d-game","2d-game-development","2d-platformer-game","game","unity","unity2d"],"created_at":"2024-11-06T03:14:43.224Z","updated_at":"2025-10-26T00:17:28.885Z","avatar_url":"https://github.com/practical-works.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎮 Prototype \n\n[![Unity](https://img.shields.io/badge/Unity-2022.1.10f1-blue?logo=unity)](https://github.com/topics/unity)\n[![C#](https://img.shields.io/badge/C%23-9.0-blue?logo=c-sharp)](https://github.com/topics/csharp)\n\nThis is a sample **2D Platformer Game** unity project for learning and prototyping purposes.\u003cbr /\u003e\nIt features some basic 2D game stuff for unity.\n\n![Screenshot0](./Screenshot0.gif)\n![Screenshot1](./Screenshot1.gif)\n![Screenshot2](./Screenshot2.gif)\n\n## 🎯 Objectives\n\n- [x] **🚀 Movement:**\n    - [x] **🏃 Platformer Movement _using [Physics 2D](https://docs.unity3d.com/Manual/Physics2DReference.html)_:**\n        - [x] Horizontal Movement.\n        - [x] Vertical Movement (Jump).\n    - [x] **🎞️ Movement Animations _using [Animator](https://docs.unity3d.com/Manual/AnimatorWindow.html) Parameters_.**\n    - [x] **🎞️ Movement-Dust-Effects Animations _by [Instantiating Objects](https://docs.unity3d.com/ScriptReference/Object.Instantiate.html) and using [Animator](https://docs.unity3d.com/Manual/AnimatorWindow.html) States Names_.**\n\n- [x] 🔌 **Mechanism:**\n    - 🚪 **Switches and Doors Mechanism:**\n        - [x] Switch for Multiple Doors.\n        - [x] Door for Multiple Switches.\n        - [x] Switch and Door Animations _by [Animating Transform Properties](https://docs.unity3d.com/Manual/animeditor-AnimatingAGameObject.html)_.\n\n- [x] 🤺 **Combat:**\n    - [x] **💥 Explosion Effect _using [Physics 2D](https://docs.unity3d.com/Manual/Physics2DReference.html)_.** \n    - [x] **🎞️ Damage Animations.**\n    - [x] **🏹 Projectile Throwing _by [Instantiating Objects](https://docs.unity3d.com/ScriptReference/Object.Instantiate.html)_ and _using [Animator](https://docs.unity3d.com/Manual/AnimatorWindow.html) Parameters_.**\n\n- [x] **🤖 Artificial Intelligence (AI):**\n    - **🏃 Automated Platformer Movement:**\n        - [x] Automated Horizontal Movement.\n    - [x] **👁️ Detections using _[Physics 2D LineCast](https://docs.unity3d.com/ScriptReference/Physics2D.Linecast.html)_:**\n        - [x] Wall Detection for Turning Round.\n        - [x] Floor Detection for Gap Avoidance.\n        - [x] Player Detection for Chase.\n    - [x] **🏹 Automated Projectile Throwing.**\n\n\n- [x] **🏕️ Environment:**\n    - [x] **🗺️ Map:**\n        - [x] Tile-Mapping _by [Nesting Objects](https://docs.unity3d.com/Manual/Hierarchy.html) (Classic)_.\n        - [x] Tile-Mapping _using [TileMap Components](https://docs.unity3d.com/Manual/class-Tilemap.html)_.\n    - [x] **🎥 Camera:**\n        - [x] Player-Follower Camera.\n        - [x] Smooth Camera Movement _using [Linear interpolation (Lerp)](https://en.wikipedia.org/wiki/Linear_interpolation)_.\n        - [x] Pixel Perfect Camera _using [Pixel Perfect Camera Component](https://docs.unity3d.com/Packages/com.unity.2d.pixel-perfect@4.0/manual/index.html)_.\n        - [x] Pixel Perfect Camera _using [Pixel Perfect Camera Component](https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@13.1/manual/2d-pixelperfect.html) of [Universal Render Pipeline (URP)](https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@13.1/manual/index.html)_.\n    - [x] **💡 Light:**\n        - [x] Lighting _using [Light Components](https://docs.unity3d.com/Manual/Lights.html) (3D)_.\n        - [x] Lighting _using [Light 2D Components](https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@13.1/manual/Lights-2D-intro.html) of [Universal Render Pipeline (URP)](https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@13.1/manual/index.html)_.\n    - [x] **📣 Audio _using [Audio Source Component](https://docs.unity3d.com/Manual/class-AudioSource.html)_:**\n        - [x] Background Music (BGM) with volume, pitch, and **looping** features _using [Audio Source Play](https://docs.unity3d.com/ScriptReference/AudioSource.Play.html)_.\n        - [x] Sound Effects (SFX) with volume, pitch, and **overlapping** features _using [Audio Source Play One Shot](https://docs.unity3d.com/ScriptReference/AudioSource.PlayOneShot.html)_.\n        - [x] Distance-Relative Audio _using 3D Sound Settings of [Audio Source Component](https://docs.unity3d.com/Manual/class-AudioSource.html)_.\n\n- [ ] **🔲 User Interface (UI):**\n    - [ ] **💯 Head-Up Display (HUD):**\n        - [ ] Health Bar.\n        - [ ] Score Counter.\n    - [ ] **🖼️ Title Menu:**\n        - [ ] 🚧 ...\n        - [ ] 🚧 ...\n        - [ ] 🚧 ...\n    - [ ] **⚙️ Settings Menu :**\n        - [ ] 🚧 ...\n        - [ ] 🚧 ...\n        - [ ] 🚧 ...\n\n## 🏭 Environment\n\n- Runtime: **[Windows](https://www.microsoft.com/en-us/windows) 10**\n- Game Engine: **[Unity](https://unity.com) 2022**\n- Scripts Language: **[C#](https://github.com/dotnet/csharplang) 9.0**\n- Scripts Editor: **[Visual Studio](https://visualstudio.microsoft.com) 2022**\n\n## 📚 Learning Resources\n\n- 📕 [Unity Documentation](https://docs.unity.com)\n- 📼 [Game Dev Beginner](https://www.youtube.com/@GameDevBeginner/videos)\n- 📼 [Unity 4 2D Essential Training](https://www.linkedin.com/learning/unity-4-2d-essential-training)\n\n## 📄 License\n[MIT](./LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpractical-works%2Funity2d-prototype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpractical-works%2Funity2d-prototype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpractical-works%2Funity2d-prototype/lists"}