ID:159154
![]() May 1 2009, 3:17 pm
|
|
Is there a way to possibly program/implement a simple damage display system using pre-made DMI fonts possibly using the pixel_x/y system without the complexity of the S/F_damage libraries? If so, how might this be done?
|
Perhaps I should rephrase. Is there a more simple library out there that doesn't mess with HTML/color of the numbers? As in, it just uses the colors in the DMI font?
|
Eurr, s_damage can do this amazingly. You can just re-set the icon-file (If I remember correctly, it's defined. So, green text. Just change s_damage.dmi to your .dmi)
And if you don't input a colour you'll just get the standard colour.. I mean, you can just give null. s_damage(src,damage), there! |
Trust me, you're better off using those libraries than creating your own. It'd be useless to reinvent the wheel on this one.