View Single Post
  #15  
Old 06-15-2010, 04:02 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by Cubical View Post
Why not use multiple images and check the players hp each time they are hit to figure out which image to change. I could see it done with like4 or 5 images
Hmm, I've only just seen this. Do you mean a predefined set of images to account for every amount of health? Ya, sure, it could be done... but at what cost? 4 or 5 images would only account for 4 or 5 possible status of health(it would only work for someone with 2-3 hearts). After that, you start to lose accuracy as you don't have an image for all the possible increments. Someone with 20 hearts would need 40 images to account for every instance(.5 hp, 1 hp, 1.5hp... so on and so forth).

The method I used is much more dynamic, and can be used with custom systems to display even higher values of HP(up to the 100-200's and really... no limit).

edit: I guess it's not optimized for larger numbers, but I guess that'll be my next goal!
Reply With Quote