Add hit/miss logic and hit / combo score counting. Also rough visual indication of missed beat

This commit is contained in:
Diego Marcos
2018-10-02 17:52:03 -07:00
parent a18364e85f
commit d2f216a1ea
3 changed files with 63 additions and 41 deletions

View File

@@ -63,6 +63,10 @@
<a-mixin id="dot-blue-beat" beat="color: blue; type: dot"></a-mixin>
</a-assets>
<!-- Missed beat visual indicators. -->
<a-entity id="missLeft" geometry="primitive: box; height: 0.2; width: 0.2; depth: 0.2" material="color: red" visible="false"></a-entity>
<a-entity id="missRight" geometry="primitive: box; height: 0.2; width: 0.2; depth: 0.2" material="color: red" visible="false"></a-entity>
<a-entity id="beatContainer"></a-entity>
<a-entity id="cursorLaser" obj-model="obj: #laserObj" visible="false"></a-entity>