ID:174269
 
How would you go about displaying the damage done to something over it like in Final Fantasy, I dont mean the FF games on here I mean the real FFs where it looks like the numbers jump off of the monster and bounce for a sec before they disappear. So far Ive got it working with single digits only but I dont know how to start takin into account dmg over 10. Heres my code:
DmgOverlays(dmg)
//layer = FLOAT_LAYER - 1
overlays += icon('Numbers.dmi',"[dmg]")
sleep(5)
overlays -= icon('Numbers.dmi',"[dmg]")


And for some reason with the layer uncommented it will just replace the icon outright instead of displaying over it. Without the layer var it appears under it like an underlay.
http://developer.byond.com/hub/Spuzzum/s_damage
this should be what you want :)
--Joe
My Text library now has a thing for that but not with overlays
becasue I didn't feel like doing it as an overlay.
Here is a link: http://developer.byond.com/hub/Zaltron/TextLibrary
If you dont like it You can go use Spuzzums s_damage.
In response to Zaltron
I thank you very much this is EXACTLY what I was lookin for =)