Replaces splash screen with fundraiser message

This was SVN commit r13796.
This commit is contained in:
historic_bruno 2013-09-01 23:56:50 +00:00
parent 53a5781c66
commit 4c9cd2921d
7 changed files with 58 additions and 22 deletions

Binary file not shown.

View File

@ -8,6 +8,7 @@
<include>common/common_styles.xml</include>
<include>splashscreen/styles.xml</include>
<include>splashscreen/sprites.xml</include>
<include>splashscreen/setup.xml</include>
<include>splashscreen/splashscreen.xml</include>
</page>

View File

@ -433,7 +433,7 @@ Status: $status.
</object>
<!-- PRE-RELEASE INFO -->
<object size="8 100%-340 100%-8 100%-100"
<object size="8 100%-370 100%-8 100%-100"
type="image"
style="TranslucentPanelThinBorder"
>
@ -453,6 +453,20 @@ WARNING: This is an early development version of the game. Many features have no
Get involved at: play0ad.com
</object>
<!-- FUNDRAISER -->
<object type="button"
style="StoneButton"
tooltip_style="pgToolTip"
tooltip="Click to view fundraiser information."
size="8 100%-108 100%-8 100%-80"
>
Fundraiser
<action on="Press"><![CDATA[
closeMenu();
Engine.PushGuiPage("page_splashscreen.xml", { "page": "splashscreen" });
]]></action>
</object>
<!-- CONTACT METHODS -->
<object type="button"
style="StoneButton"

View File

@ -1,9 +1,5 @@
[font="serif-bold-16"]Thank you for installing 0 A.D.!
[font="serif-16"]
[icon="constructionIcon"] This is an early experimental version of the game. Features are missing and it contains bugs.
Friends, Romans, countrymen, lend us your support! Help us speed up development of this amazing, free, open-source real-time strategy game
[font="serif-bold-16"]0 A.D. - Empires Ascendant [font="serif-16"]by allowing some of us to work on it full-time!
[icon=iconLag] The game lags when many units are moving.
[icon="iconShip"] The computer opponent can't use ships.
[icon="iconMap"] Large maps can cause problems.
Click the logo above to launch our brand new Indiegogo crowd-sourced fundraising campaign and be a part of history.

View File

@ -7,32 +7,37 @@
<!-- Add a translucent black background to fade out the menu page -->
<object type="image" z="0" style="TranslucentPanel"/>
<object type="image" style="StoneDialog" size="50%-274 50%-200 50%+274 50%+200">
<object type="image" style="StoneDialog" size="50%-300 50%-200 50%+300 50%+200">
<object type="text" style="TitleText" size="50%-128 0%-16 50%+128 16">Welcome to 0 A.D. !</object>
<object type="image" sprite="BackgroundTranslucent" size="20 20 100%-20 100%-52">
<object name="mainText" type="text" style="textPanel"/>
<object size="8 100%-60 100% 100%">
<object size="0 20 100% 100%">
<object name="displaySplashScreenText" size="20 0 100% 100%" type="text" style="LeftLabelText">Show this message in the future</object>
<object name="displaySplashScreen" checked="true" size="0 50%-8 16 50%+8" type="checkbox" style="StoneCrossBox"/>
</object>
<object name="openFundraiserPage" type="button" style="fundraiserButton" size="5 5 100% 150">
<action on="Press"><![CDATA[
Engine.OpenURL("http://play0ad.com/fundraiser");
]]></action>
</object>
<object size="0 150 100% 100%">
<object name="mainText" type="text" style="textPanel"/>
</object>
</object>
<object name="btnOK" type="button" style="StoneButton" tooltip_style="snToolTip" size="24 100%-52 188 100%-24">
OK
<action on="Press"><![CDATA[
Engine.SetSplashScreenEnabled(getGUIObjectByName("displaySplashScreen").checked);
Engine.SetSplashScreenEnabled(!getGUIObjectByName("displaySplashScreen").checked);
Engine.PopGuiPage();
]]></action>
</object>
<object type="button" style="StoneButton" size="192 100%-52 356 100%-24">
Known issues (web)
<object name="btnFundraiser" type="button" style="StoneButton" tooltip_style="snToolTip" size="196 100%-52 360 100%-24">
Visit Fundraiser
<action on="Press"><![CDATA[
var url = "http://www.wildfiregames.com/forum/index.php?showtopic=15796";
Engine.OpenURL(url);
messageBox(600, 200, "Opening "+url+"\n in default web browser. Please wait...", "Opening page", 2);
]]></action>
Engine.OpenURL("http://play0ad.com/fundraiser");
]]></action>
</object>
<object size="368 100%-52 100%-32 100%-24">
<object size="0 0 100% 100%">
<object name="displaySplashScreenText" size="0 0 100%-32 100%" type="text" style="RightLabelText">Don't show this again</object>
<object name="displaySplashScreen" checked="false" size="100%-16 50%-8 100% 50%+8" type="checkbox" style="StoneCrossBox"/>
</object>
</object>
</object>

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<sprites>
<sprite name="fundraiserLogo">
<image texture="pregame/shell/logo/fundraiserlogo.png"
real_texture_placement="0 0 580 153"
size="0 0 100% 100%"
/>
</sprite>
</sprites>

View File

@ -11,4 +11,9 @@
text_valign="top"
/>
<style name="fundraiserButton"
sprite="fundraiserLogo"
sound_pressed="audio/interface/ui/ui_button_click.ogg"
/>
</styles>