recoloring ui stuff

This commit is contained in:
Diego F. Goberna
2018-12-07 22:39:54 +01:00
parent 94b8361fc1
commit 3d3b1a4e85
11 changed files with 35 additions and 13 deletions

View File

@@ -13,8 +13,8 @@
<!-- Titles. -->
<a-entity id="inGameMenuTitles" position="0 1.7 -2.3">
<a-entity mixin="gameMenuButtonText" text="value: GAME OVER; color: #fff; width: 4" bind__visible="isGameOver"></a-entity>
<a-entity mixin="gameMenuButtonText" text="value: SONG CLEARED; color: #66d8fd; width: 4" bind__visible="isVictory" position="0 0.2 0"></a-entity>
<a-entity mixin="gameMenuButtonText" text="value: GAME OVER; color: {{ COLORS.UI_ACCENT2 }}; width: 4" bind__visible="isGameOver"></a-entity>
<a-entity mixin="gameMenuButtonText" text="value: SONG CLEARED; color: {{ COLORS.UI_ACCENT }}; width: 4" bind__visible="isVictory" position="0 0.2 0"></a-entity>
</a-entity>
<a-entity
@@ -67,9 +67,9 @@
<a-entity id="gameMenuSongInfo">
<a-entity class="gameMenuSongSubName" position="0 0.058 0"
mixin="font" text="wrapCount: 40; align: center; color: #FF185B" bind__text="value: menuSelectedChallenge.songSubName"></a-entity>
mixin="font" text="wrapCount: 40; align: center; color: {{ COLORS.UI_ACCENT }}" bind__text="value: menuSelectedChallenge.songSubName"></a-entity>
<a-entity class="gameMenuSongName" position="0 -0.031 0"
mixin="font" text="align: center; color: #FF185B; wrapCount: 22; baseline: top; lineHeight: 36; width: 0.81"
mixin="font" text="align: center; color: {{ COLORS.UI_ACCENT }}; wrapCount: 22; baseline: top; lineHeight: 36; width: 0.81"
bind__text="value: menuSelectedChallenge.songName"></a-entity>
</a-entity>
</a-entity>

View File

@@ -33,7 +33,7 @@
mixin="font"
bind__text="value: leaderboardNames"
bind__visible="!leaderboardQualified && !leaderboardEmpty"
text="baseline: center; width: 1.2; anchor: left; color: #00acfc; wrapCount: 28; lineHeight: 53;"
text="baseline: center; width: 1.2; anchor: left; color: {{ COLORS.UI_ACCENT }}; wrapCount: 28; lineHeight: 53;"
position="-0.7 -0.16 0.001"></a-entity>
<a-entity

View File

@@ -131,7 +131,8 @@
<a-entity id="soundboxingLink"
bind__visible="!menuSelectedChallenge.id && !isSearching && !genre"
position="0.95 -0.57 0.01">
position="0.9 -0.5 0.01">
<a-entity id="soundboxingButton"
link="href: https://webvr.soundboxing.co/; on: click"
geometry="primitive:plane; width: 0.38; height: 0.19;"
@@ -146,7 +147,7 @@
mixin="font"
animation__show="property: components.text.material.uniforms.opacity.value; from: 0; to: 1; startEvents: show; dur: 100"
animation__hide="property: components.text.material.uniforms.opacity.value; from: 1; to: 0; startEvents: hide; dur: 100"
text="value: If you liked Super Saber, you'll love Soundboxing! Play it now instantly.; opacity: 0; baseline: bottom; width: 0.7; wrapCount: 24; align: center"></a-entity>
text="value: If you liked Super Saber,\nyou'll love Soundboxing!\nPlay it now instantly.; letterSpacing: 2; opacity: 0; baseline: bottom; width: 0.7; wrapCount: 28; align: center; color: #fa83d9;"></a-entity>
</a-entity>
</a-entity>
</a-entity>

View File

@@ -72,7 +72,7 @@
position="0 -19 5"></a-entity>
<a-entity
id="stageobj"
id="stageObj"
mixin="gameoverAnimation"
obj-model="obj: #stageNormalObj"
materials="name: stageNormal"></a-entity>
@@ -114,7 +114,7 @@
<a-entity id="logo" bind__visible="menuActive || isVictory" position="0 6 -7.5" rotation="90 0 0">
<a-entity id="logoGodraysObj" obj-model="obj: #logoGodraysObj" materials="name: logoadditive"></a-entity>
<a-entity id="logoObj" obj-model="obj: #logoObj" materials="name: logo"></a-entity>
<a-entity id="logoBody" obj-model="obj: #logoObj" materials="name: logo"></a-entity>
<a-entity id="logoFrontU" obj-model="obj: #logofrontUObj" materials="name: logo" logoflicker="delay: 1200" bind__logoflicker="active: menuActive || isVictory"></a-entity>
<a-entity id="logoGlowObj" obj-model="obj: #logoGlowObj" materials="name: logoadditive"></a-entity>
</a-entity>