fix: kevin comments and victory ring animation
This commit is contained in:
@@ -55,33 +55,6 @@
|
||||
<a-entity mixin="gameMenuButtonText" text="value: EXIT TO MENU"></a-entity>
|
||||
</a-entity>
|
||||
|
||||
|
||||
<a-entity
|
||||
id="victoryButtons"
|
||||
visible="false"
|
||||
animation="property: visible; from: false; to: true; delay: 1000; startEvents: appear">
|
||||
<a-entity
|
||||
id="victoryRestartButton"
|
||||
mixin="gameMenuButton"
|
||||
bind__visible="isVictory"
|
||||
position="-0.56 -0.79 0.05"
|
||||
bind-toggle__raycastable="isVictory"
|
||||
proxy-event="event: click; to: a-scene; as: gamemenurestart">
|
||||
<a-entity mixin="gameMenuButtonText" text="value: RESTART SONG"></a-entity>
|
||||
</a-entity>
|
||||
|
||||
<a-entity
|
||||
id="victoryExitButton"
|
||||
mixin="gameMenuButton"
|
||||
bind__visible="isVictory"
|
||||
bind-toggle__raycastable="isVictory"
|
||||
position="0.56 -0.79 0.05"
|
||||
proxy-event="event: click; to: a-scene; as: gamemenuexit">
|
||||
<a-entity mixin="gameMenuButtonText" text="value: EXIT TO MENU"></a-entity>
|
||||
</a-entity>
|
||||
</a-entity>
|
||||
|
||||
|
||||
<!-- Song info. -->
|
||||
<a-entity id="gameMenuSongInfoContainer" position="-1.64 -0.12 0.798" rotation="0 55 0">
|
||||
<a-entity mixin="slice" slice9="width: 0.77; height: 0.72; padding: 0.04" position="0 0.25 -0.03"></a-entity>
|
||||
|
||||
@@ -27,15 +27,15 @@
|
||||
bind__victory-rank="rank: score.rank"
|
||||
scale="0 0 0"
|
||||
position="0 0.2 0.05"
|
||||
animation__rotation="property: object3D.rotation.y; from: 0; to: -360; loop: true; easing: linear; dur: 5000; startEvents: appear"
|
||||
animation__scale="property: scale; to: 1 1 1; loop: false; easing: easeOutQuad; dur: 300; startEvents: appear"
|
||||
animation__rotation="property: object3D.rotation.y; from: 0; to: -360; loop: true; easing: linear; dur: 5000; startEvents: textcounterdone"
|
||||
animation__scale="property: scale; from: 0 0 0; to: 1 1 1; loop: false; easing: easeOutQuad; dur: 300; startEvents: textcounterdone"
|
||||
text="wrapCount: 2; align: center; baseline: top; width: 0.82; side: double"></a-entity>
|
||||
|
||||
<a-entity
|
||||
id="victoryInfoAccuracy"
|
||||
mixin="font"
|
||||
text="align: center; color: #FAFAFA; wrapCount: 22; baseline: top; width: 0.81"
|
||||
text-counter="suffix: %; decimals: 2"
|
||||
text-counter="suffix: %; decimals: 2; emit: true"
|
||||
bind__text-counter="value: score.accuracy"
|
||||
position="0.45 0.75 0"></a-entity>
|
||||
|
||||
@@ -50,9 +50,35 @@
|
||||
id="victoryInfoMaxCombo"
|
||||
mixin="font"
|
||||
text="align: center; color: #FAFAFA; wrapCount: 22; baseline: top; width: 1"
|
||||
text-counter="prefix: MAX COMBO: ;"
|
||||
text-counter="prefix: MAX COMBO: "
|
||||
bind__text-counter="value: score.maxCombo"
|
||||
position="0 -0.3 0"></a-entity>
|
||||
|
||||
<a-entity
|
||||
id="victoryButtons"
|
||||
animation="property: visible; from: false; to: true; delay: 1000; startEvents: textcounterdone"
|
||||
position="0 0.2 0"
|
||||
play-sound="event: mouseenter; sound: #hoverSound; volume: 0.03"
|
||||
play-sound__click="event: click; sound: #confirmSound; volume: 0.25"
|
||||
visible="false">
|
||||
<a-entity
|
||||
id="victoryRestartButton"
|
||||
mixin="gameMenuButton"
|
||||
position="-0.56 -0.79 0.05"
|
||||
bind-toggle__raycastable="isVictory"
|
||||
proxy-event="event: click; to: a-scene; as: gamemenurestart">
|
||||
<a-entity mixin="gameMenuButtonText" text="value: RESTART SONG"></a-entity>
|
||||
</a-entity>
|
||||
<a-entity
|
||||
id="victoryExitButton"
|
||||
mixin="gameMenuButton"
|
||||
bind-toggle__raycastable="isVictory"
|
||||
position="0.56 -0.79 0.05"
|
||||
proxy-event="event: click; to: a-scene; as: gamemenuexit">
|
||||
<a-entity mixin="gameMenuButtonText" text="value: EXIT TO MENU"></a-entity>
|
||||
</a-entity>
|
||||
</a-entity>
|
||||
|
||||
</a-entity>
|
||||
|
||||
<a-timeline id="victoryTimeline">
|
||||
|
||||
Reference in New Issue
Block a user