From 32a0cb370fc73b2e7020955ebf0e59d339c44bfe Mon Sep 17 00:00:00 2001 From: "Diego F. Goberna" Date: Fri, 16 Nov 2018 16:37:26 +0100 Subject: [PATCH] moved play-sound to scene --- src/index.html | 2 +- src/templates/victory.html | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/index.html b/src/index.html index 12f8526..8bbc838 100644 --- a/src/index.html +++ b/src/index.html @@ -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" diff --git a/src/templates/victory.html b/src/templates/victory.html index 23881e7..d588f89 100644 --- a/src/templates/victory.html +++ b/src/templates/victory.html @@ -2,8 +2,7 @@ + bind__visible="isVictory">