loading text animation

This commit is contained in:
Kevin Ngo
2018-10-12 04:23:36 -07:00
parent 656a7bb617
commit a86506e821

View File

@@ -73,7 +73,13 @@
<a-entity id="beams" bind__beams="isPlaying: isPlaying"></a-entity>
<a-entity mixin="textFont" text="value: READY, STEADY...; align: center; color: #aaf; wrapCount: 18; width: 2" position="0 1.5 -2.5" bind__visible="challenge.isLoading || isSongLoading"></a-entity>
<a-entity
mixin="textFont"
bind__animation__opacity="enabled: challenge.isLoading || isSongLoading"
animation__opacity="property: components.text.material.uniforms.opacity.value; from: 1; to: 0.5; dir: alternate; loop: true; dur: 2000; easing: easeInOutCubic; enabled: false"
text="value: READY, STEADY...; align: center; color: #aaf; wrapCount: 18; width: 2"
position="0 1.5 -2.5"
bind__visible="challenge.isLoading || isSongLoading"></a-entity>
<a-entity light="type: directional; intensity: 3" position="0 10 10"></a-entity>