{"action":"created","issue":{"url":"https://api.github.com/repos/melonjs/melonJS/issues/715","labels_url":"https://api.github.com/repos/melonjs/melonJS/issues/715/labels{/name}","comments_url":"https://api.github.com/repos/melonjs/melonJS/issues/715/comments","events_url":"https://api.github.com/repos/melonjs/melonJS/issues/715/events","html_url":"https://github.com/melonjs/melonJS/issues/715","id":97981993,"number":715,"title":"Create an origin point in each frame of a texture atlas that determine's the frame's position relative to the coordinates it's drawn at.","user":{"login":"Giwayume","id":4075314,"avatar_url":"https://avatars.githubusercontent.com/u/4075314?v=3","gravatar_id":"","url":"https://api.github.com/users/Giwayume","html_url":"https://github.com/Giwayume","followers_url":"https://api.github.com/users/Giwayume/followers","following_url":"https://api.github.com/users/Giwayume/following{/other_user}","gists_url":"https://api.github.com/users/Giwayume/gists{/gist_id}","starred_url":"https://api.github.com/users/Giwayume/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Giwayume/subscriptions","organizations_url":"https://api.github.com/users/Giwayume/orgs","repos_url":"https://api.github.com/users/Giwayume/repos","events_url":"https://api.github.com/users/Giwayume/events{/privacy}","received_events_url":"https://api.github.com/users/Giwayume/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-29T17:02:15Z","updated_at":"2015-07-29T19:59:59Z","closed_at":null,"body":"Basically the rundown is:\r\n1. The \"anchor point\" becomes a point that scaled from the entity's x and y position (0,0) to the entity's width and height (1,1). Similar to today.\r\n2. Each animation (atlas) frame gets a new property, the origin point (a pixel offset from the \"offset\" point), that is defined by the pivot point in TexturePacker (or shoebox equivalent, or manually, whatever). The origin point is drawn at the entity's anchor point, with the rest of the texture drawn relative to that origin point.\r\n3. Scaling and rotation transformations happen around each frame's origin point.\r\n\r\nThis change can impact existing projects. So maybe an opt-in? 3.0?\r\n\r\nLink to the original discussion:\r\nhttps://groups.google.com/forum/embed/?place=forum%2Fmelonjs&showsearch=true&showpopout=true&hideforumtitle=true&parenturl=http%3A%2F%2Fmelonjs.org%2Fforum#!topic/melonjs/KYes1bzTsBU\r\n"},"comment":{"url":"https://api.github.com/repos/melonjs/melonJS/issues/comments/126079344","html_url":"https://github.com/melonjs/melonJS/issues/715#issuecomment-126079344","issue_url":"https://api.github.com/repos/melonjs/melonJS/issues/715","id":126079344,"user":{"login":"agmcleod","id":113275,"avatar_url":"https://avatars.githubusercontent.com/u/113275?v=3","gravatar_id":"","url":"https://api.github.com/users/agmcleod","html_url":"https://github.com/agmcleod","followers_url":"https://api.github.com/users/agmcleod/followers","following_url":"https://api.github.com/users/agmcleod/following{/other_user}","gists_url":"https://api.github.com/users/agmcleod/gists{/gist_id}","starred_url":"https://api.github.com/users/agmcleod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agmcleod/subscriptions","organizations_url":"https://api.github.com/users/agmcleod/orgs","repos_url":"https://api.github.com/users/agmcleod/repos","events_url":"https://api.github.com/users/agmcleod/events{/privacy}","received_events_url":"https://api.github.com/users/agmcleod/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T19:59:59Z","updated_at":"2015-07-29T19:59:59Z","body":"@Giwayume yes that's it. Sorry i had actually forgotten about the rename."}}