rename excellent to great to fit text
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user