rename excellent to great to fit text

This commit is contained in:
Kevin Ngo
2018-12-03 17:05:18 -08:00
parent 8c1e5eb534
commit 0bf4a9674f
3 changed files with 6 additions and 6 deletions

View File

@@ -93,10 +93,10 @@
mixin="beatScore"
text="value: GOOD; color: #A8E3FF"></a-mixin>
<a-mixin
id="beatScoreExcellent"
score-beat="type: excellent"
id="beatScoreGreat"
score-beat="type: great"
mixin="beatScore"
text="value: EXCELLENT; wrapCount: 16; color: #60CCFF"></a-mixin>
text="value: GREAT; wrapCount: 16; color: #60CCFF"></a-mixin>
<a-mixin
id="beatScoreSuper"
score-beat="type: super"

View File

@@ -11,7 +11,7 @@ const SIGN_MATERIAL = {shader: 'flat', color: '#88f'};
const SCORE_POOL = {
OK : 'pool__beatscoreok',
GOOD : 'pool__beatscoregood',
EXCELLENT : 'pool__beatscoreexcellent',
GREAT : 'pool__beatscoregreat',
SUPER : 'pool__beatscoresuper'
};
@@ -753,7 +753,7 @@ AFRAME.registerComponent('beat', {
let beatScorePool;
if (score < 60) { beatScorePool = SCORE_POOL.OK; }
else if (score < 80) { beatScorePool = SCORE_POOL.GOOD; }
else if (score < 100) { beatScorePool = SCORE_POOL.EXCELLENT; }
else if (score < 100) { beatScorePool = SCORE_POOL.GREAT; }
else {
beatScorePool = SCORE_POOL.SUPER;

View File

@@ -44,7 +44,7 @@
pool__beat-mine="mixin: mine; size: 12; container: #beatContainer"
pool__beatscoreok="mixin: beatScoreOk; size: 2; container: #beatContainer"
pool__beatscoregood="mixin: beatScoreGood; size: 2; container: #beatContainer"
pool__beatscoreexcellent="mixin: beatScoreExcellent; size: 2; container: #beatContainer"
pool__beatscoregreat="mixin: beatScoreGreat; size: 2; container: #beatContainer"
pool__beatscoresuper="mixin: beatScoreSuper; size: 2; container: #beatContainer"
pool__wall="mixin: wall; size: 10; container: #beatContainer"
proxy-event__cleargame1="event: gamemenuexit; as: cleargame; to: a-scene"