{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/3209","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/3209/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/3209/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/3209/events","html_url":"https://github.com/godotengine/godot/issues/3209","id":124622678,"number":3209,"title":"Invalid Tile origin when set as Center","user":{"login":"neikeq","id":7718100,"avatar_url":"https://avatars.githubusercontent.com/u/7718100?v=3","gravatar_id":"","url":"https://api.github.com/users/neikeq","html_url":"https://github.com/neikeq","followers_url":"https://api.github.com/users/neikeq/followers","following_url":"https://api.github.com/users/neikeq/following{/other_user}","gists_url":"https://api.github.com/users/neikeq/gists{/gist_id}","starred_url":"https://api.github.com/users/neikeq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neikeq/subscriptions","organizations_url":"https://api.github.com/users/neikeq/orgs","repos_url":"https://api.github.com/users/neikeq/repos","events_url":"https://api.github.com/users/neikeq/events{/privacy}","received_events_url":"https://api.github.com/users/neikeq/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/godotengine/godot/labels/bug","name":"bug","color":"ff2222"},{"url":"https://api.github.com/repos/godotengine/godot/labels/topic:core","name":"topic:core","color":"ffdd44"},{"url":"https://api.github.com/repos/godotengine/godot/labels/topic:editor","name":"topic:editor","color":"ffdd44"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/godotengine/godot/milestones/5","html_url":"https://github.com/godotengine/godot/milestones/2.1","labels_url":"https://api.github.com/repos/godotengine/godot/milestones/5/labels","id":1449703,"number":5,"title":"2.1","description":"","creator":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars.githubusercontent.com/u/4701338?v=3","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"open_issues":212,"closed_issues":61,"state":"open","created_at":"2015-12-08T11:42:22Z","updated_at":"2016-05-17T08:36:56Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-01-03T01:34:31Z","updated_at":"2016-05-17T08:41:50Z","closed_at":null,"body":"You can recreate this bug with the Kinematic Collision demo:\r\n\r\n- Set the TileMap's _Cell_->_Tile Origin_ property to _Center_.\r\n- Select the tile and compare its preview origin to the added tiles origin.\r\n\r\nYou should see something like this:\r\n![vs4itdo](https://cloud.githubusercontent.com/assets/7718100/12076884/7926d25c-b1c0-11e5-88cb-e0a89bc3f29e.png)\r\n\r\nThe origin for the added tile is different than the preview's. I am not sure if the preview is the right one or if it should be like this:\r\n\r\n![igg](https://cloud.githubusercontent.com/assets/7718100/12076920/42f957fc-b1c2-11e5-94c1-d46c74432624.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/219655571","html_url":"https://github.com/godotengine/godot/issues/3209#issuecomment-219655571","issue_url":"https://api.github.com/repos/godotengine/godot/issues/3209","id":219655571,"user":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars.githubusercontent.com/u/4701338?v=3","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T08:41:50Z","updated_at":"2016-05-17T08:41:50Z","body":"I guess *Tile Origin->Center* means the tile should be centered on the origin, i.e. the top-left corner, no? So in such a case the preview would be wrong I guess?\r\n\r\nThere is a lot to clarify in all those tile origin/offset features for TileMap (and maybe GridMap). The previous fix we had before 2.0 broke many existing games with non-square flipped tiles (e.g. Jetpaca), and apparently also the hexamap demo (#4206).\r\n\r\nThere are still inconsistencies and non-working features IMO, so we need to establish clearly how it should behave, fix it, and make it clear in the release notes if it has the potential to break existing games (and if the breakage is too important, we might have to wait for 3.0 or even live with a flawed implementation)."}}