Mercurial > fife-parpg
view demos/shooter/gui/hud.xml @ 513:edf5c0cf52f3
Added the Actor and Player classes. Actor is the base class that the player and all enemies + NPCs will inherit.
Added a help file for the console.
Added a KeyState class for keeping track of the state of the keys.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 21 May 2010 20:33:43 +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>