diff --git a/assets/sounds/miss.ogg b/assets/sounds/miss.ogg index 1be46c8..94d16b5 100644 Binary files a/assets/sounds/miss.ogg and b/assets/sounds/miss.ogg differ diff --git a/assets/sounds/victory.ogg b/assets/sounds/victory.ogg new file mode 100644 index 0000000..7e1a033 Binary files /dev/null and b/assets/sounds/victory.ogg differ diff --git a/assets/sounds/victorySong.ogg b/assets/sounds/victorySong.ogg new file mode 100644 index 0000000..ccf56b5 Binary files /dev/null and b/assets/sounds/victorySong.ogg differ diff --git a/src/assets.html b/src/assets.html index 0aa67cb..089192d 100644 --- a/src/assets.html +++ b/src/assets.html @@ -22,6 +22,8 @@ + + {% for i in range(1, 11) %} diff --git a/src/index.html b/src/index.html index 3b53a75..12f8526 100644 --- a/src/index.html +++ b/src/index.html @@ -43,6 +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" 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 7ad5a0f..f043f95 100644 --- a/src/templates/victory.html +++ b/src/templates/victory.html @@ -1,9 +1,10 @@ - + bind__visible="isVictory" + sound="src: #victorySong; on: victory; loop: true; autoplay: true" + >