Commit 2abea7c4 authored by LikG21's avatar LikG21

修改动画时间为2s

parent ce92acb6
......@@ -130,7 +130,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
startQuestion() {
// 游戏所需的初始化数据
this.currentId = 0
this.time = this.data.options.length * 3
this.time = this.data.options.length * 5
this.currentTime = this.time * 1000;
this.lengthProgress = 0
this.right = 0
......@@ -184,14 +184,13 @@ export default class SceneComponent extends MyCocosSceneComponent {
break;
case State.RecordEnd:
this.state = State.RecordShow;
this.waitTime = 1 * 1000;//1秒展示
this.waitTime = 2 * 1000;//1秒展示
this.endRecord();
break;
case State.RecordShow:
this.state = State.Recording;
this.hideAnswer();
this.currentId++;
this.currentTime = (this.time - this.currentId * 3)*1000
if (!this.getCurrentOptions()) {
this.gameOver();
return;
......
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