Mercurial > fife-parpg
view demos/shooter/gui/hud.xml @ 546:8fee2d2286e9
Rewrote the object serializing routines to use a "template" idea for loading an object from disk. This allows for multiple objects to load the same base object template but be unique on the scene AND have different values. Useful for say more than one gold stack on the ground with different gold values. TODO: fix the "spawn" console command.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Thu, 03 Jun 2010 21:35:06 +0000 |
parents | 597b066d5ccb |
children |
line wrap: on
line source
<VBox opaque='0'> <HBox opaque='0'> <Label text = "FPS: "/> <Label name="fps" text="000"/> </HBox> <HBox opaque='0'> <Label text = "Player Position: "/> <Label name="position" text="x,y "/> </HBox> <HBox opaque='0'> <Label text = "Player Velocity: "/> <Label name="velocity" text="x,y "/> </HBox> <HBox opaque='0'> <Label text = "SCORE: "/> <Label name="score" text="0 "/> </HBox> <HBox opaque='0'> <Label text = "Lives: "/> <Label name="lives" text="0 "/> </HBox> </VBox>