mazoku Posted April 21, 2018 Share Posted April 21, 2018 I have TilingSprite as a background. On any other devices everything looks ok. On Android 4 there is a problem When I use background.tilePosition.x += xy and background.tilePosition.x grows the images appear pixelated. The bigger x position, the lower quality - some big square chunks instead of details When I use background.tilePosition.x += xy ; background.tilePosition.x %= TextureWidth I don't have this pixelizations but when the x moves from the near width size to 0 the background moves several times ahead or behind the coordinates. This happens on Android 4 but works fine on desktop, newer android versions and ios. I think its webgl related but I'm not sure how to fix it. ivan.popelyshev 1 Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted April 21, 2018 Share Posted April 21, 2018 > background.tilePosition.x %= TextureWidth I don't have this pixelizations but when the x moves from the near width size to 0 the background moves several times ahead or behind the coordinates. do you use tileScale? Quote Link to comment Share on other sites More sharing options...
mazoku Posted April 21, 2018 Author Share Posted April 21, 2018 No Quote Link to comment Share on other sites More sharing options...
mazoku Posted April 21, 2018 Author Share Posted April 21, 2018 Resizing the game and images more than half the original size don't change the problem. Even one of the frames appear black (for very little time) Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted April 21, 2018 Share Posted April 21, 2018 It should work. Please provide a fiddle. Quote Link to comment Share on other sites More sharing options...
mazoku Posted April 21, 2018 Author Share Posted April 21, 2018 This example has the same problem. The movement is not smooth. Its like some frames from above in time are before the current ones. It slightly moves back and forth while moving. http://pixijs.io/examples/#/basics/tiling-sprite.js Is there anyone with Android 4.x.x to tell me is the problem only with my device (and my client's test device too) Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted April 21, 2018 Share Posted April 21, 2018 It should work. I dont own mobile devices to test it. I dont have any guarantees on that example because it doesnt have %= in it. Give me a video then Quote Link to comment Share on other sites More sharing options...
mazoku Posted April 21, 2018 Author Share Posted April 21, 2018 Actually any tilingsprite has the same problem on this phone. No problem on any other device. Will try to make one Quote Link to comment Share on other sites More sharing options...
mazoku Posted April 21, 2018 Author Share Posted April 21, 2018 It looks like some sort of energy saving - when my finger is on the screen it goes smoothly but when I remove it and after some time it starts flicker. When there is player interaction it stops. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.