Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/media/overlay/debug.oxo @ 5448

Last change on this file since 5448 was 5448, checked in by landauf, 15 years ago

added HUD for Pong gametype

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1<!-- DEBUG OVERLAY -->
2<OverlayGroup
3 name    = "Debug"
4 scale   = "1.0, 1.0"
5 scroll  = "0, 0"
6 visible = false
7>
8
9  <OverlayText
10   name     = "FPSTextCaption"
11   position = "0.03, 0.05"
12   font     = "Monofur"
13   caption  = "Frames per second:"
14   textsize = 0.03
15   textSize = 0.03
16  />
17
18  <DebugFPSText
19   name     = "FPSText"
20   position = "0.3, 0.05"
21   font     = "Monofur"
22   textsize = 0.03
23   textSize = 0.03
24  />
25
26  <OverlayText
27   name     = "RTRTextCaption"
28   position = "0.03, 0.09"
29   font     = "Monofur"
30   caption  = "Tick time in ms: "
31   textsize = 0.03
32   textSize = 0.03
33  />
34
35  <DebugRTRText
36   name     = "RTRText"
37   position = "0.3, 0.09"
38   font     = "Monofur"
39   textsize = 0.03
40   textSize = 0.03
41  />
42 
43</OverlayGroup>
44
45<Template name="defaultHUD">
46  <OverlayGroup name = "defaultHUD" scale = "1, 1">
47    <ChatOverlay
48     name     = "chat"
49     position = "0.03, 0.5"
50     font     = "VeraMono"
51     caption  = ""
52     textsize = 0.025
53    />
54
55    <GametypeStatus
56     name     = "state"
57     position = "0.5, 0.85"
58     font     = "VeraMono"
59     textsize = 0.05
60     colour   = "1.0, 1.0, 0.0, 0.8"
61     align    = "center"
62    />
63
64    <NotificationQueue
65     name     = "notification"
66     position = "0.55, 0.05"
67     font     = "VeraMono"
68     textsize = 0.020
69     length   = 3
70     width    = 50
71    />
72  </OverlayGroup>
73</Template>
Note: See TracBrowser for help on using the repository browser.