Author Topic: how to create processbar rect round use ngui ?  (Read 4190 times)

hanyu279

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 5
    • View Profile
how to create processbar rect round use ngui ?
« on: October 11, 2014, 12:13:26 AM »
i want create processbar like photo attach, please suggest me ?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: how to create processbar rect round use ngui ?
« Reply #1 on: October 11, 2014, 04:50:56 AM »
Depends on how you want to approach it. If you want it to always be cutting things flat, then you need to create a custom widget for that where you feed your own geometry. If you are okay with it being cut at an angle then you can use a filled sprite set to 360 degrees.

tnbao91original

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 41
    • View Profile
Re: how to create processbar rect round use ngui ?
« Reply #2 on: October 12, 2014, 01:00:49 PM »
I just find a solution for this. You can create a rect sprite with depth behide main sprite and use Tiled sprite mode to solve this :) (cheat solution not best)