Welcome,
Guest
. Please
login
or
register
.
May 15, 2025, 11:19:17 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
creating healthbars above units
« previous
next »
Print
Pages: [
1
]
Author
Topic: creating healthbars above units (Read 2040 times)
FuzzySmurf
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 5
creating healthbars above units
«
on:
December 08, 2013, 06:50:00 PM »
Hello,
fairly new to NGUI, so sorry if this question sounds noobish. I went through some of the tutorials from both here, and Burgzerg. I have a progress bar added, and can easily adjust it. however, I want the health bar to display above the units, such as the example image below. However, when I try to parent the progress bar to the unit, it drags everything into the camera. is their a way around this, or an alternative?
http://i1.ytimg.com/vi/MV2rRcskn4Y/maxresdefault.jpg
Thank you,
Alex Moreno
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: creating healthbars above units
«
Reply #1 on:
December 08, 2013, 07:28:56 PM »
Anchor the widget specifying your game object as the target. Check the new layout system video I released for more info.
Logged
FuzzySmurf
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 5
Re: creating healthbars above units
«
Reply #2 on:
December 08, 2013, 08:52:17 PM »
Thank you,
it seems to of worked, however, if i unequip the anchor, and re-equip, sometimes it doesn't seem to catch. but other then that it works. thank you.
edit:
nvm you're suppose to have them on the same layers, didn't notice that.
«
Last Edit: December 08, 2013, 10:01:34 PM by FuzzySmurf
»
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
creating healthbars above units