moved play-sound to scene
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user