{"action":"created","issue":{"url":"https://api.github.com/repos/pixijs/pixi.js/issues/2685","repository_url":"https://api.github.com/repos/pixijs/pixi.js","labels_url":"https://api.github.com/repos/pixijs/pixi.js/issues/2685/labels{/name}","comments_url":"https://api.github.com/repos/pixijs/pixi.js/issues/2685/comments","events_url":"https://api.github.com/repos/pixijs/pixi.js/issues/2685/events","html_url":"https://github.com/pixijs/pixi.js/issues/2685","id":162838158,"number":2685,"title":"Sprite's overflow outside their boundaries if coordinates are non-int [V4]","user":{"login":"kaansoral","id":170243,"avatar_url":"https://avatars.githubusercontent.com/u/170243?v=3","gravatar_id":"","url":"https://api.github.com/users/kaansoral","html_url":"https://github.com/kaansoral","followers_url":"https://api.github.com/users/kaansoral/followers","following_url":"https://api.github.com/users/kaansoral/following{/other_user}","gists_url":"https://api.github.com/users/kaansoral/gists{/gist_id}","starred_url":"https://api.github.com/users/kaansoral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaansoral/subscriptions","organizations_url":"https://api.github.com/users/kaansoral/orgs","repos_url":"https://api.github.com/users/kaansoral/repos","events_url":"https://api.github.com/users/kaansoral/events{/privacy}","received_events_url":"https://api.github.com/users/kaansoral/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-06-29T04:23:14Z","updated_at":"2016-06-29T19:49:16Z","closed_at":null,"body":"So I'm using basic image sprites for walking animations, poses are laid out on a grid, where one pose starts the other ends\r\n\r\nOne problem I had from the beginning is sprite's overflowing 1px to the neighbouring sprites (not always, but like 1% of the time, so like every 3-4 seconds) (I use sprite's with scale 2, without resizing, so ideally they should be easy to draw)\r\n\r\nI solved it by using PIXI.SCALE_MODES.NEAREST and only integer coordinates\r\n\r\nHowever, using only integer coordinates results in shaky movements when map is moving and things on the map are moving\r\n\r\nUsing float coordinates solves this problem, everything is silky smooth, yet, the creeping sprite issue returns\r\n\r\nSo it's either (1) creeping sprites or (2) shaky movements, both are bad\r\n\r\nIs this a bug, or is this just how it is?"},"comment":{"url":"https://api.github.com/repos/pixijs/pixi.js/issues/comments/229467790","html_url":"https://github.com/pixijs/pixi.js/issues/2685#issuecomment-229467790","issue_url":"https://api.github.com/repos/pixijs/pixi.js/issues/2685","id":229467790,"user":{"login":"ivanpopelyshev","id":695831,"avatar_url":"https://avatars.githubusercontent.com/u/695831?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanpopelyshev","html_url":"https://github.com/ivanpopelyshev","followers_url":"https://api.github.com/users/ivanpopelyshev/followers","following_url":"https://api.github.com/users/ivanpopelyshev/following{/other_user}","gists_url":"https://api.github.com/users/ivanpopelyshev/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanpopelyshev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanpopelyshev/subscriptions","organizations_url":"https://api.github.com/users/ivanpopelyshev/orgs","repos_url":"https://api.github.com/users/ivanpopelyshev/repos","events_url":"https://api.github.com/users/ivanpopelyshev/events{/privacy}","received_events_url":"https://api.github.com/users/ivanpopelyshev/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T19:49:16Z","updated_at":"2016-06-29T19:49:16Z","body":"I also recommend to use pixi-display, it will help you with character sorting "}}
{"actor":{"display_login":"ivanpopelyshev"}}