A tutorial somewhere?

Give your feedback about the Interface Designer in this section

Moderator: NADEO

User avatar
noyranea
Nadeo
Nadeo
Posts: 173
Joined: 29 Apr 2014, 14:50
Location: Paris, France

Re: A tutorial somewhere?

Post by noyranea » 16 Sep 2014, 10:29

I added a basic sample TitlePack menu to the data (available in the next update). Here's the code if you need it :

Code: Select all

<quad posn="-149 85 0" sizen="68 26" style="TitleLogos" substyle="Title"/>
<quad posn="-150 100 -25" sizen="70 200" style="Bgs1" substyle="BgWindow2" opacity="0.75"/>
<frame>
	<quad posn="-146 52 0" sizen="16 16" style="Icons128x128_1" substyle="Vehicles"/>
	<label posn="-128 49 0" sizen="40 5" text="Welcome!" style="TextRankingsBig"/>
	<label posn="-128 43 0" sizen="44 5" text="Choose an activity" style="TextSubTitle1"/>
</frame>
<frame>
	<frame>
		<label posn="-144 23 0" sizen="48 5" text="Solo" style="TextButtonBig" action="menu_solo" valign="center2" halign="left" scriptevents="1"/>
		<quad posn="-85 23 0" sizen="9 9" style="Icons128x128_1" substyle="Solo" valign="center" halign="right"/>
	</frame>
	<frame posn="0 -14" hidden="1">
		<label posn="-144 23 0" sizen="48 5" text="Multiplayer" style="TextButtonBig" valign="center2" halign="left" scriptevents="1"/>
		<quad posn="-85 23 0" sizen="9 9" style="Icons128x128_1" substyle="Multiplayer" valign="center" halign="right"/>
	</frame>	
	<frame posn="0 -58">
		<label posn="-144 23 0" sizen="48 5" text="Local Play" style="TextButtonBig" action="menu_local" valign="center2" halign="left" scriptevents="1"/>
		<quad posn="-85 23 0" sizen="9 9" style="Icons128x128_1" substyle="Hotseat" valign="center" halign="right"/>
	</frame>
	<frame posn="0 -72">
		<label posn="-144 23 0" sizen="48 5" text="Editors" style="TextButtonBig" action="menu_editors" valign="center2" halign="left" scriptevents="1"/>
		<quad posn="-85 23 0" sizen="9 9" style="Icons128x128_1" substyle="Editor" valign="center" halign="right"/>
	</frame>
	<frame posn="0 -86">
		<label posn="-144 23 0" sizen="48 5" text="Profile" style="TextButtonBig" action="menu_profile" valign="center2" halign="left" scriptevents="1"/>
		<quad posn="-85 23 0" sizen="9 9" style="Icons128x128_1" substyle="Profile" valign="center" halign="right"/>
	</frame>
</frame>
<label posn="-160 -72 0" sizen="60 5" text="Quit" style="CardMain_Quit" action="quit" scriptevents="1"/>
More will come, but not before weeks I'm afraid.

User avatar
Electron
Posts: 705
Joined: 15 Jun 2010, 18:02
Contact:

Re: A tutorial somewhere?

Post by Electron » 16 Sep 2014, 17:51

Thanks again, noyranea, for this very helpful sample.

Everybody knows the menu from the game and therefore it was easy to understand what the sample "code" does.
It also shows some nice possibilities and just playing only some minutes with the styles and attributes, you realize how easy to use the Interface Designer really is.

Post Reply

Return to “Interface Designer”

Who is online

Users browsing this forum: No registered users and 1 guest