2D Toolkit Forum

2D Toolkit => Support => Topic started by: lukasz.hacura on November 04, 2016, 10:51:19 am

Title: Downscaling atlas texture
Post by: lukasz.hacura on November 04, 2016, 10:51:19 am
Hi,

We're optimizing our games' memory usage and would like to scale down the source textures to decrease the resulting atlas texture size without any changes in the game (except quality loss). The atlas I'm working on is 2k x 2k  uncompressed. I've already tried to set Rescale parameter value to 0.5 and work with ortho size and sprite scale on Sprite Collection but there's always a problem with sliced sprites. Is there any way to that not breaking every sliced sprite in the game?
Title: Re: Downscaling atlas texture
Post by: unikronsoftware on November 15, 2016, 10:55:32 pm
I've noticed the issue - sliced sprites are scaling incorrectly with the "Rescale" option. I will investigate this.
Title: Re: Downscaling atlas texture
Post by: unikronsoftware on November 29, 2016, 07:25:00 pm
Hi there,
This has been fixed in the latest 2D Toolkit, which I expect to release shortly.
If you need a fix sooner, let me know and I'll give you a patch.