{"action":"created","issue":{"url":"https://api.github.com/repos/karai17/Simple-Tiled-Implementation/issues/113","repository_url":"https://api.github.com/repos/karai17/Simple-Tiled-Implementation","labels_url":"https://api.github.com/repos/karai17/Simple-Tiled-Implementation/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/karai17/Simple-Tiled-Implementation/issues/113/comments","events_url":"https://api.github.com/repos/karai17/Simple-Tiled-Implementation/issues/113/events","html_url":"https://github.com/karai17/Simple-Tiled-Implementation/issues/113","id":167381374,"number":113,"title":"Staggered and hex map coordinate conversion is bork","user":{"login":"karai17","id":590332,"avatar_url":"https://avatars.githubusercontent.com/u/590332?v=3","gravatar_id":"","url":"https://api.github.com/users/karai17","html_url":"https://github.com/karai17","followers_url":"https://api.github.com/users/karai17/followers","following_url":"https://api.github.com/users/karai17/following{/other_user}","gists_url":"https://api.github.com/users/karai17/gists{/gist_id}","starred_url":"https://api.github.com/users/karai17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karai17/subscriptions","organizations_url":"https://api.github.com/users/karai17/orgs","repos_url":"https://api.github.com/users/karai17/repos","events_url":"https://api.github.com/users/karai17/events{/privacy}","received_events_url":"https://api.github.com/users/karai17/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/karai17/Simple-Tiled-Implementation/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-25T14:34:53Z","updated_at":"2016-08-01T11:53:24Z","closed_at":null,"body":"Using the `convertTileToPixel` and `convertPixelToTile` methods, getting the pixel location or the tile location of a point is very important. This can be used for, say, clicking your map with your mouse to have a player path to that location, or some such thing. This feature works perfectly fine for both ortho and iso maps. However, hex and staggered maps are totally broken in this regard, and I cannot seem to figure out the math to fix them.\r\n\r\nLike ortho/iso, I'd like to be able to retrieve non-whole numbers for tiles so you can know the relative location within a tile that the user clicked on. Users can then `floor` that number if they want the whole number representation of the tile."},"comment":{"url":"https://api.github.com/repos/karai17/Simple-Tiled-Implementation/issues/comments/236560387","html_url":"https://github.com/karai17/Simple-Tiled-Implementation/issues/113#issuecomment-236560387","issue_url":"https://api.github.com/repos/karai17/Simple-Tiled-Implementation/issues/113","id":236560387,"user":{"login":"karai17","id":590332,"avatar_url":"https://avatars.githubusercontent.com/u/590332?v=3","gravatar_id":"","url":"https://api.github.com/users/karai17","html_url":"https://github.com/karai17","followers_url":"https://api.github.com/users/karai17/followers","following_url":"https://api.github.com/users/karai17/following{/other_user}","gists_url":"https://api.github.com/users/karai17/gists{/gist_id}","starred_url":"https://api.github.com/users/karai17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karai17/subscriptions","organizations_url":"https://api.github.com/users/karai17/orgs","repos_url":"https://api.github.com/users/karai17/repos","events_url":"https://api.github.com/users/karai17/events{/privacy}","received_events_url":"https://api.github.com/users/karai17/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T11:53:24Z","updated_at":"2016-08-01T11:53:24Z","body":"What?"}}
{"actor":{"display_login":"karai17"}}