Commit 65896787 authored by yu's avatar yu

1

parent d3849203
......@@ -1951,8 +1951,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-7.689,
85.557,
13.078,
0,
0,
0,
......
......@@ -110,7 +110,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 所有全局变量 默认都是null
}
private audioId: any;
async initView() {
private initView() {
this.catPlayAni(Game.getIns().beginAudio, () => {
this.startCountTime();
this.gameStart();
......@@ -132,9 +132,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
// data.stone = Math.floor(10 * data.right / data.total);
// this.log("total: " + data.total + " right: " + data.right + " stone: " + data.stone);
// onHomeworkFinish(data)
// let leaf_ske = cc.find("leaf_ske", this.node);
// leaf_ske.active = true;
// playDragonBoneAnimation(leaf_ske, "normal", 1);
let leaf_ske = cc.find("leaf_ske", this.node);
leaf_ske.active = true;
playDragonBoneAnimation(leaf_ske, "normal", 1);
cc.audioEngine.stopAllEffects();
this.catPlayAni(Game.getIns().endAudio, () => {
// this.dbCat.active = false;
......
......@@ -156,7 +156,7 @@ export default class Game {
public init(data) {
this.title = data.title;
this.start = false;
this.beginAudio = data.guideBegin_audio_url || "";
this.beginAudio = data.beginAudio || "";
this.endAudio = data.endAudio || "";
this.loadingAudio = data.startLoadingAudio || "";
this.waitAudio = data.waitAudio || "";
......
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