Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 50982d4d6b
Fetching contributors…

Cannot retrieve contributors at this time

executable file 58 lines (57 sloc) 3.218 kb
<?xml version="1.0" encoding="UTF-8"?>
<nifty xmlns="http://nifty-gui.sourceforge.net/nifty.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://nifty-gui.sourceforge.net/nifty.xsd http://nifty-gui.sourceforge.net/nifty.xsd">
<useControls filename="nifty-default-controls.xml" />
<useStyles filename="nifty-default-styles.xml" />
<screen id="start" controller="StartScreenController">
<layer id="background" childLayout="center">
<image filename="assets/Interface/start-background.png"></image>
</layer>
<layer id="foreground" backgroundColor="#0000" childLayout="vertical">
<panel id="panel_top" height="25%" width="75%" align="center" childLayout="center">
<text text="Maze Craze 1.0" font="Interface/Fonts/Default.fnt" width="100%" height="100%" />
</panel>
<panel id="panel_mid" height="50%" width="75%" align="center" childLayout="center">
<text text="Here goes some text describing the game and the rules and stuff. Incidentally, the text is quite long and needs to wrap at the end of lines. ..."
font="Interface/Fonts/Default.fnt" width="100%" height="100%" wrap="true" />
</panel>
<panel id="panel_bottom" height="25%" width="75%" align="center" childLayout="horizontal" backgroundColor="#00f8">
<panel id="panel_bottom_left" height="50%" width="50%" valign="center" childLayout="center">
<control name="button" label="Start" id="StartButton" align="center" valign="center" visibleToMouse="true">
<interact onClick="startGame(hud)"/>
</control>
</panel>
<panel id="panel_bottom_right" height="50%" width="50%" valign="center" childLayout="center">
<control name="button" label="Quit" id="QuitButton" align="center" valign="center" visibleToMouse="true">
<interact onClick="quitGame()" />
</control>
</panel>
</panel>
</layer>
</screen>
<screen id="hud" controller="HudScreenController">
<layer id="background" childLayout="center">
</layer>
<layer id="foreground" backgroundColor="#0000" childLayout="vertical">
<panel id="panel_bottom_left" height="75%" width="20%" valign="center" childLayout="center">
</panel>
<panel id="panel_right" width="20%" height="100%" childLayout="vertical" backgroundColor="#00f8" >
<panel id="panel_top_right" height="100%" width="15%" childLayout="center">
<control name="label" color="#000" text="123" width="100%" height="100%" />
</panel>
<panel id="panel_top_right1" width="100%" height="15%" childLayout="center" backgroundColor="#00f8">
</panel>
<panel id="panel_top_right2" width="100%" height="15%" childLayout="center" backgroundColor="#44f8">
</panel>
<panel id="panel_bot_right" width="100%" height="70%" valign="center" backgroundColor="#88f8">
</panel>
</panel>
</layer>
</screen>
<screen id="pause" controller="PauseScreenController">
<!-- To be implemented -->
</screen>
<screen id="end" controller="EndScreenController">
<!-- To be implemented -->
</screen>
</nifty>
Jump to Line
Something went wrong with that request. Please try again.