Guest User

Untitled

a guest
Feb 12th, 2012
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.31 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <nifty
  3.     xmlns="http://nifty-gui.sourceforge.net/nifty-1.3.xsd"
  4.     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5.     xsi:schemaLocation="http://nifty-gui.sourceforge.net/nifty-1.3.xsd http://nifty-gui.sourceforge.net/nifty-1.3.xsd">
  6.   <!-- +++++++++++++++++++++++++++++++++++++++ -->
  7.   <!-- start screen -->
  8.   <!-- +++++++++++++++++++++++++++++++++++++++ -->
  9.     <screen id="start" controller="mygame.Main">
  10.         <layer id="layer" backgroundColor="#0000" childLayout="center">
  11.             <panel id="panel" height="25%" width="35%" align="right" valign="center" backgroundColor="#f60f" childLayout="center" visibleToMouse="true">
  12.                 <interact onClick="quit()"/>
  13.                 <effect>
  14.                     <onStartScreen name="move" mode="in" direction="top" length="300" startDelay="0" inherit="true"/>
  15.                     <onEndScreen name="move" mode="out" direction="bottom" length="300" startDelay="0" inherit="true"/>
  16.                     <onHover name="pulsate" scaleFactor="0.008" startColor="#f600" endColor="#ffff" post="true"/>
  17.                 </effect>
  18.                 <text id="text" font="Interface/Fonts/Default.fnt" color="#000f" text="Hello World!" align="center" valign="center" />
  19.             </panel>
  20.         </layer>
  21.     </screen>
  22. </nifty>
Advertisement
Add Comment
Please, Sign In to add comment