DemoHUD

Ever wanted to make a HUD meter? Well, here you go!
This demo shows you how to make a simple HUD meter, which can be used to make Health meters, or mana meters, or just about anything like that.

Most lines are commented, so it should be pretty easy to understand.

***IMPORTANT***
It only works properly if the player has 0 - 100 hp.
This should not be used to make a multi-tile HUD;
This demo teaches you how to make >one< meter, which may give you trouble if you try to put 2 or more.

To prevent any problems like that, change line #19, and specify the kind of /obj/HUD to look for.

Latest Version

  • Date Added: 11/20/07
  • Open project files

Advertisement