{"action":"created","issue":{"url":"https://api.github.com/repos/qbart/isometric-pixel-art/issues/3","repository_url":"https://api.github.com/repos/qbart/isometric-pixel-art","labels_url":"https://api.github.com/repos/qbart/isometric-pixel-art/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/qbart/isometric-pixel-art/issues/3/comments","events_url":"https://api.github.com/repos/qbart/isometric-pixel-art/issues/3/events","html_url":"https://github.com/qbart/isometric-pixel-art/issues/3","id":306591095,"number":3,"title":"Wrong size when creating a box","user":{"login":"xTop-SecreTx","id":12834038,"avatar_url":"https://avatars2.githubusercontent.com/u/12834038?v=4","gravatar_id":"","url":"https://api.github.com/users/xTop-SecreTx","html_url":"https://github.com/xTop-SecreTx","followers_url":"https://api.github.com/users/xTop-SecreTx/followers","following_url":"https://api.github.com/users/xTop-SecreTx/following{/other_user}","gists_url":"https://api.github.com/users/xTop-SecreTx/gists{/gist_id}","starred_url":"https://api.github.com/users/xTop-SecreTx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xTop-SecreTx/subscriptions","organizations_url":"https://api.github.com/users/xTop-SecreTx/orgs","repos_url":"https://api.github.com/users/xTop-SecreTx/repos","events_url":"https://api.github.com/users/xTop-SecreTx/events{/privacy}","received_events_url":"https://api.github.com/users/xTop-SecreTx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-19T18:59:08Z","updated_at":"2018-03-20T15:03:42Z","closed_at":null,"author_association":"NONE","body":"Hi i would love to use your tool. I was looking for something exactly like this.\r\n\r\nThe problem is when i create for example a box of 32x32x32 pixel the image should be 64x64 pixel, but it isn't. Actually it is 62x62.\r\n\r\nI need this tile to fit in my game so i can't use your tool :(\r\n![image](https://user-images.githubusercontent.com/12834038/37616350-dc5f659e-2baf-11e8-91fe-748663c42ff8.png)\r\n"},"comment":{"url":"https://api.github.com/repos/qbart/isometric-pixel-art/issues/comments/374631327","html_url":"https://github.com/qbart/isometric-pixel-art/issues/3#issuecomment-374631327","issue_url":"https://api.github.com/repos/qbart/isometric-pixel-art/issues/3","id":374631327,"user":{"login":"xTop-SecreTx","id":12834038,"avatar_url":"https://avatars2.githubusercontent.com/u/12834038?v=4","gravatar_id":"","url":"https://api.github.com/users/xTop-SecreTx","html_url":"https://github.com/xTop-SecreTx","followers_url":"https://api.github.com/users/xTop-SecreTx/followers","following_url":"https://api.github.com/users/xTop-SecreTx/following{/other_user}","gists_url":"https://api.github.com/users/xTop-SecreTx/gists{/gist_id}","starred_url":"https://api.github.com/users/xTop-SecreTx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xTop-SecreTx/subscriptions","organizations_url":"https://api.github.com/users/xTop-SecreTx/orgs","repos_url":"https://api.github.com/users/xTop-SecreTx/repos","events_url":"https://api.github.com/users/xTop-SecreTx/events{/privacy}","received_events_url":"https://api.github.com/users/xTop-SecreTx/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T15:03:41Z","updated_at":"2018-03-20T15:03:41Z","author_association":"NONE","body":"Thank you very much for your extensive explanation. I didn't know that\nthere are these 3 ways of building isometric tiles.\nI'm quite a noob in programming such maps and there is not too much on\ngoogle about isometric sprite maps. I find it hard to create sprites for it\nso i found your tool. What a pity i can't use it actually. I'll see if i\ncan stay on method A. Wish there would be a program that can create\nisometric basic forms so i only have to \"paint\" the content. I use GIMP and\ndrawing these 2 pixel lines is not that easy as i would like it.\nThanks for clarification.\n\n\nRegards,\nDaniela\n\n\n2018-03-19 22:29 GMT+01:00 Bartłomiej Wójtowicz <notifications@github.com>:\n\n> Hi there,\n>\n> Yes, that's true, my tool won't generate sizes you want 😢 because it was\n> designed to draw tiles differently but I will try to explain \"why?\".\n>\n> When you do isometric you need consider how you will connect tiles into\n> the final map and there are different methods for that. Please take a look\n> (I simplified sizes and limited myself to 2D only but general rules apply\n> for 3D as well)\n>\n> [image: untitled]\n> <https://user-images.githubusercontent.com/235847/37621589-a27f5b12-2bbf-11e8-8f32-54d6a214aa4a.png>\n>\n> What you are doing with your game is the solution A. The reason why I\n> didn't follow it is because when you look at the map and tile edge\n> connections you will see (you need to zoom it) that when the lines cross\n> each other they create extra bold pixels - personally I find this ugly.\n> What is great though that when rendering the map calculations stay simple\n> (power of 2).\n>\n> Next solution B is the one I am using, it's my favourite and generates\n> perfect edges, just look at them how they seamlessly connect but math\n> behind it is not as beautiful as it would be in other solutions.\n>\n> Final solution C I think it would be the most popular to use in games\n> (although I can be wrong).\n> The reason for it is the tile is always increased by 1px for bottom edges\n> and when the map is rendered calculations are as simple as solution A but\n> final map looks much nicer.\n>\n> To sum up, the best solution for me was B and that's why it was\n> implemented.\n> If you don't care about the edges maybe solution A is enough.\n> If you decide to choose B and use the tool I think it should be easy to\n> change the code that generates the map in you game but I should also\n> mention that I no longer maintain this project ⚠️, simply don't have time\n> for it - so choose wisely.\n>\n> Good luck with your game 🥇\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/qbart/isometric-pixel-art/issues/3#issuecomment-374385664>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AMPU9kxymt-TUOGyAeKKJegeJinfzd5rks5tgCNOgaJpZM4SwuLO>\n> .\n>\n"}}
{"actor":{"display_login":"xTop-SecreTx"}}