Author Topic: Why is not possible to change Size of Sprite? Problem inside  (Read 3403 times)

PabloAM

  • Jr. Member
  • **
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 58
    • View Profile
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...



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

Anyone know why?

Thanks.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Why is not possible to change Size of Sprite? Problem inside
« Reply #1 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.

PabloAM

  • Jr. Member
  • **
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 58
    • View Profile
Re: Why is not possible to change Size of Sprite? Problem inside
« Reply #2 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

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Why is not possible to change Size of Sprite? Problem inside
« Reply #3 on: July 12, 2015, 07:48:57 PM »
Try adjusting the transform's scale...