Author Topic: is progressBars a dynamic element ?  (Read 2596 times)

matix

  • Guest
is progressBars a dynamic element ?
« on: May 29, 2012, 03:57:30 AM »
Quote
If something is going to be changing frequently (for example a spinning symbol), it’s generally better to separate it from the rest of the UI by giving it a panel of its own. If 10 widgets are all spinning around, you can improve performance and save draw calls by grouping them under the same panel. Static non-moving stuff can remain on another panel. When working on a mobile device it’s generally better to minimize the amount of dynamic elements.

are progressBars a dynamic element and should they have an extra Panel?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: is progressBars a dynamic element ?
« Reply #1 on: May 29, 2012, 03:58:59 AM »
Will they be changing every frame?

matix

  • Guest
Re: is progressBars a dynamic element ?
« Reply #2 on: May 29, 2012, 04:29:25 AM »
the position is the same, but the value is changing often.

http://gyazo.com/8beff3566b4b2ef3d4ade9d6194e5511

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: is progressBars a dynamic element ?
« Reply #3 on: May 29, 2012, 01:36:18 PM »
Nah, keep them on the same panel.