{"action":"created","comment":{"url":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/comments/77169295","id":77169295,"diff_hunk":"@@ -277,4 +277,20 @@ class FlxAnimation extends FlxBaseAnimation\n \t{\n \t\treturn _frames.length;\n \t}\n+\t\n+\t/**\n+\t * Appends the reverse of the animation to its frames, without duplicating the original last frame.\n+\t * \n+\t * If looped is true, the original first frame is also not duplicated.\n+\t * \n+\t * E.g. [0,1,2,3] becomes [0,1,2,3,2,1]   (looped)     -- Frame 0 is not played twice in a row when the loop returns to the beginning.\n+\t * but  [0,1,2,3] becomes [0,1,2,3,2,1,0] (non-looped) -- Animation ends looking how it started.\n+\t */\n+\tpublic function pingPongifyFrames()","path":"flixel/animation/FlxAnimation.hx","position":13,"original_position":13,"commit_id":"2e8255b0bfb61a1f52950e2ac7d9afee30555520","original_commit_id":"2e8255b0bfb61a1f52950e2ac7d9afee30555520","user":{"login":"Gama11","id":2620907,"avatar_url":"https://avatars.githubusercontent.com/u/2620907?v=3","gravatar_id":"","url":"https://api.github.com/users/Gama11","html_url":"https://github.com/Gama11","followers_url":"https://api.github.com/users/Gama11/followers","following_url":"https://api.github.com/users/Gama11/following{/other_user}","gists_url":"https://api.github.com/users/Gama11/gists{/gist_id}","starred_url":"https://api.github.com/users/Gama11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gama11/subscriptions","organizations_url":"https://api.github.com/users/Gama11/orgs","repos_url":"https://api.github.com/users/Gama11/repos","events_url":"https://api.github.com/users/Gama11/events{/privacy}","received_events_url":"https://api.github.com/users/Gama11/received_events","type":"User","site_admin":false},"body":"Hm... not a huge fan of the name... thinking about it more, do we really need this if https://github.com/HaxeFlixel/flixel/issues/1888 is implemented? With that it would be as simple as:\r\n\r\n```haxe\r\nanim.frames = anim.frames.concat(anim.frames.reverse());\r\n```","created_at":"2016-09-01T13:07:43Z","updated_at":"2016-09-01T13:07:43Z","html_url":"https://github.com/HaxeFlixel/flixel/pull/1925#discussion_r77169295","pull_request_url":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/1925","_links":{"self":{"href":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/comments/77169295"},"html":{"href":"https://github.com/HaxeFlixel/flixel/pull/1925#discussion_r77169295"},"pull_request":{"href":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/1925"}}},"pull_request":{"url":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/1925","id":83625336,"html_url":"https://github.com/HaxeFlixel/flixel/pull/1925","diff_url":"https://github.com/HaxeFlixel/flixel/pull/1925.diff","patch_url":"https://github.com/HaxeFlixel/flixel/pull/1925.patch","issue_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1925","number":1925,"state":"open","locked":false,"title":"Add pingpong helper function","user":{"login":"IBwWG","id":16719964,"avatar_url":"https://avatars.githubusercontent.com/u/16719964?v=3","gravatar_id":"","url":"https://api.github.com/users/IBwWG","html_url":"https://github.com/IBwWG","followers_url":"https://api.github.com/users/IBwWG/followers","following_url":"https://api.github.com/users/IBwWG/following{/other_user}","gists_url":"https://api.github.com/users/IBwWG/gists{/gist_id}","starred_url":"https://api.github.com/users/IBwWG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IBwWG/subscriptions","organizations_url":"https://api.github.com/users/IBwWG/orgs","repos_url":"https://api.github.com/users/IBwWG/repos","events_url":"https://api.github.com/users/IBwWG/events{/privacy}","received_events_url":"https://api.github.com/users/IBwWG/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-01T12:44:39Z","updated_at":"2016-09-01T13:07:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2b01aaf4c7ab193102c16d82800d3ecff82b991f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/1925/commits","review_comments_url":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/1925/comments","review_comment_url":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1925/comments","statuses_url":"https://api.github.com/repos/HaxeFlixel/flixel/statuses/2e8255b0bfb61a1f52950e2ac7d9afee30555520","head":{"label":"IBwWG:anim-pingpongify","ref":"anim-pingpongify","sha":"2e8255b0bfb61a1f52950e2ac7d9afee30555520","user":{"login":"IBwWG","id":16719964,"avatar_url":"https://avatars.githubusercontent.com/u/16719964?v=3","gravatar_id":"","url":"https://api.github.com/users/IBwWG","html_url":"https://github.com/IBwWG","followers_url":"https://api.github.com/users/IBwWG/followers","following_url":"https://api.github.com/users/IBwWG/following{/other_user}","gists_url":"https://api.github.com/users/IBwWG/gists{/gist_id}","starred_url":"https://api.github.com/users/IBwWG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IBwWG/subscriptions","organizations_url":"https://api.github.com/users/IBwWG/orgs","repos_url":"https://api.github.com/users/IBwWG/repos","events_url":"https://api.github.com/users/IBwWG/events{/privacy}","received_events_url":"https://api.github.com/users/IBwWG/received_events","type":"User","site_admin":false},"repo":{"id":51444709,"name":"flixel","full_name":"IBwWG/flixel","owner":{"login":"IBwWG","id":16719964,"avatar_url":"https://avatars.githubusercontent.com/u/16719964?v=3","gravatar_id":"","url":"https://api.github.com/users/IBwWG","html_url":"https://github.com/IBwWG","followers_url":"https://api.github.com/users/IBwWG/followers","following_url":"https://api.github.com/users/IBwWG/following{/other_user}","gists_url":"https://api.github.com/users/IBwWG/gists{/gist_id}","starred_url":"https://api.github.com/users/IBwWG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IBwWG/subscriptions","organizations_url":"https://api.github.com/users/IBwWG/orgs","repos_url":"https://api.github.com/users/IBwWG/repos","events_url":"https://api.github.com/users/IBwWG/events{/privacy}","received_events_url":"https://api.github.com/users/IBwWG/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/IBwWG/flixel","description":"Free, cross-platform 2D game engine powered by Haxe and OpenFL","fork":true,"url":"https://api.github.com/repos/IBwWG/flixel","forks_url":"https://api.github.com/repos/IBwWG/flixel/forks","keys_url":"https://api.github.com/repos/IBwWG/flixel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IBwWG/flixel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IBwWG/flixel/teams","hooks_url":"https://api.github.com/repos/IBwWG/flixel/hooks","issue_events_url":"https://api.github.com/repos/IBwWG/flixel/issues/events{/number}","events_url":"https://api.github.com/repos/IBwWG/flixel/events","assignees_url":"https://api.github.com/repos/IBwWG/flixel/assignees{/user}","branches_url":"https://api.github.com/repos/IBwWG/flixel/branches{/branch}","tags_url":"https://api.github.com/repos/IBwWG/flixel/tags","blobs_url":"https://api.github.com/repos/IBwWG/flixel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IBwWG/flixel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IBwWG/flixel/git/refs{/sha}","trees_url":"https://api.github.com/repos/IBwWG/flixel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IBwWG/flixel/statuses/{sha}","languages_url":"https://api.github.com/repos/IBwWG/flixel/languages","stargazers_url":"https://api.github.com/repos/IBwWG/flixel/stargazers","contributors_url":"https://api.github.com/repos/IBwWG/flixel/contributors","subscribers_url":"https://api.github.com/repos/IBwWG/flixel/subscribers","subscription_url":"https://api.github.com/repos/IBwWG/flixel/subscription","commits_url":"https://api.github.com/repos/IBwWG/flixel/commits{/sha}","git_commits_url":"https://api.github.com/repos/IBwWG/flixel/git/commits{/sha}","comments_url":"https://api.github.com/repos/IBwWG/flixel/comments{/number}","issue_comment_url":"https://api.github.com/repos/IBwWG/flixel/issues/comments{/number}","contents_url":"https://api.github.com/repos/IBwWG/flixel/contents/{+path}","compare_url":"https://api.github.com/repos/IBwWG/flixel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IBwWG/flixel/merges","archive_url":"https://api.github.com/repos/IBwWG/flixel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IBwWG/flixel/downloads","issues_url":"https://api.github.com/repos/IBwWG/flixel/issues{/number}","pulls_url":"https://api.github.com/repos/IBwWG/flixel/pulls{/number}","milestones_url":"https://api.github.com/repos/IBwWG/flixel/milestones{/number}","notifications_url":"https://api.github.com/repos/IBwWG/flixel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IBwWG/flixel/labels{/name}","releases_url":"https://api.github.com/repos/IBwWG/flixel/releases{/id}","deployments_url":"https://api.github.com/repos/IBwWG/flixel/deployments","created_at":"2016-02-10T14:06:12Z","updated_at":"2016-02-10T14:06:15Z","pushed_at":"2016-09-01T12:43:50Z","git_url":"git://github.com/IBwWG/flixel.git","ssh_url":"git@github.com:IBwWG/flixel.git","clone_url":"https://github.com/IBwWG/flixel.git","svn_url":"https://github.com/IBwWG/flixel","homepage":"http://www.haxeflixel.com/","size":19209,"stargazers_count":0,"watchers_count":0,"language":"Haxe","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"HaxeFlixel:dev","ref":"dev","sha":"be037b1c6e39746eeb0048800e5d1d8848ee963e","user":{"login":"HaxeFlixel","id":4309553,"avatar_url":"https://avatars.githubusercontent.com/u/4309553?v=3","gravatar_id":"","url":"https://api.github.com/users/HaxeFlixel","html_url":"https://github.com/HaxeFlixel","followers_url":"https://api.github.com/users/HaxeFlixel/followers","following_url":"https://api.github.com/users/HaxeFlixel/following{/other_user}","gists_url":"https://api.github.com/users/HaxeFlixel/gists{/gist_id}","starred_url":"https://api.github.com/users/HaxeFlixel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaxeFlixel/subscriptions","organizations_url":"https://api.github.com/users/HaxeFlixel/orgs","repos_url":"https://api.github.com/users/HaxeFlixel/repos","events_url":"https://api.github.com/users/HaxeFlixel/events{/privacy}","received_events_url":"https://api.github.com/users/HaxeFlixel/received_events","type":"Organization","site_admin":false},"repo":{"id":2101031,"name":"flixel","full_name":"HaxeFlixel/flixel","owner":{"login":"HaxeFlixel","id":4309553,"avatar_url":"https://avatars.githubusercontent.com/u/4309553?v=3","gravatar_id":"","url":"https://api.github.com/users/HaxeFlixel","html_url":"https://github.com/HaxeFlixel","followers_url":"https://api.github.com/users/HaxeFlixel/followers","following_url":"https://api.github.com/users/HaxeFlixel/following{/other_user}","gists_url":"https://api.github.com/users/HaxeFlixel/gists{/gist_id}","starred_url":"https://api.github.com/users/HaxeFlixel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaxeFlixel/subscriptions","organizations_url":"https://api.github.com/users/HaxeFlixel/orgs","repos_url":"https://api.github.com/users/HaxeFlixel/repos","events_url":"https://api.github.com/users/HaxeFlixel/events{/privacy}","received_events_url":"https://api.github.com/users/HaxeFlixel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HaxeFlixel/flixel","description":"Free, cross-platform 2D game engine powered by Haxe and OpenFL","fork":false,"url":"https://api.github.com/repos/HaxeFlixel/flixel","forks_url":"https://api.github.com/repos/HaxeFlixel/flixel/forks","keys_url":"https://api.github.com/repos/HaxeFlixel/flixel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HaxeFlixel/flixel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HaxeFlixel/flixel/teams","hooks_url":"https://api.github.com/repos/HaxeFlixel/flixel/hooks","issue_events_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/events{/number}","events_url":"https://api.github.com/repos/HaxeFlixel/flixel/events","assignees_url":"https://api.github.com/repos/HaxeFlixel/flixel/assignees{/user}","branches_url":"https://api.github.com/repos/HaxeFlixel/flixel/branches{/branch}","tags_url":"https://api.github.com/repos/HaxeFlixel/flixel/tags","blobs_url":"https://api.github.com/repos/HaxeFlixel/flixel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HaxeFlixel/flixel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HaxeFlixel/flixel/git/refs{/sha}","trees_url":"https://api.github.com/repos/HaxeFlixel/flixel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HaxeFlixel/flixel/statuses/{sha}","languages_url":"https://api.github.com/repos/HaxeFlixel/flixel/languages","stargazers_url":"https://api.github.com/repos/HaxeFlixel/flixel/stargazers","contributors_url":"https://api.github.com/repos/HaxeFlixel/flixel/contributors","subscribers_url":"https://api.github.com/repos/HaxeFlixel/flixel/subscribers","subscription_url":"https://api.github.com/repos/HaxeFlixel/flixel/subscription","commits_url":"https://api.github.com/repos/HaxeFlixel/flixel/commits{/sha}","git_commits_url":"https://api.github.com/repos/HaxeFlixel/flixel/git/commits{/sha}","comments_url":"https://api.github.com/repos/HaxeFlixel/flixel/comments{/number}","issue_comment_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/comments{/number}","contents_url":"https://api.github.com/repos/HaxeFlixel/flixel/contents/{+path}","compare_url":"https://api.github.com/repos/HaxeFlixel/flixel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HaxeFlixel/flixel/merges","archive_url":"https://api.github.com/repos/HaxeFlixel/flixel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HaxeFlixel/flixel/downloads","issues_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues{/number}","pulls_url":"https://api.github.com/repos/HaxeFlixel/flixel/pulls{/number}","milestones_url":"https://api.github.com/repos/HaxeFlixel/flixel/milestones{/number}","notifications_url":"https://api.github.com/repos/HaxeFlixel/flixel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HaxeFlixel/flixel/labels{/name}","releases_url":"https://api.github.com/repos/HaxeFlixel/flixel/releases{/id}","deployments_url":"https://api.github.com/repos/HaxeFlixel/flixel/deployments","created_at":"2011-07-25T13:12:48Z","updated_at":"2016-08-29T02:35:58Z","pushed_at":"2016-09-01T12:44:39Z","git_url":"git://github.com/HaxeFlixel/flixel.git","ssh_url":"git@github.com:HaxeFlixel/flixel.git","clone_url":"https://github.com/HaxeFlixel/flixel.git","svn_url":"https://github.com/HaxeFlixel/flixel","homepage":"http://www.haxeflixel.com/","size":32052,"stargazers_count":902,"watchers_count":902,"language":"Haxe","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":223,"mirror_url":null,"open_issues_count":113,"forks":223,"open_issues":113,"watchers":902,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/1925"},"html":{"href":"https://github.com/HaxeFlixel/flixel/pull/1925"},"issue":{"href":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1925"},"comments":{"href":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1925/comments"},"review_comments":{"href":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/1925/comments"},"review_comment":{"href":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/1925/commits"},"statuses":{"href":"https://api.github.com/repos/HaxeFlixel/flixel/statuses/2e8255b0bfb61a1f52950e2ac7d9afee30555520"}}}}
{"actor":{"display_login":"Gama11"}}