added particles on beat slicing (fixes #54)

This commit is contained in:
Diego F. Goberna
2018-10-06 01:36:04 +02:00
parent 4b3f257b71
commit 9892f993e6
9 changed files with 637 additions and 36 deletions

View File

@@ -64,7 +64,7 @@
light="type: spot; penumbra: 1; intensity: 5; angle: 20"
animation="property: object3D.rotation.y; from: 0.87; to: -0.87; dur:300; easing: linear; startEvents: audioanalyser-beat"></a-entity>
<a-entity id="logosparks" bind__visible="menu.active" particleplayer="src: #logoSparks; scale: 1.4; pscale: 0.35; count: 10; dur: 600; on: logoflicker" position="-2.8 5.5 -7.2"></a-entity>
<a-entity id="logosparks" bind__visible="menu.active" particleplayer="src: #logoSparks; scale: 1.4; pscale: 0.35; count: 10; dur: 1000; on: logoflicker; animateScale: true; initialScale: 1.5 1.5 1.5; finalScale: 0.3 0.3 0.3" position="-2.8 5.5 -7.2"></a-entity>
<a-entity id="logo" bind__visible="menu.active" position="0 6 -7.5" rotation="90 0 0">
<a-entity obj-model="obj: #logobackObj" material="color: #001b29"></a-entity>
<a-entity obj-model="obj: #logofrontObj" material="color: #e81e23"></a-entity>