added GAME OVER message
This commit is contained in:
@@ -89,7 +89,6 @@
|
|||||||
{% include './templates/gameUi.html' %}
|
{% include './templates/gameUi.html' %}
|
||||||
{% include './templates/menu.html' %}
|
{% include './templates/menu.html' %}
|
||||||
{% include './templates/dialogs.html' %}
|
{% include './templates/dialogs.html' %}
|
||||||
|
|
||||||
</a-entity>
|
</a-entity>
|
||||||
|
|
||||||
<!-- Wrong + miss beat visual indicators. -->
|
<!-- Wrong + miss beat visual indicators. -->
|
||||||
|
|||||||
@@ -9,9 +9,11 @@
|
|||||||
<a-mixin
|
<a-mixin
|
||||||
id="dialogButtonText"
|
id="dialogButtonText"
|
||||||
mixin="font"
|
mixin="font"
|
||||||
position="0 -0.070 0.01"
|
position="0 -0.07 0.01"
|
||||||
text="align: center; wrapCount: 17; color: #AAA"></a-mixin>
|
text="align: center; wrapCount: 17; color: #AAA"></a-mixin>
|
||||||
|
|
||||||
|
<a-entity mixin="dialogButtonText" text="value: GAME OVER; color: #ff7171; width: 4" bind__visible="isGameOver" position="0 1.8 -2.3"></a-entity>
|
||||||
|
|
||||||
<a-entity id="pauseDialog" position="0 1.6 -2" bind__visible="isPaused">
|
<a-entity id="pauseDialog" position="0 1.6 -2" bind__visible="isPaused">
|
||||||
<a-entity
|
<a-entity
|
||||||
id="resumeButton"
|
id="resumeButton"
|
||||||
@@ -20,7 +22,7 @@
|
|||||||
position="0 0.35 0"
|
position="0 0.35 0"
|
||||||
proxy-event="event: click; to: a-scene; as: pausemenuresume"
|
proxy-event="event: click; to: a-scene; as: pausemenuresume"
|
||||||
bind__visible="!isGameOver">
|
bind__visible="!isGameOver">
|
||||||
<a-entity mixin="dialogButtonText" text="value: RESUME" position="0 -0.070 0.01"></a-entity>
|
<a-entity mixin="dialogButtonText" text="value: RESUME"></a-entity>
|
||||||
</a-entity>
|
</a-entity>
|
||||||
|
|
||||||
<a-entity
|
<a-entity
|
||||||
@@ -35,6 +37,6 @@
|
|||||||
mixin="dialogButton"
|
mixin="dialogButton"
|
||||||
position="0 -0.35 0"
|
position="0 -0.35 0"
|
||||||
proxy-event="event: click; to: a-scene; as: pausemenuexit">
|
proxy-event="event: click; to: a-scene; as: pausemenuexit">
|
||||||
<a-entity mixin="dialogButtonText" text="value: EXIT TO MENU" position="0 -0.070 0.01"></a-entity>
|
<a-entity mixin="dialogButtonText" text="value: EXIT TO MENU"></a-entity>
|
||||||
</a-entity>
|
</a-entity>
|
||||||
</a-entity>
|
</a-entity>
|
||||||
|
|||||||
Reference in New Issue
Block a user