fix rank wrap count

This commit is contained in:
Kevin Ngo
2018-10-25 09:29:48 -07:00
parent b64fcd3c83
commit 406d60f633
2 changed files with 4 additions and 4 deletions

View File

@@ -187,7 +187,7 @@ AFRAME.registerState({
state.score.accuracy = .88;
state.score.accuracyText = '99.99%';
state.score.maxComboText = 'MAX COMBO - 123';
state.score.rank = 'S';
state.score.rank = 'B';
state.score.score = 9001;
},

View File

@@ -8,11 +8,11 @@
<a-entity
id="victoryInfoRank"
bind__animation="enabled: isVictory"
animation="property: object3D.rotation.y; from: 0; to: 360; loop: true; easing: linear; dur: 3000"
mixin="font"
bind__animation="enabled: isVictory"
bind__victory-rank="rank: score.rank"
text="wrapCount: 1; align: center; color: #AAFFAA; width: 0.5; side: double"></a-entity>
animation="property: object3D.rotation.y; from: 0; to: 360; loop: true; easing: linear; dur: 3000"
text="wrapCount: 2; align: center; width: 0.82; side: double"></a-entity>
<a-entity
id="victoryAccuracyRing"