Help request : scrolling menu

Give your feedback about the Interface Designer in this section

Moderator: NADEO

Trylk255
Posts: 463
Joined: 13 Jul 2011, 13:48
Location: Amérique du Nord > Canada > Québec
Contact:

Help request : scrolling menu

Post by Trylk255 » 22 Mar 2015, 15:00

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.

User avatar
Rots
Translator
Translator
Posts: 1159
Joined: 01 Sep 2010, 14:39
Location: España, Barcelona

Re: Help request : scrolling menu

Post by Rots » 22 Mar 2015, 15:07

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
Image
Image
Image
TrackMania Original brought me here... Here I am since 2006

Trylk255
Posts: 463
Joined: 13 Jul 2011, 13:48
Location: Amérique du Nord > Canada > Québec
Contact:

Re: Help request : scrolling menu

Post by Trylk255 » 22 Mar 2015, 15:15

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

Trylk255
Posts: 463
Joined: 13 Jul 2011, 13:48
Location: Amérique du Nord > Canada > Québec
Contact:

Re: Help request : scrolling menu

Post by Trylk255 » 22 Mar 2015, 15:20

A little bit help ? pls ?

User avatar
Rots
Translator
Translator
Posts: 1159
Joined: 01 Sep 2010, 14:39
Location: España, Barcelona

Re: Help request : scrolling menu

Post by Rots » 22 Mar 2015, 19:40

What do you want to do exactly?
Image
Image
Image
TrackMania Original brought me here... Here I am since 2006

Trylk255
Posts: 463
Joined: 13 Jul 2011, 13:48
Location: Amérique du Nord > Canada > Québec
Contact:

Re: Help request : scrolling menu

Post by Trylk255 » 23 Mar 2015, 16:57

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.

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

Re: Help request : scrolling menu

Post by noyranea » 23 Mar 2015, 17:07

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

Trylk255
Posts: 463
Joined: 13 Jul 2011, 13:48
Location: Amérique du Nord > Canada > Québec
Contact:

Re: Help request : scrolling menu

Post by Trylk255 » 23 Mar 2015, 17:31

I tried to add the scrolling part.

Part wich is moving.

User avatar
Rots
Translator
Translator
Posts: 1159
Joined: 01 Sep 2010, 14:39
Location: España, Barcelona

Re: Help request : scrolling menu

Post by Rots » 23 Mar 2015, 19:40

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
Image
Image
Image
TrackMania Original brought me here... Here I am since 2006

Trylk255
Posts: 463
Joined: 13 Jul 2011, 13:48
Location: Amérique du Nord > Canada > Québec
Contact:

Re: Help request : scrolling menu

Post by Trylk255 » 10 Apr 2015, 21:15

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".

Post Reply

Return to “Interface Designer”

Who is online

Users browsing this forum: No registered users and 2 guests