multiplier ring

This commit is contained in:
Kevin Ngo
2018-10-25 09:47:38 -07:00
parent ecd69dd589
commit 3fe97bb722

View File

@@ -27,12 +27,20 @@
scale="5 5 5">
</a-entity>
<a-entity
id="multiplier"
mixin="scoreText"
bind__text="value: score.multiplier + 'x'"
text="width: 1"
position="1.8 1.2 -4"
scale="5 5 5">
<a-entity position="1.8 1.2 -4">
<a-entity
id="multiplier"
mixin="scoreText"
bind__text="value: score.multiplier + 'x'"
text="width: 1"
scale="5 5 5">
</a-entity>
<!-- TODO: Hook up material.progress to multiplier progress. -->
<a-entity
id="multiplierRing"
geometry="primitive: plane; width: 0.5; height: 0.5"
material="shader: ring; transparent: true; color: #88A; radiusInner: 0.7; progress: 1"
position="0 0.17 0"></a-entity>
</a-entity>
</a-entity>