Mercurial > fife-parpg
view demos/shooter/gui/hud.xml @ 635:3094988564d5
* Added a simple method to query the default video card capabilities. This is still a work in progress. You can now get a list of ScreenModes the device supports. ScreenMode includes information on the screen resolution, if the mode is fullscreen/windowed and if it would use the OpenGL or SDL renderer.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Wed, 06 Oct 2010 19:19:08 +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>