{"id":28042282,"url":"https://github.com/alberto-lazari/pang","last_synced_at":"2026-04-30T19:32:21.336Z","repository":{"id":291736422,"uuid":"978113955","full_name":"alberto-lazari/pang","owner":"alberto-lazari","description":"Simple 2D arcade shooter clone","archived":false,"fork":false,"pushed_at":"2025-07-08T17:03:48.000Z","size":1335,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-08T18:27:07.094Z","etag":null,"topics":["arcade","game-development","mobile","unity"],"latest_commit_sha":null,"homepage":"https://alberto-lazari.itch.io/pang","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alberto-lazari.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,"zenodo":null}},"created_at":"2025-05-05T13:46:27.000Z","updated_at":"2025-07-08T17:03:51.000Z","dependencies_parsed_at":"2025-05-06T09:58:18.846Z","dependency_job_id":null,"html_url":"https://github.com/alberto-lazari/pang","commit_stats":null,"previous_names":["alberto-lazari/pang"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/alberto-lazari/pang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alberto-lazari%2Fpang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alberto-lazari%2Fpang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alberto-lazari%2Fpang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alberto-lazari%2Fpang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alberto-lazari","download_url":"https://codeload.github.com/alberto-lazari/pang/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alberto-lazari%2Fpang/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32475192,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["arcade","game-development","mobile","unity"],"created_at":"2025-05-11T14:25:17.619Z","updated_at":"2026-04-30T19:32:21.331Z","avatar_url":"https://github.com/alberto-lazari.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pang Clone\n\n**Try it on [itch.io](https://alberto-lazari.itch.io/pang) from your browser!**\n\nA clone of a simple 2D arcade shooter, made in Unity.\n\nDeveloped as a homework for the Mobile course of the Master in Computer Game Development.\n\nIt features almost every basic game development element\n(player controller, animations, collisions, items, game state, UI).\n\n\n## Aim of the Project\n\nLearn the basics of Unity development by replicating the game [Pang](https://en.wikipedia.org/wiki/Buster_Bros.). \\\nAs a simple 2D arcade game, it was a simple–yet complete–example,\nrequiring the implementation of various details, spanning almost the entire essential Unity toolset.\n\nBeing a mobile course, the project had to be developed with a mobile-first strategy in mind,\nso touch input alternatives were required.\n\nAn emulated web version of the game is available\n[here](https://www.miniplay.com/game/pang) for a comparison with the original game.\n\n\n## Playable Builds\n\nThe game can be played from the browser from the [itch.io](https://alberto-lazari.itch.io/pang) page.\nOtherwise it's available there for download as an Android application too.\n\n\n## Project Structure\n\nThe game is made up of three levels (called stages) and each has its own scene in Unity.\nThe startup scene though is [`MainMenu`](Assets/Scenes/MainMenu.unity),\nwhich is used to start a new game for the first time, or after a Game Over (both win or lose).\n\n\n## Controls\n\nThe game can be played with keyboard or gamepad,\nas well as with touch controls designed for mobile devices.\n\n### Keyboard and Gamepad\n- **Move left/right and climb**: Arrows/Left stick/D-Pad\n- **Shoot**: S/Space/Left gamepad button\n\n### Touch controls\n- **Move left/right**: touch areas on the screen\n- **Shoot**: central weapon button\n- **Climb**: up/down buttons when near ladders\n\n\n## Technical Details\n\nWhile working on this project I had to learn many aspects of Unity development for the first time.\nAs all first-time projects,\nmany parts of this game were written before I learned more structured and elegant development patterns,\nso don't expect to find anything well-polished or consistent.\n\nBelow I list the most relevant topics I worked on this project:\n- Unity's prefab/hierarchy: very useful when mastered,\n  can be used to achieve a great re-use of game elements\n- Basic sprite animations\n- Rigidbody collisions\n- Trigger collisions: these are still not totally clear to me.\n  They seem too much \"exploitable\", allowing a wide variety of use-cases. \\\n  The line between trigger and collision is sometimes slightly blurred.\n  Also, I couldn't find an elegant pattern to manage layer filtering.\n- Player controller: this was much harder than expected.\n  The final result is a mess and the part I'm least proud of. \\\n  Handling climbing movement and Y-axis positioning in general was a real pain,\n  and there are still strange bugs hanging around\n  (mostly concerning ladders).\n- UI\n- Input, using the new Input System\n- Global game state: I'm not sure how much I'm supposed to use singletons and global state in general.\n  I found out about events later in the project and realized they are a much simpler and elegant solution.\n  OOP feels very limited in Unity's game object model.\n\n\n## Credits\n\n- Sprites:\n  [Player](https://www.spriters-resource.com/arcade/pangbusterbrospompingworld/sheet/32437),\n  [Items/Misc](https://spritedatabase.net/game/3097)\n- Font: [Departure Mono](https://departuremono.com)\n- Up/Down buttons icon: [Up](https://www.flaticon.com/free-icon/up_12547950)\n  by Disha Vaghasiya on Flaticon\n- Bubble pop sound: Sound Effect by\n  [freesound_community](https://pixabay.com/users/freesound_community-46691455/?utm_source=link-attribution\u0026utm_medium=referral\u0026utm_campaign=music\u0026utm_content=91931)\n  from [Pixabay](https://pixabay.com//?utm_source=link-attribution\u0026utm_medium=referral\u0026utm_campaign=music\u0026utm_content=91931)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falberto-lazari%2Fpang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falberto-lazari%2Fpang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falberto-lazari%2Fpang/lists"}