zipzup Posted February 9, 2016 Share Posted February 9, 2016 Hello How to make a PlayerHealthBar ? Quote Link to comment Share on other sites More sharing options...
Rick Posted February 9, 2016 Share Posted February 9, 2016 Was just looking at this today. Take a look at this post. It gives you an idea on how you can do it with images with a mask applied so you can make some interesting bars. http://www.leadwerks.com/werkspace/topic/4631-2d-masks/page__hl__masking The alpha value you set is really the % to show. So .5 is 50% health. You would have a max health and actual health and calc the % from those to determine that value in SetColor(). The download comes with and example you can play with to better understand. Thanks again Shadmar!!! Quote Link to comment Share on other sites More sharing options...
Thirsty Panther Posted February 9, 2016 Share Posted February 9, 2016 Couple of sources I found useful. Aggrors Project Saturn. Bluhornets HUD videos. 1 Quote Link to comment Share on other sites More sharing options...
zipzup Posted February 9, 2016 Author Share Posted February 9, 2016 Thanks for the help 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.