displaying health & ammo?

Blitz3D Forums/Blitz3D Programming/displaying health & ammo?

elseano(Posted 2003) [#1]
How would I create a display showing ammo, health, etc. in blitz3D? I will be using various sprites and blitz3d's print function, but i don't know how i would make it so that the sprites "follow" the camera, and don't just disappear when the camera moves.


Ross C(Posted 2003) [#2]
Parent the sprites to the camera. I won't use the b3d print function tho. Go for the text command just now, but it known to make some ppl's computers go slow. You could use bitmapped fonts tho :)


Neo Genesis10(Posted 2003) [#3]
A great idea is to check out the pixies demo in the code archives. That parents sprites to the camera but ensures they're drawn exactly as loaded in, so you can still use alpha commands and the like to keep things pretty.


Rimmsy(Posted 2003) [#4]
you want this: http://www.blitzbasic.com/codearcs/codearcs.php?code=456

I use it in all my projects.