{"action":"created","comment":{"url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/pulls/comments/233313502","pull_request_review_id":174696031,"id":233313502,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMzMxMzUwMg==","diff_hunk":"@@ -17,29 +18,19 @@ private void Start()\n         _spawner = GameObject.Find(\"Branch Spawner\").GetComponent<BranchSpawner>();\n         _transform = GetComponentInChildren<Transform>();\n         _transform.localScale = new Vector2(xScale, 0.75f);\n+        _boxColliderXScale = GetComponent<BoxCollider2D>().offset.x;\n \n-        if (treeLocation == BranchSpawner.Direction.Left) \n+        if (treeLocation == BranchSpawner.Direction.Right) \n         {\n-            _transform.Translate(new Vector2(xScale/2, 0f));\n-        } \n-        else \n-        {\n-            _transform.Translate(new Vector2(-xScale/2, 0f));\n+            GetComponent<SpriteRenderer>().flipX = true;\n+            GetComponent<BoxCollider2D>().offset = new Vector2(-_boxColliderXScale, GetComponent<BoxCollider2D>().offset.y);\n         }\n \t}\n \t\n \tprivate void Update() \n     {\n         if (_transform.localScale.x < maxScale.x && _spawner.HasSap) \n         {","path":"Assets/Scripts/BranchScript.cs","position":30,"original_position":30,"commit_id":"610845bd05b2287df21250c0eaad9acb437fca77","original_commit_id":"610845bd05b2287df21250c0eaad9acb437fca77","user":{"login":"AustinKellar","id":28333213,"node_id":"MDQ6VXNlcjI4MzMzMjEz","avatar_url":"https://avatars3.githubusercontent.com/u/28333213?v=4","gravatar_id":"","url":"https://api.github.com/users/AustinKellar","html_url":"https://github.com/AustinKellar","followers_url":"https://api.github.com/users/AustinKellar/followers","following_url":"https://api.github.com/users/AustinKellar/following{/other_user}","gists_url":"https://api.github.com/users/AustinKellar/gists{/gist_id}","starred_url":"https://api.github.com/users/AustinKellar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AustinKellar/subscriptions","organizations_url":"https://api.github.com/users/AustinKellar/orgs","repos_url":"https://api.github.com/users/AustinKellar/repos","events_url":"https://api.github.com/users/AustinKellar/events{/privacy}","received_events_url":"https://api.github.com/users/AustinKellar/received_events","type":"User","site_admin":false},"body":"Awesome! Really glad you simplified this.","created_at":"2018-11-14T04:49:57Z","updated_at":"2018-11-14T04:57:06Z","html_url":"https://github.com/AustinKellar/PowerOn-Prototype/pull/7#discussion_r233313502","pull_request_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/pulls/7","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/pulls/comments/233313502"},"html":{"href":"https://github.com/AustinKellar/PowerOn-Prototype/pull/7#discussion_r233313502"},"pull_request":{"href":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/pulls/7","id":230683715,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwNjgzNzE1","html_url":"https://github.com/AustinKellar/PowerOn-Prototype/pull/7","diff_url":"https://github.com/AustinKellar/PowerOn-Prototype/pull/7.diff","patch_url":"https://github.com/AustinKellar/PowerOn-Prototype/pull/7.patch","issue_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/issues/7","number":7,"state":"open","locked":false,"title":"Replace art with physics","user":{"login":"AadamM","id":28250633,"node_id":"MDQ6VXNlcjI4MjUwNjMz","avatar_url":"https://avatars0.githubusercontent.com/u/28250633?v=4","gravatar_id":"","url":"https://api.github.com/users/AadamM","html_url":"https://github.com/AadamM","followers_url":"https://api.github.com/users/AadamM/followers","following_url":"https://api.github.com/users/AadamM/following{/other_user}","gists_url":"https://api.github.com/users/AadamM/gists{/gist_id}","starred_url":"https://api.github.com/users/AadamM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AadamM/subscriptions","organizations_url":"https://api.github.com/users/AadamM/orgs","repos_url":"https://api.github.com/users/AadamM/repos","events_url":"https://api.github.com/users/AadamM/events{/privacy}","received_events_url":"https://api.github.com/users/AadamM/received_events","type":"User","site_admin":false},"body":"Goal: Replace the placeholder graphics with the art assets that our artists designed.\r\n\r\nWhat I changed:\r\nSwapped the player, tree, and branch graphics (which we rectangles) with the pngs the artists provided.\r\nAdded the artists' background (it's currently static).\r\nAdjusted the sap bar to: make it bigger, center it at the top of the screen, change the direction so that it depletes from right to left, and make the fill color yellow (like the sap that the player collects).\r\nAdjusted player physics by increasing the jump force to 17 and the gravity to 3.5.\r\nIncreased tree branch growth rate to .31.\r\nDeleted comments that contained outdated code, added punctuation to comments, and revised one of the comments that contained attribution credit to ensure that the source I attributed was more relevant to the 2D raycasts we currently use instead of the outdated 3D raycasts we'd originally used.\r\n\r\nHow to Test:\r\nLoad up the game in the new branch\r\nEnsure that the new sprites mesh well together.\r\nTest the player movement with branch rate increase. Do these changes in speed help the game or hinder it?\r\n\r\nNote:\r\nCurrently the sprites are low-quality pngs, but since the .ai files are in the Google Drive we can re-export them at a higher DPI. I haven't done so yet.","created_at":"2018-11-14T01:44:44Z","updated_at":"2018-11-14T04:57:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"07fdeb1165b01a9d69c3457f6bf2cbb0662be324","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/pulls/7/commits","review_comments_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/pulls/7/comments","review_comment_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/issues/7/comments","statuses_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/statuses/610845bd05b2287df21250c0eaad9acb437fca77","head":{"label":"AustinKellar:replace-art-with-physics","ref":"replace-art-with-physics","sha":"610845bd05b2287df21250c0eaad9acb437fca77","user":{"login":"AustinKellar","id":28333213,"node_id":"MDQ6VXNlcjI4MzMzMjEz","avatar_url":"https://avatars3.githubusercontent.com/u/28333213?v=4","gravatar_id":"","url":"https://api.github.com/users/AustinKellar","html_url":"https://github.com/AustinKellar","followers_url":"https://api.github.com/users/AustinKellar/followers","following_url":"https://api.github.com/users/AustinKellar/following{/other_user}","gists_url":"https://api.github.com/users/AustinKellar/gists{/gist_id}","starred_url":"https://api.github.com/users/AustinKellar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AustinKellar/subscriptions","organizations_url":"https://api.github.com/users/AustinKellar/orgs","repos_url":"https://api.github.com/users/AustinKellar/repos","events_url":"https://api.github.com/users/AustinKellar/events{/privacy}","received_events_url":"https://api.github.com/users/AustinKellar/received_events","type":"User","site_admin":false},"repo":{"id":155778797,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU3Nzg3OTc=","name":"PowerOn-Prototype","full_name":"AustinKellar/PowerOn-Prototype","private":false,"owner":{"login":"AustinKellar","id":28333213,"node_id":"MDQ6VXNlcjI4MzMzMjEz","avatar_url":"https://avatars3.githubusercontent.com/u/28333213?v=4","gravatar_id":"","url":"https://api.github.com/users/AustinKellar","html_url":"https://github.com/AustinKellar","followers_url":"https://api.github.com/users/AustinKellar/followers","following_url":"https://api.github.com/users/AustinKellar/following{/other_user}","gists_url":"https://api.github.com/users/AustinKellar/gists{/gist_id}","starred_url":"https://api.github.com/users/AustinKellar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AustinKellar/subscriptions","organizations_url":"https://api.github.com/users/AustinKellar/orgs","repos_url":"https://api.github.com/users/AustinKellar/repos","events_url":"https://api.github.com/users/AustinKellar/events{/privacy}","received_events_url":"https://api.github.com/users/AustinKellar/received_events","type":"User","site_admin":false},"html_url":"https://github.com/AustinKellar/PowerOn-Prototype","description":null,"fork":false,"url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype","forks_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/forks","keys_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/teams","hooks_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/hooks","issue_events_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/issues/events{/number}","events_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/events","assignees_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/assignees{/user}","branches_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/branches{/branch}","tags_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/tags","blobs_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/git/refs{/sha}","trees_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/statuses/{sha}","languages_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/languages","stargazers_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/stargazers","contributors_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/contributors","subscribers_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/subscribers","subscription_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/subscription","commits_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/commits{/sha}","git_commits_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/git/commits{/sha}","comments_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/comments{/number}","issue_comment_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/issues/comments{/number}","contents_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/contents/{+path}","compare_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/merges","archive_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/downloads","issues_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/issues{/number}","pulls_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/pulls{/number}","milestones_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/milestones{/number}","notifications_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/labels{/name}","releases_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/releases{/id}","deployments_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/deployments","created_at":"2018-11-01T21:35:51Z","updated_at":"2018-11-12T01:23:59Z","pushed_at":"2018-11-14T02:33:11Z","git_url":"git://github.com/AustinKellar/PowerOn-Prototype.git","ssh_url":"git@github.com:AustinKellar/PowerOn-Prototype.git","clone_url":"https://github.com/AustinKellar/PowerOn-Prototype.git","svn_url":"https://github.com/AustinKellar/PowerOn-Prototype","homepage":null,"size":5505,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"AustinKellar:develop","ref":"develop","sha":"bc54c855f4f24c9c187477614120cdf6ee5186fc","user":{"login":"AustinKellar","id":28333213,"node_id":"MDQ6VXNlcjI4MzMzMjEz","avatar_url":"https://avatars3.githubusercontent.com/u/28333213?v=4","gravatar_id":"","url":"https://api.github.com/users/AustinKellar","html_url":"https://github.com/AustinKellar","followers_url":"https://api.github.com/users/AustinKellar/followers","following_url":"https://api.github.com/users/AustinKellar/following{/other_user}","gists_url":"https://api.github.com/users/AustinKellar/gists{/gist_id}","starred_url":"https://api.github.com/users/AustinKellar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AustinKellar/subscriptions","organizations_url":"https://api.github.com/users/AustinKellar/orgs","repos_url":"https://api.github.com/users/AustinKellar/repos","events_url":"https://api.github.com/users/AustinKellar/events{/privacy}","received_events_url":"https://api.github.com/users/AustinKellar/received_events","type":"User","site_admin":false},"repo":{"id":155778797,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU3Nzg3OTc=","name":"PowerOn-Prototype","full_name":"AustinKellar/PowerOn-Prototype","private":false,"owner":{"login":"AustinKellar","id":28333213,"node_id":"MDQ6VXNlcjI4MzMzMjEz","avatar_url":"https://avatars3.githubusercontent.com/u/28333213?v=4","gravatar_id":"","url":"https://api.github.com/users/AustinKellar","html_url":"https://github.com/AustinKellar","followers_url":"https://api.github.com/users/AustinKellar/followers","following_url":"https://api.github.com/users/AustinKellar/following{/other_user}","gists_url":"https://api.github.com/users/AustinKellar/gists{/gist_id}","starred_url":"https://api.github.com/users/AustinKellar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AustinKellar/subscriptions","organizations_url":"https://api.github.com/users/AustinKellar/orgs","repos_url":"https://api.github.com/users/AustinKellar/repos","events_url":"https://api.github.com/users/AustinKellar/events{/privacy}","received_events_url":"https://api.github.com/users/AustinKellar/received_events","type":"User","site_admin":false},"html_url":"https://github.com/AustinKellar/PowerOn-Prototype","description":null,"fork":false,"url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype","forks_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/forks","keys_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/teams","hooks_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/hooks","issue_events_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/issues/events{/number}","events_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/events","assignees_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/assignees{/user}","branches_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/branches{/branch}","tags_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/tags","blobs_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/git/refs{/sha}","trees_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/statuses/{sha}","languages_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/languages","stargazers_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/stargazers","contributors_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/contributors","subscribers_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/subscribers","subscription_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/subscription","commits_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/commits{/sha}","git_commits_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/git/commits{/sha}","comments_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/comments{/number}","issue_comment_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/issues/comments{/number}","contents_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/contents/{+path}","compare_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/merges","archive_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/downloads","issues_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/issues{/number}","pulls_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/pulls{/number}","milestones_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/milestones{/number}","notifications_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/labels{/name}","releases_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/releases{/id}","deployments_url":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/deployments","created_at":"2018-11-01T21:35:51Z","updated_at":"2018-11-12T01:23:59Z","pushed_at":"2018-11-14T02:33:11Z","git_url":"git://github.com/AustinKellar/PowerOn-Prototype.git","ssh_url":"git@github.com:AustinKellar/PowerOn-Prototype.git","clone_url":"https://github.com/AustinKellar/PowerOn-Prototype.git","svn_url":"https://github.com/AustinKellar/PowerOn-Prototype","homepage":null,"size":5505,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/pulls/7"},"html":{"href":"https://github.com/AustinKellar/PowerOn-Prototype/pull/7"},"issue":{"href":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/issues/7"},"comments":{"href":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/AustinKellar/PowerOn-Prototype/statuses/610845bd05b2287df21250c0eaad9acb437fca77"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"AustinKellar"}}