CodeBase - Health Bar Function

Return to the CodeBase listing

Category: Complete Applications

Version: 1.0

0
0

Information

Uploaded: 7th Apr 2006 12:22

Modified: 1st Jan 1970 01:00

Author:  Trek

Summary

A well documented example showing how to easily make a texture for a health indicator object.

Full Description

I've often wanted an easy way to make a simple texture showing the current health level as a white rectangle inside a black rectange which represents the total health capacity. This function does it effeciently, quickly, and simply. All you have to do is tell it the current health percentage out of the total health capacity and the image number you want to make the texture and it takes care of the rest.<br /> <br /> This function is being used for my entry in the Caiman TotalPack contest so if you want to find out more info on the contest, go to http://www.caimen.be/forum/topic.asp?TOPIC_ID=1405<br /> <br /> If you want to download some of my past productions, including Codename Countdown which placed third in the last Caiman Contest, go to www.TrekSoftware.tk

Comments

No comments yet.