remove overlay classes

This commit is contained in:
Kevin Ngo
2018-12-11 03:54:30 -08:00
parent b2fce3efa4
commit 6ee2cf9141
7 changed files with 1 additions and 11 deletions

View File

@@ -147,7 +147,6 @@
<a-entity <a-entity
id="controllerRig" id="controllerRig"
class="overlay"
proxy-event="event: recentered; to: #cameraRig; captureBubbles: true; as: recenter"> proxy-event="event: recentered; to: #cameraRig; captureBubbles: true; as: recenter">
{% macro saber (hand, otherHand, bladeColor, beamColor) %} {% macro saber (hand, otherHand, bladeColor, beamColor) %}
<a-entity id="{{ hand }}Hand" <a-entity id="{{ hand }}Hand"
@@ -227,7 +226,6 @@
<a-entity <a-entity
id="{{ hand }}CursorMesh" id="{{ hand }}CursorMesh"
class="overlay"
mixin="cursorMesh" mixin="cursorMesh"
bind__cursor-mesh="active: {{ hand }}RaycasterActive && !isPlaying" bind__cursor-mesh="active: {{ hand }}RaycasterActive && !isPlaying"
cursor-mesh="cursorEl: #{{ hand }}Hand" cursor-mesh="cursorEl: #{{ hand }}Hand"
@@ -241,7 +239,6 @@
<a-entity <a-entity
id="stepback" id="stepback"
class="overlay"
obj-model="obj: #stepbackObj" obj-model="obj: #stepbackObj"
position="0 1.6 -1.55" position="0 1.6 -1.55"
material="shader: flat; src: #atlasImg; transparent: true; opacity: 0"></a-entity> material="shader: flat; src: #atlasImg; transparent: true; opacity: 0"></a-entity>
@@ -255,7 +252,6 @@
raycaster="objects: [raycastable]"></a-entity> raycaster="objects: [raycastable]"></a-entity>
<a-entity <a-entity
id="mouseCursorMesh" id="mouseCursorMesh"
class="overlay"
mixin="cursorMesh" mixin="cursorMesh"
cursor-mesh="cursorEl: #mouseCursor" cursor-mesh="cursorEl: #mouseCursor"
bind__cursor-mesh="active: menuActive"></a-entity> bind__cursor-mesh="active: menuActive"></a-entity>

View File

@@ -20,7 +20,6 @@
<a-entity <a-entity
id="gameMenu" id="gameMenu"
class="overlay"
bind__visible="isGameOver || isPaused || isVictory" bind__visible="isGameOver || isPaused || isVictory"
position="0 1.1 -2" position="0 1.1 -2"
play-sound="event: mouseenter; sound: #hoverSound; volume: 0.03" play-sound="event: mouseenter; sound: #hoverSound; volume: 0.03"

View File

@@ -1,6 +1,6 @@
<a-entity <a-entity
id="leaderboard" id="leaderboard"
class="overlay accuracyTextCounterSubscribe" class="accuracyTextCounterSubscribe"
bind__animation="enabled: isVictory" bind__animation="enabled: isVictory"
bind__scale="isVictory && '0 0 0' || '1 1 1'" bind__scale="isVictory && '0 0 0' || '1 1 1'"
bind__visible="(!!menuSelectedChallenge.id || !!challenge.id) && (menuActive || isPaused || isVictory) && !genreMenuOpen" bind__visible="(!!menuSelectedChallenge.id || !!challenge.id) && (menuActive || isPaused || isVictory) && !genreMenuOpen"

View File

@@ -1,6 +1,5 @@
<a-entity <a-entity
id="loadingSongInfoContainer" id="loadingSongInfoContainer"
class="overlay"
bind__animation__scale="enabled: isSongLoading" bind__animation__scale="enabled: isSongLoading"
bind__visible="isSongLoading" bind__visible="isSongLoading"
animation__scale="property: scale; from: 1 1 1; to: 1.05 1.05 1.05; dir: alternate; loop: true; dur: 1200; easing: easeInOutCubic" animation__scale="property: scale; from: 1 1 1; to: 1.05 1.05 1.05; dir: alternate; loop: true; dur: 1200; easing: easeInOutCubic"

View File

@@ -102,7 +102,6 @@
<!-- Menu container begins here. --> <!-- Menu container begins here. -->
<a-entity <a-entity
id="menu" id="menu"
class="overlay"
bind__visible="menuActive" bind__visible="menuActive"
position="0 1.1 -2" position="0 1.1 -2"
visible="false"> visible="false">
@@ -299,7 +298,6 @@
<a-entity <a-entity
id="keyboard" id="keyboard"
class="overlay"
bind__super-keyboard="{% if not DEBUG_KEYBOARD %}hand: activeHand === 'left' && '#leftHand' || '#rightHand'; {% endif %}show: isSearching" bind__super-keyboard="{% if not DEBUG_KEYBOARD %}hand: activeHand === 'left' && '#leftHand' || '#rightHand'; {% endif %}show: isSearching"
super-keyboard="label: SEARCH FROM OVER 6000 SONGS; inputColor: #fff; labelColor: #FFF; width: 1.5; hand: {{ DEBUG_KEYBOARD and '#mouseCursor' or '#rightHand' }}; imagePath: assets/img/keyboard/; font: assets/fonts/Teko-Bold.json; align: center; model: supersaber; keyColor: #fff; injectToRaycasterObjects: false; filters: allupper; keyHoverColor: #fff" super-keyboard="label: SEARCH FROM OVER 6000 SONGS; inputColor: #fff; labelColor: #FFF; width: 1.5; hand: {{ DEBUG_KEYBOARD and '#mouseCursor' or '#rightHand' }}; imagePath: assets/img/keyboard/; font: assets/fonts/Teko-Bold.json; align: center; model: supersaber; keyColor: #fff; injectToRaycasterObjects: false; filters: allupper; keyHoverColor: #fff"
position="0.55 0.95 -1.85" position="0.55 0.95 -1.85"

View File

@@ -1,6 +1,5 @@
<a-entity <a-entity
id="tutorial" id="tutorial"
class="overlay"
bind__visible="menuActive" bind__visible="menuActive"
position="-2.562914981163387 1.1992490239153386 -0.7075863128689148" position="-2.562914981163387 1.1992490239153386 -0.7075863128689148"
rotation="0 60 0"> rotation="0 60 0">

View File

@@ -1,7 +1,6 @@
<!-- Victory. --> <!-- Victory. -->
<a-entity <a-entity
id="victoryInfoContainer" id="victoryInfoContainer"
class="overlay"
position="0 0.9 -2" position="0 0.9 -2"
bind__visible="isVictory"> bind__visible="isVictory">