Page 1 of 2

Help request : scrolling menu

Posted: 22 Mar 2015, 15:00
by Trylk255
Hello guys. I have a little problem...I want to create a scrolling menu, but I don't know how to do this. This is my first time I use Interface designer. Thanks.

Re: Help request : scrolling menu

Posted: 22 Mar 2015, 15:07
by Rots
You will have to make use of maniascript and animations. Only with interface designer you won't be able to do it.

http://doc.maniaplanet.com/creation/man ... alink.html

Re: Help request : scrolling menu

Posted: 22 Mar 2015, 15:15
by Trylk255
Uh...

Code: Select all


<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<manialink version="2">
	<stylesheet>
		<style id="TitleLogo" posn="-149 85" style="TitleLogos" substyle="Title" sizen="68 26"/>
		<style id="BgTitleMenu" posn="-150 100 -25" opacity="0.75" style="Bgs1" substyle="BgWindow2" sizen="70 200"/>
		<style id="PlanetLogo" posn="-146 52" style="Icons128x128_1" substyle="Vehicles" sizen="16 16"/>
		<style id="LabelWelcome" posn="-128 49" style="TextRankingsBig" sizen="40 5"/>
		<style id="LabelActivity" posn="-128 43" style="TextSubTitle1" sizen="44 5"/>
		
		<style id="FrameMenuButtons" posn="-144 27.5"/>	
		<style id="FrameSolo"/>		
		<style id="FrameMulti" posn="0 -14"/>	
		<style id="FrameLocalPlay" posn="0 -58"/>		
		<style id="FrameEditors" posn="0 -72"/>		
		<style id="FrameProfile" posn="0 -86"/>		
		
		<style id="ButtonSolo ButtonMulti ButtonLocalPlay ButtonEditors ButtonProfile" posn="0 -4.5" style="TextButtonBig" sizen="48 5" valign="center2"/>
		<style id="ButtonQuit" posn="-160 -72" style="CardMain_Quit" sizen="60 5"/>
		
		<style posn="59 -4.5" style="Icons128x128_1" sizen="9 9" halign="right" valign="center">
			<style id="QuadIconSolo" 		substyle="Solo" />
			<style id="QuadIconMulti" 		substyle="Multiplayer" />
			<style id="QuadIconLocalPlay" 	substyle="Hotseat" />
			<style id="QuadIconEditors" 	substyle="Editor" />
			<style id="QuadIconProfile" 	substyle="Profile" />
		</style>
	</stylesheet>
	<quad id="TitleLogo" posn="-37 70" sizen="45 15"/>
	<quad id="BgTitleMenu" posn="-161 91" sizen="323 21"/><quad posn="-14.5 64 0" sizen="46 14" bgcolor="FFFA" halign="center" valign="center" id="BgTitleMenu" rot="180"/>
	<frame>
		<quad id="PlanetLogo" posn="-152 68"/>
		<label id="LabelWelcome" text="Welcome!"/>
		<label id="LabelActivity" text="Choose an activity"/>
	</frame>
	<frame id="FrameMenuButtons">
		<frame id="FrameSolo">
			<label id="ButtonSolo" text="Solo" action="menu_solo" scriptevents="1"/>
			<quad id="QuadIconSolo" posn="41 -4"/>
		</frame>
		<frame id="FrameMulti" hidden="1">
			<label id="ButtonMulti" text="Multiplayer" scriptevents="1"/>
			<quad id="QuadIconMulti"/>
		</frame>
		<frame id="FrameLocalPlay">
			<label id="ButtonLocalPlay" text="Local Play" action="menu_local" scriptevents="1"/>
			<quad id="QuadIconLocalPlay"/>
		</frame>
		<frame id="FrameEditors">
			<label id="ButtonEditors" text="Editors" action="menu_editors" scriptevents="1" posn="-2 -3"/>
			<quad id="QuadIconEditors"/>
		</frame>
		<frame id="FrameProfile">
			<label id="ButtonProfile" text="Profile" action="menu_profile" scriptevents="1"/>
			<quad id="QuadIconProfile"/>
		</frame>
	</frame>
	<label id="ButtonQuit" text="Quit" action="quit" scriptevents="1"/>
</manialink>

https://www.dropbox.com/s/7khts2a05yx9e ... t%20ID.png

Re: Help request : scrolling menu

Posted: 22 Mar 2015, 15:20
by Trylk255
A little bit help ? pls ?

Re: Help request : scrolling menu

Posted: 22 Mar 2015, 19:40
by Rots
What do you want to do exactly?

Re: Help request : scrolling menu

Posted: 23 Mar 2015, 16:57
by Trylk255
Uh... I want to create a couple of submenu, but this will be easier to understand once i will have done a picture on an image editr (such as paint.net (etc)) to show how i want it.


Oh yeah, i tried to add scrolling menus but the Interface designer and maniaplanet crashed.

Re: Help request : scrolling menu

Posted: 23 Mar 2015, 17:07
by noyranea
Hello Trylk,

I'd be glad to give you some advice once you've shared a picture of what you'd like.

Also, the Interface Designer crash is obviously not a feature. Even though a couple of problems have been fixed recently (and the fixes aren't available yet), I'd be glad to know what you did before it crashed. You could post it in your thread, or there : viewtopic.php?f=468&t=30682.

Have a nice day,

-- noyranea

Re: Help request : scrolling menu

Posted: 23 Mar 2015, 17:31
by Trylk255
I tried to add the scrolling part.

Part wich is moving.

Re: Help request : scrolling menu

Posted: 23 Mar 2015, 19:40
by Rots
Fyi have a look at this, this are the basics on scripting with manialink related stuff. Show, hide, move quads, animations. A scrolling would be fairly easy to do but atm I have no time to show an example.

http://konte.org/trackmania/maniascript ... Manialinks

Re: Help request : scrolling menu

Posted: 10 Apr 2015, 21:15
by Trylk255
What you can do is to make it step by step. You write in a text file the text you wanna write about it, then you continue this file until you have done then copy-paste in "Reply".