victory sounds

This commit is contained in:
Diego F. Goberna
2018-11-14 19:55:04 +01:00
parent 9634d8cbde
commit 109edb915a
6 changed files with 7 additions and 2 deletions

View File

@@ -1,9 +1,10 @@
<!-- Victory. -->
<a-entity
id="victoryInfoContainer"
position="0 0.9 -2"
bind__visible="isVictory">
bind__visible="isVictory"
sound="src: #victorySong; on: victory; loop: true; autoplay: true"
>
<a-entity
id="victoryAccuracyRing"
@@ -29,6 +30,7 @@
position="0 0.2 0.05"
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"
play-sound="sound: #victorySound; event: textcounterdone"
text="wrapCount: 2; align: center; baseline: top; width: 0.82; side: double"></a-entity>
<a-entity