improved score labels visual feedback (fixes #185)
This commit is contained in:
@@ -75,7 +75,6 @@
|
||||
<a-mixin
|
||||
id="beatScore"
|
||||
mixin="font"
|
||||
score-beat
|
||||
text="opacity: 0; wrapCount: 19; color: #AAA; width: 1.5"
|
||||
animation__opacityin="property: components.text.material.uniforms.opacity.value; from: .5; to: 1; dur: 500; startEvents: beatscorestart"
|
||||
animation__opacityout="property: components.text.material.uniforms.opacity.value; from: 1; to: 0; dur: 500; delay: 700; startEvents: beatscorestart"
|
||||
@@ -83,6 +82,32 @@
|
||||
animation__motiony="property: object3D.position.y; to: 0.1; dur: 500; easing: easeOutQuart; startEvents: beatscorestart"
|
||||
></a-mixin>
|
||||
|
||||
<a-mixin
|
||||
id="beatScoreOk"
|
||||
score-beat="ok"
|
||||
mixin="beatScore"
|
||||
text="value: OK"></a-mixin>
|
||||
<a-mixin
|
||||
id="beatScoreGood"
|
||||
score-beat="good"
|
||||
mixin="beatScore"
|
||||
text="value: GOOD; color: #A8E3FF"></a-mixin>
|
||||
<a-mixin
|
||||
id="beatScoreExcellent"
|
||||
score-beat="excellent"
|
||||
mixin="beatScore"
|
||||
text="value: EXCELLENT; wrapCount: 16; color: #60CCFF"></a-mixin>
|
||||
<a-mixin
|
||||
id="beatScoreSuper"
|
||||
score-beat="super"
|
||||
mixin="beatScore"
|
||||
text="value: SUPER!; wrapCount: 13; color: #00acfc"></a-mixin>
|
||||
|
||||
<a-mixin
|
||||
id="superCut"
|
||||
geometry="primitive: plane; width: 3; height: 3"
|
||||
material="shader: superCutFxShader; transparent: true; depthWrite: false"></a-mixin>
|
||||
|
||||
<a-mixin
|
||||
id="wall"
|
||||
geometry
|
||||
|
||||
Reference in New Issue
Block a user