{"id":29041867,"url":"https://github.com/vpekdas/unity-junior-basic-gameplay-prototype-2","last_synced_at":"2025-06-26T15:04:28.610Z","repository":{"id":300233402,"uuid":"1005614722","full_name":"Vpekdas/unity-junior-basic-gameplay-prototype-2","owner":"Vpekdas","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-20T23:59:47.000Z","size":7417,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-21T00:30:53.684Z","etag":null,"topics":["unity","unity-learning"],"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/Vpekdas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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-06-20T14:10:29.000Z","updated_at":"2025-06-20T23:59:50.000Z","dependencies_parsed_at":"2025-06-21T00:41:06.236Z","dependency_job_id":null,"html_url":"https://github.com/Vpekdas/unity-junior-basic-gameplay-prototype-2","commit_stats":null,"previous_names":["vpekdas/unity-junior-prototype-2","vpekdas/unity-junior-basic-gameplay-prototype-2"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Vpekdas/unity-junior-basic-gameplay-prototype-2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vpekdas%2Funity-junior-basic-gameplay-prototype-2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vpekdas%2Funity-junior-basic-gameplay-prototype-2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vpekdas%2Funity-junior-basic-gameplay-prototype-2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vpekdas%2Funity-junior-basic-gameplay-prototype-2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vpekdas","download_url":"https://codeload.github.com/Vpekdas/unity-junior-basic-gameplay-prototype-2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vpekdas%2Funity-junior-basic-gameplay-prototype-2/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262090174,"owners_count":23257124,"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":["unity","unity-learning"],"created_at":"2025-06-26T15:03:00.826Z","updated_at":"2025-06-26T15:04:28.574Z","avatar_url":"https://github.com/Vpekdas.png","language":"C#","readme":"# unity-junior-basic-gameplay-prototype-2\n\n## Screenshots\n\nhttps://github.com/user-attachments/assets/9ca339ff-f45a-4c4f-9527-3bd61ed43b1e\n\nhttps://github.com/user-attachments/assets/fccb4b1c-5a48-4b6a-afde-f4744f5ff58f\n\n## Table of Contents\n1. [Description](#description)\n2. [Installation](#installation)\n3. [Run](#run)\n4. [Credits](#credits)\n5. [Contributing](#contributing)\n6. [License](#license)\n\n## Description\n\nThis prototype is part of the Junior Programmer Pathway from Unity Learn. Its purpose is to teach the fundamentals of basic gameplay through scripting in C#.\nEach prototype includes:\n- A Learning section that guides you through building core features step by step. Later, you can complete bonus challenges categorized from easy to expert\n- A Challenge section where you're given a broken or incomplete project to fix and extend, testing your understanding and problem-solving skills.\n\n### Purpose\n\nThe objective of this prototype is to create two simple games:\n\n- **Feed the Animal** : A top-down game where animals run across the screen, and your goal is to feed them with pizzas.\n- **Catch the Ball** : Balls fall from the top, and you can summon a dog to run from right to left and catch them.\n\n#### Bonus Features (for Feed the Animal) :\n- Player can move forward/backward within a limited range.\n- Animals also spawn from the left and right; collisions cause a Game Over.\n- Console displays:\n  - Lives = 3, Score = 0 at start.\n  - Score increases when feeding animals.\n- Each animal has a hunger bar that fills with each feeding.\n  - Different animals require different amounts of food to be satisfied.\n\n#### Fixing problems (For Catch the Ball) : \n- Dogs are spawning at the top of the screen -\u003e Make the balls spawn from the top of the screen.\n- The player is spawning green balls instead of dogs -\u003e Make the player spawn dogs .\n- The balls are destroyed if anywhere near the dog -\u003e The balls should only be destroyed when coming into direct contact with a dog.\n- Nothing is being destroyed off screen -\u003e Balls should be destroyed when they leave the bottom of the screen and dogs should be destroyed when they leave the left side of the screen.\n- Only one type of ball is being spawned -\u003e Ball 1, 2, and 3 should be spawned randomly.\n- The spawn interval is always the same -\u003e Make the spawn interval a random value between 3 seconds and 5 seconds.\n- The player can “spam” the spacebar key -\u003e Only allow the player to spawn a new dog after a certain amount of time has passed.\n## Controls\n\n**Feed the Animal** (Player 1)\n| **Key** | **Action**           |\n|:-------:|----------------------|\n| `W` or `↑`| Move forward       |\n| `S` or `↓`| Move backward      |\n| `A` or `←`| Turn left          |\n| `D` or `→`| Turn right         |\n| `ESCAPE`  | Return to menu     |\n\n**Catch the Ball**\n| **Key** | **Action**           |\n|:-------:|----------------------|\n| `SPACE`  | Let the dog run     |\n| `ESCAPE`  | Return to menu     |\n\n### Technologies used\n\n- **Unity** – Version 6000.0.47f1\n- **C#** – Used for gameplay scripting\n  \n### Challenges and Future Features\n\nOne of the main challenges in this project was creating and interacting with a health bar. Through this process, I started to understand how the canvas works and, as a result, improved my skills for future prototypes.\n\n## Installation\n\nYou can download pre-built releases for your supported operating system from the GitHub Releases page. Available builds include:\n- macOS\n- Windows\n- Linux\n\n## Run\n\nTo run the program, simply double-click the executable file for your operating system.\n\n### MacOS\n\nUnzip and open the .app file.\n\n### Windows\n\nUnzip and double-click the .exe file.\n\n### Linux\n\n```bash\nchmod +x Prototype_2_Linux.x86_64\n./Prototype_2_Linux.x86_64\n```\n\n### Web\n\nPlay on [browser](https://vpekdas.github.io/unity-junior-basic-gameplay-prototype-2/)\n\n## Credits\n\nThis project is based on the Unity **Junior Programmer Pathway** by Unity Learn.\nMany thanks to the instructors for their excellent step-by-step video tutorials and guidance.\n\n## Contributing\n\nTo report issues, please create an issue here:  [issue tracker](https://github.com/Vpekdas/unity-junior-player-control-prototype-1/issues).\n\nIf you'd like to contribute, please follow the steps outlined in [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvpekdas%2Funity-junior-basic-gameplay-prototype-2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvpekdas%2Funity-junior-basic-gameplay-prototype-2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvpekdas%2Funity-junior-basic-gameplay-prototype-2/lists"}