only show logo light if actively spinning on beat
This commit is contained in:
@@ -80,7 +80,10 @@
|
||||
<a-entity id="logolight"
|
||||
position="0 6 0"
|
||||
light="type: spot; penumbra: 1; intensity: 5; angle: 20"
|
||||
animation="property: object3D.rotation.y; from: 50; to: -50; dur:300; easing: linear; startEvents: audioanalyser-beat"></a-entity>
|
||||
animation__rotate="property: object3D.rotation.y; from: 50; to: -50; dur: 300; easing: linear; startEvents: audioanalyserbeat"
|
||||
animation__visibleon="property: visible; from: false; to: true; dur: 1; startEvents: audioanalyserbeat"
|
||||
animation__visibleoff="property: visible; from: true; to: false; dur: 1; delay: 300; startEvents: audioanalyserbeat"
|
||||
visible="false"></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">
|
||||
|
||||
Reference in New Issue
Block a user