moved play-sound to scene

This commit is contained in:
Diego F. Goberna
2018-11-16 16:37:26 +01:00
parent d51883bb2f
commit 32a0cb370f
2 changed files with 2 additions and 3 deletions

View File

@@ -43,7 +43,7 @@
pool__beatscore="mixin: beatScore; size: 5; container: #beatContainer"
proxy-event__cleargame1="event: gamemenuexit; as: cleargame; to: a-scene"
proxy-event__cleargame2="event: gamemenurestart; as: cleargame; to: a-scene"
proxy-event__victory="event: victory; to: #victoryInfoContainer"
play-sound="sound: #victorySong; event: victory"
search
stage-colors="color: blue"
fog="color: #a00; density: 0.035; type: exponential"

View File

@@ -2,8 +2,7 @@
<a-entity
id="victoryInfoContainer"
position="0 0.9 -2"
bind__visible="isVictory"
play-sound="sound: #victorySong; event: victory">
bind__visible="isVictory">
<a-entity
id="victoryAccuracyRing"