zxlostsoul Posted May 15, 2018 Share Posted May 15, 2018 Situation: I'm making a game with low resolution (pixeled). I'm using texture atlas (texture packer) to make animated sprite. To scale the game to full screen I'm using stage.scale. It's not pixel-perfect so some pixels can be rectangles except of squares, it's ok. Problem: when AnmatedSprite playing animation pixels change size. Is it possible to force renderer to render all scene with original size and resize it AFTER rendering? Or maybe there is another way to make things better Please help ? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted May 15, 2018 Share Posted May 15, 2018 either set different size on canvas (renderer.resize), either render everything to separate renderTexture of small size and then render it with a sprite on your stage zxlostsoul 1 Quote Link to comment Share on other sites More sharing options...
zxlostsoul Posted May 15, 2018 Author Share Posted May 15, 2018 Thank you very much! Second variant is what I wanted 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.