Files
junisaber/src/templates/score.html

47 lines
1.2 KiB
HTML
Raw Normal View History

2018-10-15 17:18:39 -07:00
<a-mixin
id="scoreText"
2018-10-25 08:35:58 -07:00
mixin="font"
2018-12-05 21:01:39 +01:00
text="color: #FFF; letterSpacing: -2; align: center"></a-mixin>
2018-10-15 17:18:39 -07:00
2018-10-03 18:58:26 -07:00
<a-entity
2018-10-10 02:26:03 -07:00
id="scoreContainer"
2018-10-15 17:18:39 -07:00
bind__score-texts="isSongLoading: isSongLoading"
2018-10-12 18:09:04 -07:00
bind__visible="isPlaying || isPaused">
2018-10-15 17:18:39 -07:00
<a-entity id="scoreTextContainer" position="0 0.01 -1.3">
2018-10-03 18:58:26 -07:00
<a-entity
2018-10-02 14:00:51 -07:00
id="score"
2018-10-15 17:18:39 -07:00
mixin="scoreText"
2018-10-02 14:00:51 -07:00
bind__text="value: score.score"
2018-10-15 17:18:39 -07:00
text="width: 2"
2018-10-03 18:58:26 -07:00
rotation="-90 0 0">
2018-10-02 14:00:51 -07:00
</a-entity>
</a-entity>
2018-10-15 17:18:39 -07:00
2018-10-03 18:58:26 -07:00
<a-entity
2018-10-02 14:00:51 -07:00
id="combo"
2018-10-15 17:18:39 -07:00
mixin="scoreText"
2018-11-13 00:17:24 +08:00
bind__text="value: 'COMBO\n' + score.combo"
text="width: 1; lineHeight: 40"
2018-10-02 14:00:51 -07:00
position="-1.8 1.2 -4"
2018-10-03 18:58:26 -07:00
scale="5 5 5">
2018-10-02 14:00:51 -07:00
</a-entity>
2018-10-15 17:18:39 -07:00
2018-10-25 09:47:38 -07:00
<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>
<a-entity
id="multiplierRing"
2018-11-13 00:17:24 +08:00
bind__multiplier-ring="combo: score.combo; multiplier: score.multiplier"
2018-10-25 09:47:38 -07:00
geometry="primitive: plane; width: 0.5; height: 0.5"
2018-11-13 00:17:24 +08:00
material="shader: ring; transparent: true; color: #88A; radiusInner: 0.7; progress: 0"
2018-10-25 09:47:38 -07:00
position="0 0.17 0"></a-entity>
2018-10-02 14:00:51 -07:00
</a-entity>
2018-07-18 20:48:45 +02:00
</a-entity>