28
« on: March 21, 2018, 06:19:53 PM »
try this in a layout file, let me know how it looks and whats wrong with it, and i'll see if i can fix it, im no expert i've only done this a couple of times
<layout width="1680" height="1050" font="fonts/OpenSans.ttf" loadFontSize="72" fontColor="dedede">
<!----------------------------------------------------------------------------------------------------------------------------------->
<!-- Sounds -->
<!----------------------------------------------------------------------------------------------------------------------------------->
<sound type="load" src="sounds/load.wav" />
<sound type="unload" src="sounds/unload.wav" />
<sound type="highlight" src="sounds/highlight.wav" />
<sound type="select" src="sounds/select.wav" />
<!-- <image src="images/mainbg.jpg" alpha="1" width="1920" height="1080" layer="1"> </image> -->
<!----------------------------------------------------------------------------------------------------------------------------------->
<!-- menuIndex 0 -->
<!----------------------------------------------------------------------------------------------------------------------------------->
<menu type="custom" imageType="logo" orientation="vertical" scrollTime=".2" scrollAcceleration=".02" >
<itemDefaults x="center" y="center" xOffset="-210" fontSize="56" width="400" layer="12"/>
<item yOffset="0" alpha="0" />
<item yOffset="-560" alpha="1">
<onMenuEnter menuIndex="0">
<set duration=".15">
<animate type="alpha" from="0" to="1" />
</set>
</onMenuEnter>
<onMenuExit menuIndex="0">
<set duration=".15">
<animate type="alpha" to="0" />
</set>
</onMenuExit>
</item>
<item yOffset="-420" alpha="1">
<onMenuEnter menuIndex="0">
<set duration=".15">
<animate type="alpha" from="0" to="1" />
</set>
</onMenuEnter>
<onMenuExit menuIndex="0">
<set duration=".15">
<animate type="alpha" to="0" />
</set>
</onMenuExit>
</item>
<item yOffset="-280" alpha="1">
<onMenuEnter menuIndex="0">
<set duration=".15">
<animate type="alpha" from="0" to="1" />
</set>
</onMenuEnter>
<onMenuExit menuIndex="0">
<set duration=".15">
<animate type="alpha" to="0" />
</set>
</onMenuExit>
</item>
<item yOffset="-140" alpha="1" layer="12">
<onMenuEnter menuIndex="0">
<set duration=".15">
<animate type="alpha" from="0" to="1" />
</set>
</onMenuEnter>
<onMenuExit menuIndex="0">
<set duration=".15">
<animate type="alpha" to="0"/>
</set>
</onMenuExit>
</item>
<item xOffset="-220" yOffset="0" width="420" layer="18" alpha="1" selected="true">
<onMenuEnter menuIndex="0">
<set duration=".15">
<animate type="alpha" from="0" to="1" />
</set>
</onMenuEnter>
<onMenuExit menuIndex="0">
<set duration=".15">
<animate type="alpha" to="0" />
</set>
</onMenuExit>
</item>
<item yOffset="140" layer="12">
<onMenuEnter menuIndex="0">
<set duration=".15">
<animate type="alpha" from="0" to="1" />
</set>
</onMenuEnter>
<onMenuExit menuIndex="0">
<set duration=".15">
<animate type="alpha" to="0" />
</set>
</onMenuExit>
</item>
<item yOffset="280" >
<onMenuEnter menuIndex="0">
<set duration=".15">
<animate type="alpha" from="0" to="1" />
</set>
</onMenuEnter>
<onMenuExit menuIndex="0">
<set duration=".15">
<animate type="alpha" to="0" />
</set>
</onMenuExit>
</item>
<item yOffset="420" >
<onMenuEnter menuIndex="0">
<set duration=".15">
<animate type="alpha" from="0" to="1" />
</set>
</onMenuEnter>
<onMenuExit menuIndex="0">
<set duration=".15">
<animate type="alpha" to="0" />
</set>
</onMenuExit>
</item>
<item yOffset="560" >
<onMenuEnter menuIndex="0">
<set duration=".15">
<animate type="alpha" from="0" to="1" />
</set>
</onMenuEnter>
<onMenuExit menuIndex="0">
<set duration=".15">
<animate type="alpha" to="0" />
</set>
</onMenuExit>
</item>
<item yOffset="600" alpha="0" />
</menu>
<!-- wheels collection menu-->
<menu type="custom" imageType="logo" orientation="vertical" scrollTime=".2" scrollAcceleration=".02" >
<itemDefaults x="20" y="center" xOffset="20" fontSize="56" width="400" layer="12"/>
<item yOffset="0" alpha="0" />
<item yOffset="-560" alpha="1">
<onMenuEnter menuIndex="1">
<set duration=".15">
<animate type="alpha" from="0" to="1" />
</set>
</onMenuEnter>
<onMenuExit menuIndex="1">
<set duration=".15">
<animate type="alpha" to="0" />
</set>
</onMenuExit>
</item>
<item yOffset="-420" alpha="1">
<onMenuEnter menuIndex="i">
<set duration=".15">
<animate type="alpha" from="0" to="1" />
</set>
</onMenuEnter>
<onMenuExit menuIndex="1">
<set duration=".15">
<animate type="alpha" to="0" />
</set>
</onMenuExit>
</item>
<item yOffset="-280" alpha="1">
<onMenuEnter menuIndex="i">
<set duration=".15">
<animate type="alpha" from="0" to="1" />
</set>
</onMenuEnter>
<onMenuExit menuIndex="1">
<set duration=".15">
<animate type="alpha" to="0" />
</set>
</onMenuExit>
</item>
<item yOffset="-140" alpha="1" layer="12">
<onMenuEnter menuIndex="1">
<set duration=".15">
<animate type="alpha" from="0" to="1" />
</set>
</onMenuEnter>
<onMenuExit menuIndex="1">
<set duration=".15">
<animate type="alpha" to="0"/>
</set>
</onMenuExit>
</item>
<item xOffset="20" yOffset="0" width="420" layer="18" alpha="1" selected="true">
<onMenuEnter menuIndex="1">
<set duration=".15">
<animate type="alpha" from="0" to="1" />
</set>
</onMenuEnter>
<onMenuExit menuIndex="1">
<set duration=".15">
<animate type="alpha" to="0" />
</set>
</onMenuExit>
</item>
<item yOffset="140" layer="12">
<onMenuEnter menuIndex="1">
<set duration=".15">
<animate type="alpha" from="0" to="1" />
</set>
</onMenuEnter>
<onMenuExit menuIndex="1">
<set duration=".15">
<animate type="alpha" to="0" />
</set>
</onMenuExit>
</item>
<item yOffset="280" >
<onMenuEnter menuIndex="1">
<set duration=".15">
<animate type="alpha" from="0" to="1" />
</set>
</onMenuEnter>
<onMenuExit menuIndex="1">
<set duration=".15">
<animate type="alpha" to="0" />
</set>
</onMenuExit>
</item>
<item yOffset="420" >
<onMenuEnter menuIndex="1">
<set duration=".15">
<animate type="alpha" from="0" to="1" />
</set>
</onMenuEnter>
<onMenuExit menuIndex="1">
<set duration=".15">
<animate type="alpha" to="0" />
</set>
</onMenuExit>
</item>
<item yOffset="560" >
<onMenuEnter menuIndex="1">
<set duration=".15">
<animate type="alpha" from="0" to="1" />
</set>
</onMenuEnter>
<onMenuExit menuIndex="1">
<set duration=".15">
<animate type="alpha" to="0" />
</set>
</onMenuExit>
</item>
<item yOffset="600" alpha="0" />
</menu>
<!-- video for both menus-->
<reloadableVideo imageType="screenshot" x="0" y="0" alpha="1" width="stretch" height="stretch" layer="2">
<onMenuEnter menuIndex="0">
<set duration="0">
<animate type="alpha" to="1" />
</set>
</onMenuEnter>
<onMenuExit menuIndex="0">
<set duration="0">
<animate type="alpha" to="0"/>
</set>
</onMenuExit>
</reloadableVideo>
</layout>