Author Topic: Progressbar UISprite Filled shape  (Read 1662 times)

jeldrez

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 4
  • Posts: 352
    • View Profile
Progressbar UISprite Filled shape
« on: October 02, 2013, 02:17:37 PM »
There's anyway to change the shape of the 'UISprite Filled' filling on the progressbar?
I want to use an arrow head in the foreground and keep it in the entire process.
So, I was thinking in two ways:
1) A mask in the foreground with this shape.
2) the foreground moves with the value, and what it's outside is hidden.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Progressbar UISprite Filled shape
« Reply #1 on: October 02, 2013, 04:49:15 PM »
Yeah, use a sliced sprite and slice it so that the arrow is a part of the non-scaling border.

jeldrez

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 4
  • Posts: 352
    • View Profile
Re: Progressbar UISprite Filled shape
« Reply #2 on: October 02, 2013, 06:47:59 PM »
Thanks Aren,
I'll try it tomorrow morning.