Insane wrote:
mrimer wrote:
Insane wrote:
EDIT: On another note, my RPG still doesn't work for health values greater than 100, as DROD doesn't support floats or at least doubles.
No, just integers. But those can go much over 100.
I meant that actually because my healthbar calculates the health using 100, and dividing 100 by something greater than 100 results in 1 or 0.
-Insane
Using fixed point conversions, you can deal with this issue. For instance, use 10000 as the health instead of 100, and divide it by 100 to display the health value.
____________________________
Gandalf? Yes... That's what they used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the turn of the tide.