Commit dd7c7b58 authored by haiyoucuv's avatar haiyoucuv

1111

parent 348688ed
This diff is collapsed.
{
"code": "000000",
"data": {
"guideStep": 8,
"guideIsEnd": true,
"guideStep": 0,
"guideIsEnd": false,
"waterDrops": 0,
"plants": [
{
......
......@@ -87,7 +87,7 @@ export class Tool {
}
// cloud://21DC968488CF65B20EC98D34D07B7B9D//浇水动效.svga
const src = `cloud://21DC968488CF65B20EC98D34D07B7B9D//${name}.svga`;
const src = `cloud://5C68107E2545139A29BC2BA5EF618280//${name}.svga`;
// const src = `../svga/${name}.svga`; /// TODO 线上替换
SvgaParser.loadSvga(src, (v) => {
Tool.svgaCache[name] = v; // 做一个缓存
......
......@@ -37,17 +37,17 @@ export const s_PlantData = {
CHESTNUT: {
key: PLANT_TYPE.CHESTNUT,
name: '板栗',
time: 1,
time: 6,
},
PECAN: {
key: PLANT_TYPE.PECAN,
name: '山核桃',
time: 2,
time: 4,
},
PEANUT: {
key: PLANT_TYPE.PEANUT,
name: '花生',
time: 3,
time: 6,
},
MELON: {
key: PLANT_TYPE.MELON,
......@@ -57,12 +57,12 @@ export const s_PlantData = {
PISTACHIONUT: {
key: PLANT_TYPE.PISTACHIONUT,
name: '开心果',
time: 5,
time: 4,
},
CASHEWNUT: {
key: PLANT_TYPE.CASHEWNUT,
name: '腰果',
time: 6,
time: 5,
},
}
......
......@@ -36,13 +36,13 @@ export class GuideScene extends Scene {
});
// UI层
this.uiLayer = this.addChild(new UILayer());
// 游戏层
GameLayer.kill();
this.gameLayer = this.addChild(GameLayer.ins);
// UI层
this.uiLayer = this.addChild(new UILayer());
// 引导层
this.guideLayer = this.addChild(new GuideLayer());
}
......
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