{"id":20314358,"url":"https://github.com/normandy72/delivery-driver","last_synced_at":"2026-04-27T08:31:21.348Z","repository":{"id":153902747,"uuid":"586327309","full_name":"Normandy72/Delivery-Driver","owner":"Normandy72","description":"A \"Delivery Driver\" game.  Complete C# Unity Game Developer 2D.","archived":false,"fork":false,"pushed_at":"2023-01-09T21:20:33.000Z","size":340,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T17:45:58.006Z","etag":null,"topics":["csharp","csharp-code","game-development","gamedev","unity","unity2d","unity2d-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/Normandy72.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-07T18:35:40.000Z","updated_at":"2023-01-15T18:32:34.000Z","dependencies_parsed_at":"2023-05-06T16:47:00.681Z","dependency_job_id":null,"html_url":"https://github.com/Normandy72/Delivery-Driver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Normandy72/Delivery-Driver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Normandy72%2FDelivery-Driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Normandy72%2FDelivery-Driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Normandy72%2FDelivery-Driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Normandy72%2FDelivery-Driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Normandy72","download_url":"https://codeload.github.com/Normandy72/Delivery-Driver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Normandy72%2FDelivery-Driver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32329462,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["csharp","csharp-code","game-development","gamedev","unity","unity2d","unity2d-game"],"created_at":"2024-11-14T18:14:55.032Z","updated_at":"2026-04-27T08:31:21.321Z","avatar_url":"https://github.com/Normandy72.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Driver.cs\n\n##### Debud.Log(message);\n* Output some info into console.\n##### Time.deltaTime\n* Using `Time.deltaTime` Unity can tell us how long each frame took to execute.\n* When we multiply something by `Time.deltaTime` it makes our game \"frame rate independent\".\n* Ie. The game behaves the same on fast and slow computers.\n\n***\n### Collision.cs -\u003e was renamed to Delivery.cs\n##### OnCollisionEnter2D Method\n* Collision action.\n\n##### OnTriggerEnter2D method\n* Actions when interacting with a trigger.\n\n##### If Statements\nIf statements let us check if something is true or not and then do something based upon the result.\n```\nif(this thing is true)\n{\n    do this thing;\n}\n```\n##### Why Use Tags?\nTags allow us to easily check in code if something belongs to a particular category of thing.\n\n##### What Is a Bool?\n* Bools are types of variables that can store one of two values - true or false.\n* They are often used with if statements to decide whether something happens or not.\n\n##### Destroying Game Objects\n* We call `Destroy()` to delete game objects from the scene.\n* `Destroy()` requires us to tell it (\"pass in\") 2 things:\n    * Which game object to destroy.\n    * How much delay until its destroyed.`\n\nExample: `Destroy(theMonster.gameObject, 0.5f);`\n***\n### FollowCamera.cs\n##### Creating a reference\nIf we want to access / change / call anything other than this game object's transform, we need to create a reference.\n\nIe. we need to tell Unity what the \"thing\" is that we are referring to.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnormandy72%2Fdelivery-driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnormandy72%2Fdelivery-driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnormandy72%2Fdelivery-driver/lists"}