{"id":17977818,"url":"https://github.com/seblague/create-a-game-source","last_synced_at":"2025-07-31T13:38:12.116Z","repository":{"id":45831125,"uuid":"42682672","full_name":"SebLague/Create-a-Game-Source","owner":"SebLague","description":"Source code from my Create a Game tutorial series.","archived":false,"fork":false,"pushed_at":"2016-12-28T15:19:21.000Z","size":4558,"stargazers_count":279,"open_issues_count":6,"forks_count":173,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-05-19T23:06:18.623Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.youtube.com/playlist?list=PLFt_AvWsXl0ctd4dgE1F8g3uec4zKNRV0","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/SebLague.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-17T21:22:15.000Z","updated_at":"2025-04-13T13:14:26.000Z","dependencies_parsed_at":"2022-08-31T03:53:16.068Z","dependency_job_id":null,"html_url":"https://github.com/SebLague/Create-a-Game-Source","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SebLague/Create-a-Game-Source","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebLague%2FCreate-a-Game-Source","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebLague%2FCreate-a-Game-Source/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebLague%2FCreate-a-Game-Source/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebLague%2FCreate-a-Game-Source/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SebLague","download_url":"https://codeload.github.com/SebLague/Create-a-Game-Source/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebLague%2FCreate-a-Game-Source/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268048083,"owners_count":24187212,"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-07-31T02:00:08.723Z","response_time":66,"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":[],"created_at":"2024-10-29T17:29:31.161Z","updated_at":"2025-07-31T13:38:12.062Z","avatar_url":"https://github.com/SebLague.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Create-a-Game-Source\nSource code for the Create a Game tutorial series found here: [Watch Series](https://youtu.be/SviIeTt2_Lc?list=PLFt_AvWsXl0ctd4dgE1F8g3uec4zKNRV0)\n\nPost tutorial series fixes:\n- Problem: Sfx volume incorrect after choosing to play again\n- Solution: Add this method to the AudioManager class:\n```\n  void OnLevelWasLoaded(int index) {\n  \tif (playerT == null) {\n  \t\tif (FindObjectOfType\u003cPlayer\u003e () != null) {\n  \t\t\tplayerT = FindObjectOfType\u003cPlayer\u003e ().transform;\n  \t\t}\n  \t}\n  }\n```\n- Problem: Player being awarded score multiple times for single enemy death:\n- Solution: In TakeHit method of Enemy class, replace \"if (damage \u003e= health) {\" with \"if (damage \u003e= health \u0026\u0026 !dead) {\" \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseblague%2Fcreate-a-game-source","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseblague%2Fcreate-a-game-source","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseblague%2Fcreate-a-game-source/lists"}