Altered font rendering to allow black. Still see bleeding effects. Might need to do per-pixel alpha values.

This commit is contained in:
emb
2015-01-11 18:36:07 -06:00
parent a101f851e9
commit 1609cf65ad
10 changed files with 18 additions and 45 deletions

View File

@@ -1,15 +1,12 @@
<layout width="1920" height="1080" font="Lato-Black.ttf" fontColor="ecf0f1">
<layout width="1920" height="1080" font="Roboto-Bold.ttf" fontColor="c0842b">
<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="000000" backgroundAlpha="FF" x="0" y="0" height="stretch" width="stretch" layer="0" alpha="0.3" />
<container backgroundColor="C0392B" backgroundAlpha="1.0" x="0" y="0" height="stretch" width="stretch" layer="0"/>
<!-- border for menu -->
<container backgroundColor="c0392b" backgroundAlpha="99" x="center" y="0" height="stretch" width="center" layer="1" alpha="0.3" />
<menu orientation="horizontal" algorithm="easeincircular" xOffset="500" y="0" width="center" height="stretch" speed="0.05" acceleration="0.05" layer="3">
<itemDefaults spacing="10" x="center" height="30" font-size="30" alpha="0.5" xOffset="20" yOrigin="center" />
<item index="start" height="0" spacing="0" alpha="0"/>

View File

@@ -1,31 +0,0 @@
<layout width="1920" height="1080" font="Age.otf" fontColor="ecf0f1">
<!-- border for menu -->
<container backgroundColor="c0392b" backgroundAlpha="99" x="0" y="0" height="stretch" width="stretch" layer="0" alpha="0.3" />
<!-- logo -->
<image x="center" y="center" height="150" xOrigin="center" yOrigin="center" src="logo.png" layer="1" alpha="1">
<onEnter>
<set duration=".5">
<animate type="alpha" from="0" to="1" algorithm="easeinquadratic"/>
</set>
</onEnter>
<onIdle>
<set duration=".5">
<animate type="alpha" from="1" to=".5" algorithm="easeinquadratic"/>
</set>
<set duration=".5">
<animate type="alpha" from=".5" to="1" algorithm="easeinquadratic"/>
</set>
</onIdle>
<onExit>
<set duration=".5">
<animate type="alpha" from="1" to="0" algorithm="easeinquadratic"/>
</set>
</onExit>
</image>
</layout>