game texts glow, tweaked ui buttons
This commit is contained in:
committed by
Diego Marcos
parent
09816c80cf
commit
e01baa7f14
@@ -1,6 +1,6 @@
|
||||
<a-mixin
|
||||
id="gameMenuButton"
|
||||
mixin="slice"
|
||||
mixin="bigMenuButton"
|
||||
animation__mouseenter="property: components.slice9.material.color; type: color; from: #050505; to: #067197; startEvents: mouseenter; pauseEvents: mouseleave; dur: 150"
|
||||
animation__mouseleave="property: components.slice9.material.color; type: color; from: #067197; to: #050505; startEvents: mouseleave; pauseEvents: mouseenter; dur: 150"
|
||||
slice9="width: 1; height: 0.27; padding: 0.04"></a-mixin>
|
||||
@@ -9,7 +9,7 @@
|
||||
id="gameMenuButtonText"
|
||||
mixin="font"
|
||||
position="0 -0.07 0.01"
|
||||
text="align: center; wrapCount: 17; color: #F0F0F0"></a-mixin>
|
||||
text="align: center; wrapCount: 17; color: #FFF"></a-mixin>
|
||||
|
||||
<!-- Titles. -->
|
||||
<a-entity id="inGameMenuTitles" position="0 1.7 -2.3">
|
||||
|
||||
@@ -229,13 +229,13 @@
|
||||
id="playButton"
|
||||
play-sound="event: mouseenter; sound: #hoverSound; volume: 0.03"
|
||||
play-sound__click="event: click; sound: #confirmSound; volume: 0.25"
|
||||
position="0 -0.51 0"
|
||||
position="0 -0.561 0"
|
||||
proxy-event="event: click; to: a-scene; as: playbuttonclick"
|
||||
material="shader: flat; src: #playImg; transparent: true; color: #CCC"
|
||||
width="0.4"
|
||||
height="0.2"
|
||||
animation__mouseenter1="property: components.material.material.color; type: color; from: #CCC; to: #FFF; startEvents: mouseenter; pauseEvents: mouseleave; dur: 150"
|
||||
animation__mouseleave1="property: components.material.material.color; type: color; from: #FFF; to: #CCC; startEvents: mouseleave; pauseEvents: mouseenter; dur: 150"
|
||||
material="shader: flat; src: #playImg; transparent: true; color: #DDD"
|
||||
width="0.5"
|
||||
height="0.25"
|
||||
animation__mouseenter1="property: components.material.material.color; type: color; from: #DDD; to: #FFF; startEvents: mouseenter; pauseEvents: mouseleave; dur: 150"
|
||||
animation__mouseleave1="property: components.material.material.color; type: color; from: #FFF; to: #DDD; startEvents: mouseleave; pauseEvents: mouseenter; dur: 150"
|
||||
animation__mouseenter2="property: scale; from: 1 1 1; to: 1.1 1.1 1.1; startEvents: mouseenter; pauseEvents: mouseleave; dur: 150"
|
||||
animation__mouseleave2="property: scale; to: 1 1 1; from: 1.1 1.1 1.1; startEvents: mouseleave; pauseEvents: mouseenter; dur: 150"
|
||||
bind-toggle__raycastable="menuActive && !!menuSelectedChallenge.id && !genreMenuOpen"
|
||||
@@ -315,7 +315,7 @@
|
||||
bind-toggle__raycastable="menuActive && !genreMenuOpen && !isSearching && !genre"
|
||||
bind__visible="menuActive && !genreMenuOpen && !isSearching && !genre"
|
||||
proxy-event="event: click; to: a-scene; as: genremenuopen">
|
||||
<a-entity mixin="font" text="align: center; color: #AAA; wrapCount: 20; value: BROWSE GENRES" position="0 -0.07 0.01"></a-entity>
|
||||
<a-entity mixin="font" text="align: center; color: #FFF; wrapCount: 20; value: BROWSE GENRES" position="0 -0.07 0.01"></a-entity>
|
||||
</a-entity>
|
||||
|
||||
<a-entity id="clearGenreButton"
|
||||
@@ -323,7 +323,7 @@
|
||||
bind-toggle__raycastable="menuActive && !!genre"
|
||||
bind__visible="menuActive && !!genre"
|
||||
proxy-event="event: click; to: a-scene; as: searchclear">
|
||||
<a-entity mixin="font" text="align: center; color: #AAA; wrapCount: 20; value: CLEAR GENRE" position="0 -0.07 0.01"></a-entity>
|
||||
<a-entity mixin="font" text="align: center; color: #FFF; wrapCount: 20; value: CLEAR GENRE" position="0 -0.07 0.01"></a-entity>
|
||||
</a-entity>
|
||||
</a-entity>
|
||||
|
||||
@@ -334,7 +334,7 @@
|
||||
bind__visible="genreMenuOpen"
|
||||
position="0 0.2 -1.9"
|
||||
proxy-event="event: click; to: a-scene; as: genremenuclose">
|
||||
<a-entity mixin="font" text="align: center; color: #AAA; wrapCount: 20; value: BACK" position="0 -0.07 0.01"></a-entity>
|
||||
<a-entity mixin="font" text="align: center; color: #FFF; wrapCount: 20; value: BACK" position="0 -0.07 0.01"></a-entity>
|
||||
</a-entity>
|
||||
|
||||
<a-entity id="searchButtons" position="0.55 0.2 -1.9">
|
||||
@@ -343,7 +343,7 @@
|
||||
bind-toggle__raycastable="menuActive && !genreMenuOpen && !isSearching && !search.query"
|
||||
bind__visible="menuActive && !genreMenuOpen && !isSearching && !search.query"
|
||||
proxy-event="event: click; to: a-scene; as: keyboardopen">
|
||||
<a-entity mixin="font" text="align: center; color: #AAA; wrapCount: 20; value: SEARCH SONGS" position="0 -0.07 0.01"></a-entity>
|
||||
<a-entity mixin="font" text="align: center; color: #FFF; wrapCount: 20; value: SEARCH SONGS" position="0 -0.07 0.01"></a-entity>
|
||||
</a-entity>
|
||||
|
||||
<a-entity id="searchClearButton"
|
||||
@@ -351,6 +351,6 @@
|
||||
bind-toggle__raycastable="menuActive && !!search.query && !isSearching"
|
||||
bind__visible="menuActive && !!search.query && !isSearching"
|
||||
proxy-event="event: click; to: a-scene; as: searchclear">
|
||||
<a-entity mixin="font" text="align: center; color: #AAA; wrapCount: 20; value: CLEAR SEARCH" position="0 -0.07 0.01"></a-entity>
|
||||
<a-entity mixin="font" text="align: center; color: #FFF; wrapCount: 20; value: CLEAR SEARCH" position="0 -0.07 0.01"></a-entity>
|
||||
</a-entity>
|
||||
</a-entity>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<a-mixin
|
||||
id="scoreText"
|
||||
mixin="font"
|
||||
text="color: #88A; letterSpacing: -2; align: center"></a-mixin>
|
||||
text="color: #FFF; letterSpacing: -2; align: center"></a-mixin>
|
||||
|
||||
<a-entity
|
||||
id="scoreContainer"
|
||||
|
||||
Reference in New Issue
Block a user