{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1861","repository_url":"https://api.github.com/repos/HaxeFlixel/flixel","labels_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1861/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1861/comments","events_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1861/events","html_url":"https://github.com/HaxeFlixel/flixel/issues/1861","id":157400223,"number":1861,"title":"FlxSprite+FlxAtlas distortions on native targets","user":{"login":"starry-abyss","id":11571820,"avatar_url":"https://avatars.githubusercontent.com/u/11571820?v=3","gravatar_id":"","url":"https://api.github.com/users/starry-abyss","html_url":"https://github.com/starry-abyss","followers_url":"https://api.github.com/users/starry-abyss/followers","following_url":"https://api.github.com/users/starry-abyss/following{/other_user}","gists_url":"https://api.github.com/users/starry-abyss/gists{/gist_id}","starred_url":"https://api.github.com/users/starry-abyss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starry-abyss/subscriptions","organizations_url":"https://api.github.com/users/starry-abyss/orgs","repos_url":"https://api.github.com/users/starry-abyss/repos","events_url":"https://api.github.com/users/starry-abyss/events{/privacy}","received_events_url":"https://api.github.com/users/starry-abyss/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HaxeFlixel/flixel/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/HaxeFlixel/flixel/labels/OpenFL%20/%20Lime","name":"OpenFL / Lime","color":"f7c6c7"},{"url":"https://api.github.com/repos/HaxeFlixel/flixel/labels/Rendering","name":"Rendering","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":64,"created_at":"2016-05-29T18:59:59Z","updated_at":"2016-06-13T13:54:23Z","closed_at":null,"body":"- **Flixel version:** dev, c561696\r\n- **OpenFL version:** 3.6.1\r\n- **Lime version:** 2.9.1\r\n- **Affected targets:** neko, windows\r\n\r\nHello, I've come across an issue with sprite rendering using atlases. It doesn't occur on Flash, and it doesn't occur when not using FlxAtlas nodes for sprite graphics. It _seems_ to occur more frequently with 3x zoom, and subpixel sprite positions.\r\n\r\nHere is a little demo that shows the issue:\r\nhttps://github.com/starry-abyss/render_test_cpp\r\n\r\nHere are some grabs from main project:\r\nhttp://imgur.com/a/cqvbM\r\n\r\nTake attention to bear's eyes, ears and honey cut into halves with diagonal corner-to-corner line (apparently, triangles in quad). Also on GIFs you can see that the frame with bear's eyes shut is rendered differently from other frames.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/34682467-flxsprite-flxatlas-distortions-on-native-targets?utm_campaign=plugin&utm_content=tracker%2F254189&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F254189&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/comments/225587482","html_url":"https://github.com/HaxeFlixel/flixel/issues/1861#issuecomment-225587482","issue_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1861","id":225587482,"user":{"login":"starry-abyss","id":11571820,"avatar_url":"https://avatars.githubusercontent.com/u/11571820?v=3","gravatar_id":"","url":"https://api.github.com/users/starry-abyss","html_url":"https://github.com/starry-abyss","followers_url":"https://api.github.com/users/starry-abyss/followers","following_url":"https://api.github.com/users/starry-abyss/following{/other_user}","gists_url":"https://api.github.com/users/starry-abyss/gists{/gist_id}","starred_url":"https://api.github.com/users/starry-abyss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starry-abyss/subscriptions","organizations_url":"https://api.github.com/users/starry-abyss/orgs","repos_url":"https://api.github.com/users/starry-abyss/repos","events_url":"https://api.github.com/users/starry-abyss/events{/privacy}","received_events_url":"https://api.github.com/users/starry-abyss/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T13:54:23Z","updated_at":"2016-06-13T13:54:23Z","body":"Isn't there way to floor vertices taking zoom into account? Like floor(pos / zoom) * zoom?\r\nAlso in future could be existing code just used on top of some custom tilesheet with the same interface as old Tilesheet?"}}
{"actor":{"display_login":"starry-abyss"}}