Commit a871575a authored by Tt's avatar Tt

完成

parent d1638871
......@@ -8,7 +8,7 @@
const { ccclass, property } = cc._decorator;
@ccclass
export default class NewClass extends cc.Component {
export default class boatmove extends cc.Component {
@property
firstUp: boolean = true;
......
// Learn TypeScript:
// - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
const { ccclass, property } = cc._decorator;
@ccclass
export default class cloundmove extends cc.Component {
@property
toLeft: boolean = true;
// LIFE-CYCLE CALLBACKS:
onLoad() {
if (this.toLeft) {
cc.tween(this.node).by(500 + Math.random() * 100, { x: -2000 }).start();
} else {
cc.tween(this.node).by(500 + Math.random() * 100, { x: 2000 }).start();
}
}
}
{
"ver": "1.0.8",
"uuid": "e9a1cc04-7df7-49fa-8978-99f9f4a7568b",
"uuid": "aaac548b-f788-42d3-ab99-3108750b719b",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
// Learn TypeScript:
// - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
import Game, { FISH_OUT, GAME_STATE, Option } from "../tool/Game";
import pg from "../tool/pg";
const { ccclass, property } = cc._decorator;
@ccclass
export default class NewClass extends cc.Component {
@property(cc.Node)
res: cc.Node = null;
@property(cc.Node)
item_left: cc.Node = null;
@property(cc.Node)
item_right: cc.Node = null;
onLoad() {
pg.event.on("game_start", () => {
this.gameStart();
})
pg.event.on("game_time_over", () => {
this.roundOver();
})
}
private count: number;
private list: Option[];
private fishs: cc.Node[];
gameStart() {
//游戏开始。允许出鱼
// let page = Game.getIns().getCurrentPage();
// let list = page.optionList.concat();
// list = JSON.parse(JSON.stringify(list));
// list.sort((A, B) => { return Math.random() < 0.5 });
// this.list = list;
// this.count = 0;
// this.lastCount = null;
// this.fishs = [];
// this.viewFishs = [];
// this.touchFishs = [];
//根据顺序生成对应的鱼。
//顺序根据时间来进行跳动。当顺序跳动之后,就会产生新的鱼。
}
roundOver() {
//当前的鱼都不能点击并且消失
this.viewFishs.forEach(data => {
cc.tween(data.fish.node).to(0.3, { opacity: 0 }).start();
})
}
private lastCount: number;
private viewFishs: Option[];
private touchFishs: Option[];
getFishByCount(count) {
if (count <= this.lastCount) return null;
if (!this.list) return;
if (this.list.length == this.touchFishs.length) {
Game.getIns().state = GAME_STATE.OVER;
return pg.event.emit("game_time_over");
}
let list = this.list.filter((li) => this.touchFishs.every(t => t.id != li.id));
if (list.every(li => !li.right)) {
Game.getIns().state = GAME_STATE.OVER;
return pg.event.emit("game_time_over");
}
this.lastCount = count;
list = list.filter((li) => this.viewFishs.every(v => v.id != li.id));
if (list.length == 0) return null;
let data = JSON.parse(JSON.stringify(list[count % list.length]));
data.fish.isLeft = Math.random() < 0.5;
let item_base = data.fish.isLeft ? this.item_left : this.item_right;
let item = cc.instantiate(item_base);
this.updateFish(item, data);
this.viewFishs.push(data);
return item;
}
private fishCount: number;
private lastY: number;
updateFish(item, data: Option) {
pg.view.touchOn(item, this.onTouchItem, this);
if (!this.fishCount) this.fishCount = 0;
let id = this.fishCount % 5 + 1;
this.fishCount++;
pg.view.visible(pg.view.find(item, 'fish/icon_fish1'), id == 1);
pg.view.visible(pg.view.find(item, 'fish/icon_fish2'), id == 2);
pg.view.visible(pg.view.find(item, 'fish/icon_fish3'), id == 3);
pg.view.visible(pg.view.find(item, 'fish/icon_fish4'), id == 4);
pg.view.visible(pg.view.find(item, 'fish/icon_fish5'), id == 5);
item.parent = this.node;
item.data = data;
data.fish.node = item;
//渲染部分
if (data.type == "txt") {
pg.view.visible(pg.view.find(item, 'layout_text'), true);
pg.view.visible(pg.view.find(item, 'layout_img'), false);
pg.view.setString(pg.view.find(item, "layout_text/text"), data.txt);
} else {
pg.view.visible(pg.view.find(item, 'layout_text'), false);
pg.view.visible(pg.view.find(item, 'layout_img'), true);
pg.view.setNetImg(pg.view.find(item, 'layout_img/img'), data.picUrl, { w: 118, h: 110 })
}
//x y 起始点 和终点 进行 随机
cc.Tween.stopAllByTarget(item);
let random = 0;
do {
random = Math.floor(Math.random() * 8)
} while (random == this.lastY)
this.lastY = random;
if (data.fish.isLeft) {
//左往右
item.x = -(1334 / 2 + Math.random() * 200)
item.y = -290 + random * 60;//
cc.tween(item).to(7 + Math.random() * 8, { x: 1500 }).call(() => {
data.fish.isOut = FISH_OUT.OUT;
this.viewFishs = this.viewFishs.filter(v => v.id != data.id);
}).start();
} else {
//右往左
item.x = (1334 / 2) + Math.random() * 200;
item.y = -290 + random * 60;
cc.tween(item).to(7 + Math.random() * 8, { x: -1500 }).call(() => {
data.fish.isOut = FISH_OUT.OUT;
this.viewFishs = this.viewFishs.filter(v => v.id != data.id);
}).start();
}
}
private touching: boolean;
private fishAudioId;
fishingRight(item, layout, data: Option) {
return new Promise(async (resolve, reject) => {
let wave = pg.view.find(layout, 'wave')
wave.active = true;
let text = pg.view.find(layout, "text");
text.active = true;
pg.audio.stopAudio(this.fishAudioId);
if (data.audioUrl)
this.fishAudioId = await pg.audio.playAudioByUrl(data.audioUrl)
cc.tween(item)
.to(1, { x: layout.x, y: layout.y + wave.y, scaleX: item.scaleX * 0.1, scaleY: item.scaleY * 0.1 }).call(() => {
//处理内容
data.fish.isOut = FISH_OUT.OUT;
wave.active = false;
text.active = false;
this.touching = false;
item.active = false;
resolve('');
}).start();
});
}
fishingError(item, layout, data) {
return new Promise((resolve, reject) => {
pg.audio.playLocalAudio(pg.view.find(this.res, "audio/error"))
if (data.fish.isLeft) {
//左往右
cc.tween(item).to(3, { x: 1500 }).call(() => {
data.fish.isOut = FISH_OUT.OUT;
item.active = false;
setTimeout(() => { item.parent = null; }, 1000);
if (this.touchFishs.every(fish => fish.id != data.id)) {
resolve('');
}
}).start();
} else {
//右往左
cc.tween(item).to(3, { x: -1500 }).call(() => {
data.fish.isOut = FISH_OUT.OUT;
item.active = false;
setTimeout(() => { item.parent = null; }, 1000);
if (this.touchFishs.every(fish => fish.id != data.id)) {
resolve('');
}
}).start();
}
setTimeout(() => { this.touching = false; }, 500);
});
}
fishing(item, layout) {
return new Promise(async (resolve, reject) => {
let data = item.data;
//item停止动画并
cc.Tween.stopAllByTarget(item);
if (data.right) {
await this.fishingRight(item, layout, data);
} else {
await this.fishingError(item, layout, data);
}
this.touchFishs.push(data);
return resolve(data.right);
});
}
//开始点击 点击角色
async onTouchItem(e) {
if (this.touching) return;
// this.touching = true;
let item = e.target;
let data = item.data;
if (this.touchFishs.some(fish => fish.id == data.id)) return;
if (data.fish.isOut != FISH_OUT.RUNNING) return;
data.fish.isOut = FISH_OUT.TOUCH;
// let isRight = await this.fishing(item, this.layout_player);
// isRight && Game.getIns().player.addScore();
// !isRight && Game.getIns().player.addError();
}
get fishLen() {
if (!this.fishs) return 999;
let arr = this.fishs.filter(item => {
let data: Option = item.data;
return data.fish.isOut == FISH_OUT.RUNNING;
})
this.fishs = arr;
return this.fishs.length;
}
private updateTime: number;
private updateCratTime: number;
update(dt) {
let nowTime = new Date().getTime();
if (!this.updateTime) this.updateTime = nowTime;
if (nowTime - this.updateTime < 1000) return;
this.updateTime = nowTime;
if (Game.getIns().state != GAME_STATE.RUNNING) return;
if (this.fishLen < 5) this.count++;
if (!this.updateCratTime) this.updateCratTime = nowTime - 3000;
if (nowTime - this.updateCratTime < 3000) return;
let fish = this.getFishByCount(this.count);
if (fish) this.fishs.push(fish);
}
}
// Learn TypeScript:
// - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
import Game, { GAME_STATE } from "../tool/Game";
import pg from "../tool/pg";
pg.event.clear();
const { ccclass, property } = cc._decorator;
@ccclass
export default class NewClass extends cc.Component {
@property(cc.Label)
label: cc.Label = null;
private btn_laba: cc.Node;
private countDown: number = 999;
@property
text: string = 'hello';
// LIFE-CYCLE CALLBACKS:
onLoad() {
this.initView();
this.initEvent();
}
private initEvent() {
pg.event.on("game_start", () => {
this.gameStart();
});
this.btn_laba.on(cc.Node.EventType.TOUCH_END, this.playLaba, this);
}
private gameStart() {
// this.showRound();
this.playLaba();
}
private initView() {
this.btn_laba = cc.find("btn_laba", this.node);
}
private intervalId;
private playing: boolean;
private playLaba() {
if (this.playing) return;
this.playing = true;
let btn_kaba2 = this.btn_laba.getChildByName("btn_laba2");
let btn_kaba3 = this.btn_laba.getChildByName("btn_laba3");
btn_kaba2.active = true;
btn_kaba3.active = true;
let count = 0;
if (this.intervalId) clearInterval(this.intervalId);
let stop = false;
this.intervalId = setInterval(() => {
count++;
btn_kaba2.active = count % 3 == 1;
btn_kaba3.active = count % 3 == 2;
if (stop && count % 3 == 2) {
this.playing = false;
clearInterval(this.intervalId);
}
}, 150);
pg.audio.playAudioByUrlThen(Game.getIns().getCurrentPage().audio).then(() => {
stop = true;
})
}
update(dt) { }
}
{
"ver": "1.0.8",
"uuid": "949481d6-a62e-404e-add4-b946b4083d14",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
......@@ -8,7 +8,7 @@
const { ccclass, property } = cc._decorator;
@ccclass
export default class NewClass extends cc.Component {
export default class netscale extends cc.Component {
@property
firstUp: boolean = true;
......
......@@ -81,37 +81,37 @@
"__id__": 35
},
{
"__id__": 43
"__id__": 61
},
{
"__id__": 110
"__id__": 128
},
{
"__id__": 112
"__id__": 130
},
{
"__id__": 118
"__id__": 136
},
{
"__id__": 120
"__id__": 138
},
{
"__id__": 145
"__id__": 163
},
{
"__id__": 164
"__id__": 182
}
],
"_active": true,
"_components": [
{
"__id__": 175
"__id__": 193
},
{
"__id__": 176
"__id__": 194
},
{
"__id__": 177
"__id__": 195
}
],
"_prefab": null,
......@@ -1641,12 +1641,30 @@
},
{
"__id__": 39
},
{
"__id__": 42
},
{
"__id__": 45
},
{
"__id__": 48
},
{
"__id__": 51
},
{
"__id__": 54
},
{
"__id__": 57
}
],
"_active": true,
"_components": [
{
"__id__": 42
"__id__": 60
}
],
"_prefab": null,
......@@ -1927,31 +1945,679 @@
"_id": "67tDz9NqhM3a5GZd6RjDDl"
},
{
"__type__": "cc.Widget",
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 39
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 4,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "b7M0epv7FDwoGo55Ht/5pT"
},
{
"__type__": "cc.Node",
"_name": "clound_1",
"_objFlags": 0,
"_parent": {
"__id__": 35
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 43
},
{
"__id__": 44
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 72
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-711.094,
432.185,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "0d5ghE+HZLUbMNLDeXAtoI"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "74edb1a5-f64a-45a0-a2b4-28959f8d0289"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "04crTmUgpORqKU0n/997LU"
},
{
"__type__": "aaac5SL94hC06uZMQh1C3Gb",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
},
"_enabled": true,
"toLeft": true,
"_id": "e38+QIrnZMkLA+XUUQCw7J"
},
{
"__type__": "cc.Node",
"_name": "clound_2",
"_objFlags": 0,
"_parent": {
"__id__": 35
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 46
},
{
"__id__": 47
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 72
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
501.943,
217.056,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "76gBPJjOtLvYkxd+NNaEtd"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "191f88d3-8337-4be1-9bac-a39add17ca4b"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a1H7eExKdHZpw7cFKknQTR"
},
{
"__type__": "aaac5SL94hC06uZMQh1C3Gb",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
},
"_enabled": true,
"toLeft": true,
"_id": "e410scqzpMh6+M7doV2R9c"
},
{
"__type__": "cc.Node",
"_name": "clound_3",
"_objFlags": 0,
"_parent": {
"__id__": 35
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 49
},
{
"__id__": 50
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 72
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
100.389,
401.555,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "ce97gvRmlN+JedVpiF5irL"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 48
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "ff613688-db23-4a15-b437-666423d1f1a9"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "1bD5ONvT5PI5YBrqSHz4yE"
},
{
"__type__": "aaac5SL94hC06uZMQh1C3Gb",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 48
},
"_enabled": true,
"toLeft": false,
"_id": "edhP/AUbJJH4rLWOOilqah"
},
{
"__type__": "cc.Node",
"_name": "clound_4",
"_objFlags": 0,
"_parent": {
"__id__": 35
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 52
},
{
"__id__": 53
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 146,
"height": 54
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-930.631,
40.698,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "45aGtcRD9LzqEOBdHYVPeP"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 51
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d4b010c3-f2aa-496a-90e3-85bc32d650bc"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "12gwQKOYpBjZ51EUt2VJVy"
},
{
"__type__": "aaac5SL94hC06uZMQh1C3Gb",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 51
},
"_enabled": true,
"toLeft": false,
"_id": "3dAYRmH5hBwLEt0XT7Cawz"
},
{
"__type__": "cc.Node",
"_name": "clound_5",
"_objFlags": 0,
"_parent": {
"__id__": 35
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 55
},
{
"__id__": 56
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 72
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-181.785,
141.087,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "25MD0GxmhE26dXkkUC7fXY"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 54
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a11e749d-6993-4f85-b7f9-b0f1f169afbc"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "fbf/D2xaZHiamdUt4jcbzp"
},
{
"__type__": "aaac5SL94hC06uZMQh1C3Gb",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 54
},
"_enabled": true,
"toLeft": true,
"_id": "58KKvUwDJGp5ShGl2fJuxa"
},
{
"__type__": "cc.Node",
"_name": "clound_6",
"_objFlags": 0,
"_parent": {
"__id__": 35
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 58
},
{
"__id__": 59
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 72
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
873.653,
312.019,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "7fF5pIlA1EqKydAkdg/sW1"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "bad4c518-d060-4b80-ac8d-0265948f6a44"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "59D3X3hIpMl7hTMbrAlnG0"
},
{
"__type__": "aaac5SL94hC06uZMQh1C3Gb",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 39
"__id__": 57
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 4,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "b7M0epv7FDwoGo55Ht/5pT"
"toLeft": true,
"_id": "06Qj+f649JCKcGdrjq6cTT"
},
{
"__type__": "cc.Widget",
......@@ -1989,22 +2655,22 @@
},
"_children": [
{
"__id__": 44
"__id__": 62
},
{
"__id__": 73
"__id__": 91
},
{
"__id__": 74
"__id__": 92
},
{
"__id__": 92
"__id__": 110
}
],
"_active": true,
"_components": [
{
"__id__": 109
"__id__": 127
}
],
"_prefab": null,
......@@ -2060,20 +2726,20 @@
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 43
"__id__": 61
},
"_children": [
{
"__id__": 45
"__id__": 63
},
{
"__id__": 67
"__id__": 85
}
],
"_active": true,
"_components": [
{
"__id__": 72
"__id__": 90
}
],
"_prefab": null,
......@@ -2129,44 +2795,44 @@
"_name": "fish",
"_objFlags": 0,
"_parent": {
"__id__": 44
"__id__": 62
},
"_children": [
{
"__id__": 46
"__id__": 64
},
{
"__id__": 48
"__id__": 66
},
{
"__id__": 50
"__id__": 68
},
{
"__id__": 52
"__id__": 70
},
{
"__id__": 54
"__id__": 72
},
{
"__id__": 56
"__id__": 74
},
{
"__id__": 58
"__id__": 76
},
{
"__id__": 60
"__id__": 78
},
{
"__id__": 62
"__id__": 80
},
{
"__id__": 64
"__id__": 82
}
],
"_active": true,
"_components": [
{
"__id__": 66
"__id__": 84
}
],
"_prefab": null,
......@@ -2222,13 +2888,13 @@
"_name": "fish_1",
"_objFlags": 0,
"_parent": {
"__id__": 45
"__id__": 63
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 47
"__id__": 65
}
],
"_prefab": null,
......@@ -2284,7 +2950,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 46
"__id__": 64
},
"_enabled": true,
"_materials": [
......@@ -2324,13 +2990,13 @@
"_name": "fish_2",
"_objFlags": 0,
"_parent": {
"__id__": 45
"__id__": 63
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 49
"__id__": 67
}
],
"_prefab": null,
......@@ -2386,7 +3052,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 48
"__id__": 66
},
"_enabled": true,
"_materials": [
......@@ -2426,13 +3092,13 @@
"_name": "fish_3",
"_objFlags": 0,
"_parent": {
"__id__": 45
"__id__": 63
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 51
"__id__": 69
}
],
"_prefab": null,
......@@ -2488,7 +3154,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
"__id__": 68
},
"_enabled": true,
"_materials": [
......@@ -2528,13 +3194,13 @@
"_name": "fish_4",
"_objFlags": 0,
"_parent": {
"__id__": 45
"__id__": 63
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 53
"__id__": 71
}
],
"_prefab": null,
......@@ -2590,7 +3256,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 52
"__id__": 70
},
"_enabled": true,
"_materials": [
......@@ -2630,13 +3296,13 @@
"_name": "fish_5",
"_objFlags": 0,
"_parent": {
"__id__": 45
"__id__": 63
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 55
"__id__": 73
}
],
"_prefab": null,
......@@ -2692,7 +3358,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 54
"__id__": 72
},
"_enabled": true,
"_materials": [
......@@ -2732,13 +3398,13 @@
"_name": "fish_6",
"_objFlags": 0,
"_parent": {
"__id__": 45
"__id__": 63
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 57
"__id__": 75
}
],
"_prefab": null,
......@@ -2794,7 +3460,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 56
"__id__": 74
},
"_enabled": true,
"_materials": [
......@@ -2834,13 +3500,13 @@
"_name": "fish_7",
"_objFlags": 0,
"_parent": {
"__id__": 45
"__id__": 63
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 59
"__id__": 77
}
],
"_prefab": null,
......@@ -2896,7 +3562,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 58
"__id__": 76
},
"_enabled": true,
"_materials": [
......@@ -2936,13 +3602,13 @@
"_name": "fish_8",
"_objFlags": 0,
"_parent": {
"__id__": 45
"__id__": 63
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 61
"__id__": 79
}
],
"_prefab": null,
......@@ -2998,7 +3664,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 60
"__id__": 78
},
"_enabled": true,
"_materials": [
......@@ -3038,13 +3704,13 @@
"_name": "fish_9",
"_objFlags": 0,
"_parent": {
"__id__": 45
"__id__": 63
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 63
"__id__": 81
}
],
"_prefab": null,
......@@ -3100,7 +3766,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 62
"__id__": 80
},
"_enabled": true,
"_materials": [
......@@ -3140,13 +3806,13 @@
"_name": "fish_10",
"_objFlags": 0,
"_parent": {
"__id__": 45
"__id__": 63
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 65
"__id__": 83
}
],
"_prefab": null,
......@@ -3202,7 +3868,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
"__id__": 82
},
"_enabled": true,
"_materials": [
......@@ -3242,7 +3908,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
"__id__": 63
},
"_enabled": false,
"_materials": [
......@@ -3274,14 +3940,14 @@
"_name": "layout_text",
"_objFlags": 0,
"_parent": {
"__id__": 44
"__id__": 62
},
"_children": [
{
"__id__": 68
"__id__": 86
},
{
"__id__": 70
"__id__": 88
}
],
"_active": true,
......@@ -3339,13 +4005,13 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 67
"__id__": 85
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 69
"__id__": 87
}
],
"_prefab": null,
......@@ -3401,7 +4067,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 68
"__id__": 86
},
"_enabled": true,
"_materials": [
......@@ -3433,13 +4099,13 @@
"_name": "text",
"_objFlags": 0,
"_parent": {
"__id__": 67
"__id__": 85
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 71
"__id__": 89
}
],
"_prefab": null,
......@@ -3495,7 +4161,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
"__id__": 88
},
"_enabled": true,
"_materials": [
......@@ -3530,7 +4196,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
"__id__": 62
},
"_enabled": true,
"_normalMaterial": null,
......@@ -3591,7 +4257,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 44
"__id__": 62
},
"_id": "a1Avh4LwBKJKeCLMrv0hnM"
},
......@@ -3600,7 +4266,7 @@
"_name": "layout_fish",
"_objFlags": 0,
"_parent": {
"__id__": 43
"__id__": 61
},
"_children": [],
"_active": true,
......@@ -3658,17 +4324,17 @@
"_name": "boat_left",
"_objFlags": 0,
"_parent": {
"__id__": 43
"__id__": 61
},
"_children": [
{
"__id__": 75
"__id__": 93
},
{
"__id__": 78
"__id__": 96
},
{
"__id__": 89
"__id__": 107
}
],
"_active": true,
......@@ -3726,16 +4392,16 @@
"_name": "net",
"_objFlags": 0,
"_parent": {
"__id__": 74
"__id__": 92
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 76
"__id__": 94
},
{
"__id__": 77
"__id__": 95
}
],
"_prefab": null,
......@@ -3791,7 +4457,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
"__id__": 93
},
"_enabled": true,
"_materials": [
......@@ -3823,7 +4489,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
"__id__": 93
},
"_enabled": true,
"firstUp": true,
......@@ -3834,23 +4500,23 @@
"_name": "boat",
"_objFlags": 0,
"_parent": {
"__id__": 74
"__id__": 92
},
"_children": [
{
"__id__": 79
"__id__": 97
}
],
"_active": true,
"_components": [
{
"__id__": 86
"__id__": 104
},
{
"__id__": 87
"__id__": 105
},
{
"__id__": 88
"__id__": 106
}
],
"_prefab": null,
......@@ -3906,17 +4572,17 @@
"_name": "voice",
"_objFlags": 0,
"_parent": {
"__id__": 78
"__id__": 96
},
"_children": [
{
"__id__": 80
"__id__": 98
},
{
"__id__": 82
"__id__": 100
},
{
"__id__": 84
"__id__": 102
}
],
"_active": false,
......@@ -3974,13 +4640,13 @@
"_name": "v1",
"_objFlags": 0,
"_parent": {
"__id__": 79
"__id__": 97
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 81
"__id__": 99
}
],
"_prefab": null,
......@@ -4036,7 +4702,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 80
"__id__": 98
},
"_enabled": true,
"_materials": [
......@@ -4068,13 +4734,13 @@
"_name": "v2",
"_objFlags": 0,
"_parent": {
"__id__": 79
"__id__": 97
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 83
"__id__": 101
}
],
"_prefab": null,
......@@ -4130,7 +4796,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
"__id__": 100
},
"_enabled": true,
"_materials": [
......@@ -4162,13 +4828,13 @@
"_name": "v3",
"_objFlags": 0,
"_parent": {
"__id__": 79
"__id__": 97
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 85
"__id__": 103
}
],
"_prefab": null,
......@@ -4224,7 +4890,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
"__id__": 102
},
"_enabled": true,
"_materials": [
......@@ -4256,7 +4922,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
"__id__": 96
},
"_enabled": true,
"_materials": [
......@@ -4296,7 +4962,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
"__id__": 96
},
"_enabled": true,
"firstUp": true,
......@@ -4307,7 +4973,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
"__id__": 96
},
"_enabled": true,
"_normalMaterial": null,
......@@ -4368,7 +5034,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 78
"__id__": 96
},
"_id": "22jYvkMwtPYqNNI2jFKpz8"
},
......@@ -4377,16 +5043,16 @@
"_name": "text",
"_objFlags": 0,
"_parent": {
"__id__": 74
"__id__": 92
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 90
"__id__": 108
},
{
"__id__": 91
"__id__": 109
}
],
"_prefab": null,
......@@ -4442,7 +5108,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 89
"__id__": 107
},
"_enabled": true,
"_materials": [
......@@ -4477,7 +5143,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 89
"__id__": 107
},
"_enabled": true,
"_color": {
......@@ -4495,17 +5161,17 @@
"_name": "boat_right",
"_objFlags": 0,
"_parent": {
"__id__": 43
"__id__": 61
},
"_children": [
{
"__id__": 93
"__id__": 111
},
{
"__id__": 96
"__id__": 114
},
{
"__id__": 106
"__id__": 124
}
],
"_active": true,
......@@ -4563,16 +5229,16 @@
"_name": "net",
"_objFlags": 0,
"_parent": {
"__id__": 92
"__id__": 110
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 94
"__id__": 112
},
{
"__id__": 95
"__id__": 113
}
],
"_prefab": null,
......@@ -4628,7 +5294,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 93
"__id__": 111
},
"_enabled": true,
"_materials": [
......@@ -4660,7 +5326,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 93
"__id__": 111
},
"_enabled": true,
"firstUp": false,
......@@ -4671,20 +5337,20 @@
"_name": "boat",
"_objFlags": 0,
"_parent": {
"__id__": 92
"__id__": 110
},
"_children": [
{
"__id__": 97
"__id__": 115
}
],
"_active": true,
"_components": [
{
"__id__": 104
"__id__": 122
},
{
"__id__": 105
"__id__": 123
}
],
"_prefab": null,
......@@ -4740,17 +5406,17 @@
"_name": "voice",
"_objFlags": 0,
"_parent": {
"__id__": 96
"__id__": 114
},
"_children": [
{
"__id__": 98
"__id__": 116
},
{
"__id__": 100
"__id__": 118
},
{
"__id__": 102
"__id__": 120
}
],
"_active": false,
......@@ -4808,13 +5474,13 @@
"_name": "v1",
"_objFlags": 0,
"_parent": {
"__id__": 97
"__id__": 115
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 99
"__id__": 117
}
],
"_prefab": null,
......@@ -4870,7 +5536,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 98
"__id__": 116
},
"_enabled": true,
"_materials": [
......@@ -4902,13 +5568,13 @@
"_name": "v2",
"_objFlags": 0,
"_parent": {
"__id__": 97
"__id__": 115
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 101
"__id__": 119
}
],
"_prefab": null,
......@@ -4964,7 +5630,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 100
"__id__": 118
},
"_enabled": true,
"_materials": [
......@@ -4996,13 +5662,13 @@
"_name": "v3",
"_objFlags": 0,
"_parent": {
"__id__": 97
"__id__": 115
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 103
"__id__": 121
}
],
"_prefab": null,
......@@ -5058,7 +5724,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 102
"__id__": 120
},
"_enabled": true,
"_materials": [
......@@ -5090,7 +5756,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 96
"__id__": 114
},
"_enabled": true,
"_materials": [
......@@ -5130,7 +5796,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 96
"__id__": 114
},
"_enabled": true,
"firstUp": false,
......@@ -5141,16 +5807,16 @@
"_name": "text",
"_objFlags": 0,
"_parent": {
"__id__": 92
"__id__": 110
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 107
"__id__": 125
},
{
"__id__": 108
"__id__": 126
}
],
"_prefab": null,
......@@ -5206,7 +5872,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 106
"__id__": 124
},
"_enabled": true,
"_materials": [
......@@ -5241,7 +5907,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 106
"__id__": 124
},
"_enabled": true,
"_color": {
......@@ -5259,7 +5925,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 43
"__id__": 61
},
"_enabled": true,
"alignMode": 1,
......@@ -5292,7 +5958,7 @@
"_active": true,
"_components": [
{
"__id__": 111
"__id__": 129
}
],
"_prefab": null,
......@@ -5348,7 +6014,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 110
"__id__": 128
},
"_enabled": true,
"alignMode": 1,
......@@ -5379,16 +6045,16 @@
},
"_children": [
{
"__id__": 113
"__id__": 131
},
{
"__id__": 115
"__id__": 133
}
],
"_active": false,
"_components": [
{
"__id__": 117
"__id__": 135
}
],
"_prefab": null,
......@@ -5444,13 +6110,13 @@
"_name": "touch",
"_objFlags": 0,
"_parent": {
"__id__": 112
"__id__": 130
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 114
"__id__": 132
}
],
"_prefab": null,
......@@ -5506,7 +6172,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 113
"__id__": 131
},
"_enabled": true,
"_normalMaterial": null,
......@@ -5574,13 +6240,13 @@
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 112
"__id__": 130
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 116
"__id__": 134
}
],
"_prefab": null,
......@@ -5636,7 +6302,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 115
"__id__": 133
},
"_enabled": true,
"_materials": [
......@@ -5669,7 +6335,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 112
"__id__": 130
},
"_enabled": true,
"_materials": [
......@@ -5707,7 +6373,7 @@
"_active": false,
"_components": [
{
"__id__": 119
"__id__": 137
}
],
"_prefab": null,
......@@ -5763,7 +6429,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 118
"__id__": 136
},
"_enabled": true,
"_materials": [
......@@ -5799,23 +6465,23 @@
},
"_children": [
{
"__id__": 121
"__id__": 139
},
{
"__id__": 125
"__id__": 143
}
],
"_active": true,
"_components": [
{
"__id__": 142
"__id__": 160
},
{
"__id__": 143
"__id__": 161
}
],
"_prefab": {
"__id__": 144
"__id__": 162
},
"_opacity": 255,
"_color": {
......@@ -5869,20 +6535,20 @@
"_name": "label_title",
"_objFlags": 0,
"_parent": {
"__id__": 120
"__id__": 138
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 122
"__id__": 140
},
{
"__id__": 123
"__id__": 141
}
],
"_prefab": {
"__id__": 124
"__id__": 142
},
"_opacity": 255,
"_color": {
......@@ -5936,7 +6602,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 121
"__id__": 139
},
"_enabled": true,
"_materials": [
......@@ -5969,7 +6635,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 121
"__id__": 139
},
"_enabled": true,
"alignMode": 1,
......@@ -5994,7 +6660,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 120
"__id__": 138
},
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
......@@ -6007,21 +6673,21 @@
"_name": "layout_mouse",
"_objFlags": 0,
"_parent": {
"__id__": 120
"__id__": 138
},
"_children": [
{
"__id__": 126
"__id__": 144
}
],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 140
"__id__": 158
}
],
"_prefab": {
"__id__": 141
"__id__": 159
},
"_opacity": 255,
"_color": {
......@@ -6075,26 +6741,26 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 125
"__id__": 143
},
"_children": [
{
"__id__": 127
"__id__": 145
},
{
"__id__": 130
"__id__": 148
},
{
"__id__": 133
"__id__": 151
},
{
"__id__": 136
"__id__": 154
}
],
"_active": true,
"_active": false,
"_components": [],
"_prefab": {
"__id__": 139
"__id__": 157
},
"_opacity": 255,
"_color": {
......@@ -6148,17 +6814,17 @@
"_name": "star_bg",
"_objFlags": 0,
"_parent": {
"__id__": 126
"__id__": 144
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 128
"__id__": 146
}
],
"_prefab": {
"__id__": 129
"__id__": 147
},
"_opacity": 255,
"_color": {
......@@ -6212,7 +6878,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 127
"__id__": 145
},
"_enabled": true,
"_materials": [
......@@ -6242,7 +6908,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 120
"__id__": 138
},
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
......@@ -6255,17 +6921,17 @@
"_name": "star",
"_objFlags": 0,
"_parent": {
"__id__": 126
"__id__": 144
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 131
"__id__": 149
}
],
"_prefab": {
"__id__": 132
"__id__": 150
},
"_opacity": 255,
"_color": {
......@@ -6319,7 +6985,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 130
"__id__": 148
},
"_enabled": true,
"_materials": [
......@@ -6349,7 +7015,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 120
"__id__": 138
},
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
......@@ -6362,17 +7028,17 @@
"_name": "icon_bigstar",
"_objFlags": 0,
"_parent": {
"__id__": 126
"__id__": 144
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 134
"__id__": 152
}
],
"_prefab": {
"__id__": 135
"__id__": 153
},
"_opacity": 255,
"_color": {
......@@ -6426,7 +7092,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 133
"__id__": 151
},
"_enabled": true,
"_materials": [
......@@ -6456,7 +7122,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 120
"__id__": 138
},
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
......@@ -6469,17 +7135,17 @@
"_name": "star_wrong",
"_objFlags": 0,
"_parent": {
"__id__": 126
"__id__": 144
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 137
"__id__": 155
}
],
"_prefab": {
"__id__": 138
"__id__": 156
},
"_opacity": 255,
"_color": {
......@@ -6533,7 +7199,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 136
"__id__": 154
},
"_enabled": true,
"_materials": [
......@@ -6563,7 +7229,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 120
"__id__": 138
},
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
......@@ -6574,7 +7240,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 120
"__id__": 138
},
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
......@@ -6587,7 +7253,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 125
"__id__": 143
},
"_enabled": true,
"position": {
......@@ -6606,7 +7272,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 120
"__id__": 138
},
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
......@@ -6619,7 +7285,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 120
"__id__": 138
},
"_enabled": true,
"_materials": [
......@@ -6651,7 +7317,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 120
"__id__": 138
},
"_enabled": true,
"alignMode": 1,
......@@ -6676,7 +7342,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 120
"__id__": 138
},
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
......@@ -6693,26 +7359,26 @@
},
"_children": [
{
"__id__": 146
"__id__": 164
},
{
"__id__": 151
"__id__": 169
},
{
"__id__": 154
"__id__": 172
},
{
"__id__": 158
"__id__": 176
}
],
"_active": false,
"_components": [
{
"__id__": 162
"__id__": 180
}
],
"_prefab": {
"__id__": 163
"__id__": 181
},
"_opacity": 255,
"_color": {
......@@ -6766,23 +7432,23 @@
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_parent": {
"__id__": 145
"__id__": 163
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 147
"__id__": 165
},
{
"__id__": 148
"__id__": 166
},
{
"__id__": 149
"__id__": 167
}
],
"_prefab": {
"__id__": 150
"__id__": 168
},
"_opacity": 175,
"_color": {
......@@ -6836,7 +7502,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 146
"__id__": 164
},
"_enabled": true,
"_materials": [
......@@ -6868,7 +7534,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 146
"__id__": 164
},
"_enabled": true,
"alignMode": 1,
......@@ -6895,7 +7561,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 146
"__id__": 164
},
"_enabled": true,
"_normalMaterial": null,
......@@ -6961,7 +7627,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 145
"__id__": 163
},
"asset": {
"__uuid__": "4e3ba6ba-17d6-4285-beb3-d5f8c90cc1f1"
......@@ -6974,17 +7640,17 @@
"_name": "finish_db",
"_objFlags": 0,
"_parent": {
"__id__": 145
"__id__": 163
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 152
"__id__": 170
}
],
"_prefab": {
"__id__": 153
"__id__": 171
},
"_opacity": 255,
"_color": {
......@@ -7038,7 +7704,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 151
"__id__": 169
},
"_enabled": true,
"_materials": [
......@@ -7072,7 +7738,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 145
"__id__": 163
},
"asset": {
"__uuid__": "4e3ba6ba-17d6-4285-beb3-d5f8c90cc1f1"
......@@ -7085,20 +7751,20 @@
"_name": "btn_again",
"_objFlags": 0,
"_parent": {
"__id__": 145
"__id__": 163
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 155
"__id__": 173
},
{
"__id__": 156
"__id__": 174
}
],
"_prefab": {
"__id__": 157
"__id__": 175
},
"_opacity": 255,
"_color": {
......@@ -7152,7 +7818,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 154
"__id__": 172
},
"_enabled": true,
"_materials": [
......@@ -7184,7 +7850,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 154
"__id__": 172
},
"_enabled": true,
"_normalMaterial": null,
......@@ -7250,7 +7916,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 145
"__id__": 163
},
"asset": {
"__uuid__": "4e3ba6ba-17d6-4285-beb3-d5f8c90cc1f1"
......@@ -7263,20 +7929,20 @@
"_name": "btn_next",
"_objFlags": 0,
"_parent": {
"__id__": 145
"__id__": 163
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 159
"__id__": 177
},
{
"__id__": 160
"__id__": 178
}
],
"_prefab": {
"__id__": 161
"__id__": 179
},
"_opacity": 255,
"_color": {
......@@ -7330,7 +7996,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 158
"__id__": 176
},
"_enabled": true,
"_materials": [
......@@ -7362,7 +8028,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 158
"__id__": 176
},
"_enabled": true,
"_normalMaterial": null,
......@@ -7428,7 +8094,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 145
"__id__": 163
},
"asset": {
"__uuid__": "4e3ba6ba-17d6-4285-beb3-d5f8c90cc1f1"
......@@ -7441,7 +8107,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 145
"__id__": 163
},
"_enabled": true,
"alignMode": 1,
......@@ -7466,7 +8132,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 145
"__id__": 163
},
"asset": {
"__uuid__": "4e3ba6ba-17d6-4285-beb3-d5f8c90cc1f1"
......@@ -7483,20 +8149,20 @@
},
"_children": [
{
"__id__": 165
"__id__": 183
},
{
"__id__": 170
"__id__": 188
}
],
"_active": false,
"_components": [
{
"__id__": 173
"__id__": 191
}
],
"_prefab": {
"__id__": 174
"__id__": 192
},
"_opacity": 255,
"_color": {
......@@ -7550,23 +8216,23 @@
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_parent": {
"__id__": 164
"__id__": 182
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 166
"__id__": 184
},
{
"__id__": 167
"__id__": 185
},
{
"__id__": 168
"__id__": 186
}
],
"_prefab": {
"__id__": 169
"__id__": 187
},
"_opacity": 110,
"_color": {
......@@ -7620,7 +8286,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 165
"__id__": 183
},
"_enabled": true,
"_materials": [
......@@ -7652,7 +8318,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 165
"__id__": 183
},
"_enabled": true,
"_normalMaterial": null,
......@@ -7720,7 +8386,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 165
"__id__": 183
},
"_enabled": true,
"alignMode": 1,
......@@ -7745,7 +8411,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 164
"__id__": 182
},
"asset": {
"__uuid__": "424614db-81ce-4c87-bc56-e9bb460b2aaa"
......@@ -7758,17 +8424,17 @@
"_name": "start_ske",
"_objFlags": 0,
"_parent": {
"__id__": 164
"__id__": 182
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 171
"__id__": 189
}
],
"_prefab": {
"__id__": 172
"__id__": 190
},
"_opacity": 255,
"_color": {
......@@ -7822,7 +8488,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 170
"__id__": 188
},
"_enabled": true,
"_materials": [
......@@ -7856,7 +8522,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 164
"__id__": 182
},
"asset": {
"__uuid__": "424614db-81ce-4c87-bc56-e9bb460b2aaa"
......@@ -7869,7 +8535,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 164
"__id__": 182
},
"_enabled": true,
"alignMode": 1,
......@@ -7894,7 +8560,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 164
"__id__": 182
},
"asset": {
"__uuid__": "424614db-81ce-4c87-bc56-e9bb460b2aaa"
......@@ -7955,10 +8621,10 @@
},
"_enabled": true,
"layout_start": {
"__id__": 164
"__id__": 182
},
"layout_finish": {
"__id__": 145
"__id__": 163
},
"_id": "eaTVUpqahPfZeO9+sUI7RP"
}
......
......@@ -46,6 +46,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
Game.getIns().init(this.data);
Game.getIns().reset();
this.touching = null;
pg.event.emit('mouse_05_num', Game.getIns().getFishList().length)
}
private audioId: any;
async initView() {
......
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