hook up beat hit sound

This commit is contained in:
Kevin Ngo
2018-10-11 21:17:34 -07:00
parent 6f3d12d846
commit 7e09031c3e
9 changed files with 34972 additions and 34907 deletions

View File

@@ -100,8 +100,11 @@
<a-entity id="cursorLaser" obj-model="obj: #laserObj" visible="false"></a-entity>
<a-entity id="container">
<a-entity id="beatContainer" bind__pause="isPaused: !isPlaying"></a-entity>
<a-entity
id="beatContainer"
beat-hit
bind__pause="isPaused: !isPlaying"
sound__beathit="poolSize: 12; src: assets/sounds/beatHit.ogg"></a-entity>
{% include './templates/stage.html' %}
{% include './templates/score.html' %}
{% include './templates/menu.html' %}