Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: PabloAM on July 07, 2015, 12:25:55 PM

Title: Why is not possible to change Size of Sprite? Problem inside
Post by: PabloAM on July 07, 2015, 12:25:55 PM
Hello, I´m saking why it´s not possible change Size of widget inside UISprite in runtime.

Without that feature, We can´t for example create the bullet of Pang...

(https://upload.wikimedia.org/wikipedia/en/2/23/Buster_Bros._Screenshot.png)

And Change scale doen´t works for Tiled sprite for example...

Anyone know why?

Thanks.
Title: Re: Why is not possible to change Size of Sprite? Problem inside
Post by: ArenMook on July 08, 2015, 06:42:20 PM
Change size of sprite? Why wouldn't it be? Just adjust the transform's scale, or the widget's width/height.
Title: Re: Why is not possible to change Size of Sprite? Problem inside
Post by: PabloAM on July 09, 2015, 02:36:48 AM
Yes, but the scale stretch the sprite whatever it is, (Tiled, normal, sliced).

Am I wrong?

Thanks
Title: Re: Why is not possible to change Size of Sprite? Problem inside
Post by: ArenMook on July 12, 2015, 07:48:57 PM
Try adjusting the transform's scale...