{"action":"created","issue":{"url":"https://api.github.com/repos/photonstorm/phaser/issues/2703","repository_url":"https://api.github.com/repos/photonstorm/phaser","labels_url":"https://api.github.com/repos/photonstorm/phaser/issues/2703/labels{/name}","comments_url":"https://api.github.com/repos/photonstorm/phaser/issues/2703/comments","events_url":"https://api.github.com/repos/photonstorm/phaser/issues/2703/events","html_url":"https://github.com/photonstorm/phaser/issues/2703","id":172030179,"number":2703,"title":"World x/y does not work (example included)","user":{"login":"ForgeableSum","id":4404920,"avatar_url":"https://avatars.githubusercontent.com/u/4404920?v=3","gravatar_id":"","url":"https://api.github.com/users/ForgeableSum","html_url":"https://github.com/ForgeableSum","followers_url":"https://api.github.com/users/ForgeableSum/followers","following_url":"https://api.github.com/users/ForgeableSum/following{/other_user}","gists_url":"https://api.github.com/users/ForgeableSum/gists{/gist_id}","starred_url":"https://api.github.com/users/ForgeableSum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ForgeableSum/subscriptions","organizations_url":"https://api.github.com/users/ForgeableSum/orgs","repos_url":"https://api.github.com/users/ForgeableSum/repos","events_url":"https://api.github.com/users/ForgeableSum/events{/privacy}","received_events_url":"https://api.github.com/users/ForgeableSum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-19T00:23:58Z","updated_at":"2016-08-19T17:43:55Z","closed_at":"2016-08-19T14:51:26Z","body":"* A bug in the API\r\n\r\nhttp://phaser.io/sandbox/edit/qGrKzXHd\r\n\r\nIn this example, I have 3 sprites: SpriteA, B and C. \r\n\r\nC is child of B and B of A. If you try and make an \"x\" appear on top of sprite C by adding it to the game world as a sprite at the world x/y of C, the x appears very from the sprite. The only time \"x\" appears on top of the sprite (using world x/y) is if the child sprite is a direct descendant of the game world (i.e. it is like sprite A and is not the child of another sprite). \r\n\r\nIs this a bug in Phaser? Either way, how can I can get absolute world x/y? \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/photonstorm/phaser/issues/comments/241085449","html_url":"https://github.com/photonstorm/phaser/issues/2703#issuecomment-241085449","issue_url":"https://api.github.com/repos/photonstorm/phaser/issues/2703","id":241085449,"user":{"login":"photonstorm","id":164476,"avatar_url":"https://avatars.githubusercontent.com/u/164476?v=3","gravatar_id":"","url":"https://api.github.com/users/photonstorm","html_url":"https://github.com/photonstorm","followers_url":"https://api.github.com/users/photonstorm/followers","following_url":"https://api.github.com/users/photonstorm/following{/other_user}","gists_url":"https://api.github.com/users/photonstorm/gists{/gist_id}","starred_url":"https://api.github.com/users/photonstorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/photonstorm/subscriptions","organizations_url":"https://api.github.com/users/photonstorm/orgs","repos_url":"https://api.github.com/users/photonstorm/repos","events_url":"https://api.github.com/users/photonstorm/events{/privacy}","received_events_url":"https://api.github.com/users/photonstorm/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T17:43:55Z","updated_at":"2016-08-19T17:43:55Z","body":"The camera position is irrelevant to the `worldPosition` property:\r\n\r\nhttp://phaser.io/sandbox/edit/xSRRSTQS\r\n\r\nThis is your example, expanded a little, and I see nothing wrong with the placement of anything. It's all relative, to each other, within the world, and looks fine."}}
{"actor":{"display_login":"photonstorm"}}