mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-27 00:58:51 +01:00
70 lines
2.9 KiB
XML
70 lines
2.9 KiB
XML
<layout width="1920" height="1080" font="Roboto-Bold.ttf" loadFontSize="32" fontColor="eeeeee">
|
|
<sound type="load" src="load.wav" />
|
|
<sound type="unload" src="unload.wav" />
|
|
<sound type="highlight" src="highlight.wav" />
|
|
<sound type="select" src="select.wav" />
|
|
|
|
<!-- background -->
|
|
<container backgroundColor="C0392B" backgroundAlpha="1.0" x="0" y="0" height="stretch" width="stretch" layer="0"/>
|
|
|
|
<!-- Item name and border -->
|
|
<container backgroundColor="FFFFFF" backgroundAlpha="0.3" x="0" y="bottom" yOrigin="center" yOffset="-100" height="100" width="stretch" layer="4"/>
|
|
<reloadableText type="title" x="20" y="bottom" yOrigin="center" yOffset="-90" height="80" layer="5">
|
|
<onHighlightEnter>
|
|
<set duration=".2">
|
|
<animate type="x" from="right" to="20" algorithm="easeinquadratic"/>
|
|
<animate type="xOrigin" from="right" to="left" algorithm="easeinquadratic"/>
|
|
</set>
|
|
</onHighlightEnter>
|
|
<onHighlightExit>
|
|
<set duration=".2">
|
|
<animate type="x" from="20" to="left" algorithm="easeinquadratic"/>
|
|
<animate type="xOrigin" from="left" to="right" algorithm="easeinquadratic"/>
|
|
</set>
|
|
</onHighlightExit>
|
|
</reloadableText>
|
|
|
|
<reloadableVideo width="200" height="200" imageType="title">
|
|
</reloadableVideo>
|
|
<!-- menu -->
|
|
<menu type="custom" imageType="title" algorithm="easeincircular" xOffset="500" y="10" width="center" height="1040" speed="0.05" acceleration="0.05">
|
|
<itemDefaults spacing="10" y="center" yOrigin="center" fontSize="35" alpha="0.5" layer="5"/>
|
|
<item height="300" alpha="0.5" xOrigin="left" x="left">
|
|
<onMenuExit>
|
|
<set duration=".25">
|
|
<animate type="alpha" from="1" to="0" algorithm="easeincircular"/>
|
|
</set>
|
|
</onMenuExit>
|
|
</item>
|
|
<item alpha="1" x="center" xOrigin="center" selected="true" height="700">
|
|
<onMenuExit>
|
|
<set duration=".25">
|
|
<animate type="alpha" from="1" to="0.25" algorithm="easeincircular"/>
|
|
</set>
|
|
</onMenuExit>
|
|
<onMenuEnter>
|
|
<set duration=".25">
|
|
<animate type="alpha" from="0.25" to="1" algorithm="easeincircular"/>
|
|
</set>
|
|
</onMenuEnter>
|
|
</item>
|
|
<item height="30" alpha="0.5" xOrigin="right" x="right">
|
|
<onMenuExit>
|
|
<set duration=".25">
|
|
<animate type="alpha" from="1" to="0" algorithm="easeincircular"/>
|
|
</set>
|
|
</onMenuExit>
|
|
</item>
|
|
</menu>
|
|
<menu algorithm="easeincircular" x="1500" y="10" width="center" height="1040" speed="0.05" acceleration="0.05">
|
|
<itemDefaults spacing="10" x="1500" height="80" fontSize="50" alpha="0.5" layer="5" xOrigin="center"/>
|
|
<item alpha="0" index="start" height="0" />
|
|
<item alpha="1" index="first" height="100" fontSize="70" selected="true"/>
|
|
<item alpha="0" index="end" height="0" />
|
|
</menu>
|
|
</layout>
|
|
|
|
|
|
|
|
|