Welcome,
Guest
. Please
login
or
register
.
April 25, 2026, 06:23:29 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Performance for moving sprite. Panel or under uiroot?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Performance for moving sprite. Panel or under uiroot? (Read 3226 times)
Dengao
Newbie
Thank You
-Given: 1
-Receive: 0
Posts: 12
Performance for moving sprite. Panel or under uiroot?
«
on:
April 11, 2016, 06:55:01 AM »
Hey! If a sprite is always moving, in my case a health bar. Should it be in a panel or just under uiroot? What is best for performance for moving sprites. Or should I move the entire panel?
Thanks in advance
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Performance for moving sprite. Panel or under uiroot?
«
Reply #1 on:
April 12, 2016, 02:29:18 AM »
Depends on how much other stuff is underneath the same panel. If you have thousands of widgets then separating the animated one into its own panel will improve performance.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Performance for moving sprite. Panel or under uiroot?