Commit b548a29a authored by Tt's avatar Tt

1

parent 27e7ac64
......@@ -736,13 +736,20 @@ export default class SceneComponent extends MyCocosSceneComponent {
let layout_ani = pg.view.find(this, 'layout_ani')
layout_ani.active = true;
if (score >= 70) {
if (score >= 90) {
hw.log.d("非常棒")
let item = pg.view.find(layout_ani, 'JJ_Excellent_ske')
item.active = true;
pg.view.playDBAnimation(item, 'newAnimation', 1);
this.playLocalAudio("record_right")
this.recordExcellent();
} else if (score >= 60) {
hw.log.d("干的不错")
let item = pg.view.find(layout_ani, 'JJ_Good_ske')
item.active = true;
pg.view.playDBAnimation(item, 'newAnimation', 1);
this.playLocalAudio("record_right")
this.recordExcellent();
} else {
hw.log.d("再试一次吧")
let item = pg.view.find(layout_ani, 'JJ_Tryagain_ske')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment