This commit is contained in:
YZ\249929363 2025-07-03 16:44:18 +08:00
commit 9c63e73929
17 changed files with 4711 additions and 2820 deletions

File diff suppressed because it is too large Load Diff

View File

@ -190,19 +190,19 @@
"__id__": 207 "__id__": 207
}, },
{ {
"__id__": 260 "__id__": 259
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{
"__id__": 261
},
{ {
"__id__": 262 "__id__": 262
}, },
{ {
"__id__": 263 "__id__": 263
},
{
"__id__": 264
} }
], ],
"_prefab": null, "_prefab": null,
@ -380,6 +380,9 @@
{ {
"__id__": 67 "__id__": 67
}, },
{
"__id__": 72
},
{ {
"__id__": 82 "__id__": 82
}, },
@ -1834,7 +1837,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-127.634, -135.56,
1.821, 1.821,
0, 0,
0, 0,
@ -1884,7 +1887,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 100.1, "width": 102.3,
"height": 50.4 "height": 50.4
}, },
"_anchorPoint": { "_anchorPoint": {
@ -3224,7 +3227,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "startBtn", "_name": "New Sprite",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 7 "__id__": 7
@ -3233,17 +3236,265 @@
{ {
"__id__": 68 "__id__": 68
}, },
{
"__id__": 69
}
],
"_active": true,
"_components": [
{
"__id__": 71
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 314,
"height": 96
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-519.612,
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": "5e09+bPftE74zDi53bWF8Z"
},
{
"__type__": "cc.Node",
"_name": "Level",
"_objFlags": 0,
"_parent": {
"__id__": 67
},
"_children": [],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 200,
"height": 200
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-12,
13.122,
0,
0,
0,
0,
1,
1,
1,
0
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "79CJjOgBJGS6Tbmtt8Yvii"
},
{
"__type__": "cc.Node",
"_name": "diguan",
"_objFlags": 0,
"_parent": {
"__id__": 67
},
"_children": [],
"_active": true,
"_components": [
{ {
"__id__": 70 "__id__": 70
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 234,
"height": 36
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
13.122,
0,
0,
0,
0,
1,
1,
1,
0
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "ebsHtgIhRLjb4tFNPT5zEH"
}, },
{ {
"__id__": 72 "__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 69
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c281f2f9-2807-4bb8-99d4-7539f1ee9a72"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "98eb2872-691f-4fc7-b827-c7f6dd98d242"
},
"_id": "7arxCXkSJE1Zb0xW1mnRKN"
}, },
{ {
"__id__": 74 "__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 67
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "e080aa54-03de-469f-9954-14b4b1d22c18"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "98eb2872-691f-4fc7-b827-c7f6dd98d242"
},
"_id": "88zAF5DPBKJasd19p6kKlt"
}, },
{ {
"__id__": 76 "__type__": "cc.Node",
"_name": "startBtn",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [
{
"__id__": 73
},
{
"__id__": 75
}, },
{ {
"__id__": 77 "__id__": 77
@ -3311,13 +3562,13 @@
"_name": "New Sprite", "_name": "New Sprite",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 67 "__id__": 72
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 69 "__id__": 74
} }
], ],
"_prefab": null, "_prefab": null,
@ -3373,7 +3624,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 68 "__id__": 73
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
@ -3407,13 +3658,13 @@
"_name": "New Sprite", "_name": "New Sprite",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 67 "__id__": 72
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 71 "__id__": 76
} }
], ],
"_prefab": null, "_prefab": null,
@ -3469,7 +3720,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 70 "__id__": 75
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
@ -3503,13 +3754,13 @@
"_name": "New Sprite", "_name": "New Sprite",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 67 "__id__": 72
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 73 "__id__": 78
} }
], ],
"_prefab": null, "_prefab": null,
@ -3565,7 +3816,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 72 "__id__": 77
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
@ -3594,262 +3845,12 @@
}, },
"_id": "55iYU8hxdHGJOdKh/yA+RR" "_id": "55iYU8hxdHGJOdKh/yA+RR"
}, },
{
"__type__": "cc.Node",
"_name": "New Sprite",
"_objFlags": 0,
"_parent": {
"__id__": 67
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 75
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 314,
"height": 96
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
162.097,
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": "5e09+bPftE74zDi53bWF8Z"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 74
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "e080aa54-03de-469f-9954-14b4b1d22c18"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "98eb2872-691f-4fc7-b827-c7f6dd98d242"
},
"_id": "88zAF5DPBKJasd19p6kKlt"
},
{
"__type__": "cc.Node",
"_name": "Level",
"_objFlags": 0,
"_parent": {
"__id__": 67
},
"_children": [],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 200,
"height": 200
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-12,
182.186,
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": "79CJjOgBJGS6Tbmtt8Yvii"
},
{
"__type__": "cc.Node",
"_name": "diguan",
"_objFlags": 0,
"_parent": {
"__id__": 67
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 78
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 234,
"height": 36
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
183.832,
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": "ebsHtgIhRLjb4tFNPT5zEH"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 77
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c281f2f9-2807-4bb8-99d4-7539f1ee9a72"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "98eb2872-691f-4fc7-b827-c7f6dd98d242"
},
"_id": "7arxCXkSJE1Zb0xW1mnRKN"
},
{ {
"__type__": "cc.Button", "__type__": "cc.Button",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 67 "__id__": 72
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
@ -3914,7 +3915,7 @@
"hoverSprite": null, "hoverSprite": null,
"_N$disabledSprite": null, "_N$disabledSprite": null,
"_N$target": { "_N$target": {
"__id__": 67 "__id__": 72
}, },
"_id": "3dQDbcz5dNn74nCaHgkHYH" "_id": "3dQDbcz5dNn74nCaHgkHYH"
}, },
@ -3933,7 +3934,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 67 "__id__": 72
}, },
"_enabled": true, "_enabled": true,
"_id": "b3Q7zBr9dF8b+FxLkZChQs" "_id": "b3Q7zBr9dF8b+FxLkZChQs"
@ -9819,11 +9820,7 @@
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [],
{
"__id__": 259
}
],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
@ -12238,31 +12235,6 @@
"_N$cacheMode": 0, "_N$cacheMode": 0,
"_id": "16Hrdc6YhCHpvmkwsnbApU" "_id": "16Hrdc6YhCHpvmkwsnbApU"
}, },
{
"__type__": "aca4aut33NCvIC0yg3JmY0h",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 207
},
"_enabled": true,
"music": {
"__id__": 249
},
"effect": {
"__id__": 251
},
"vibrate": {
"__id__": 253
},
"open": {
"__uuid__": "562063eb-13eb-498c-8e63-d24e8c32d078"
},
"close": {
"__uuid__": "792a43b7-a51c-4fc8-8486-514d144e7354"
},
"_id": "434LHxyYNNzrdkv6bYT29F"
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "zhuanchang", "_name": "zhuanchang",
@ -12274,7 +12246,7 @@
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 261 "__id__": 260
} }
], ],
"_prefab": null, "_prefab": null,
@ -12330,7 +12302,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 260 "__id__": 259
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
@ -12443,7 +12415,7 @@
"__id__": 21 "__id__": 21
}, },
"level": { "level": {
"__id__": 76 "__id__": 68
}, },
"coin": { "coin": {
"__id__": 49 "__id__": 49

View File

@ -50,8 +50,10 @@ export default class JiaZai extends cc.Component {
@property(cc.Node) @property(cc.Node)
Stamina: cc.Node = null; Stamina: cc.Node = null;
scheduleCallback: any; scheduleCallback: any;
private heath : any; // 用于存储heath预制体
private lastPauseClickTime: number = 0; // 用于记录上次点击的时间戳 private lastPauseClickTime: number = 0; // 用于记录上次点击的时间戳
// 弹窗倒计时调度器
private heathScheduleCallback: Function = null;
@property(cc.Node) @property(cc.Node)
setUi: cc.Node = null; setUi: cc.Node = null;
@ -136,21 +138,75 @@ export default class JiaZai extends cc.Component {
} }
//打开heath弹窗,创建预制体 //打开heath弹窗,创建预制体
openHeath() { // 打开heath弹窗创建预制体并启动自己的倒计时
openHeath() {
debugger;
let health = cc.instantiate(this.health); let health = cc.instantiate(this.health);
this.node.addChild(health); this.node.addChild(health);
let heathPop =health.getComponent("heathnum").coin ; let heathPop = health.getComponent("heathnum").heatht;
heathPop.scale = 0.7; heathPop.scale = 0.7;
let swich = health.getComponent("heathnum").switchNode; this.heath = heathPop; // 保存heath预制体引用
let spriteFrames = health.getComponent("heathnum").spriteFrames; let swichs = health.getComponent("heathnum").switchNode;
if(cc.fx.GameConfig.GM_INFO.hp <= 0) { let timeNode = health.getComponent("heathnum").timeNode;
swich.getComponent(cc.Sprite).spriteFrame =spriteFrames[1]; let switchButtons = health.getComponent("heathnum").switchButtons;
}else { let coin = health.getComponent("heathnum").coin;
swich.getComponent(cc.Sprite).spriteFrame = spriteFrames[0]; // 启动弹窗自己的倒计时
this.startHeathTimeCutDown(timeNode);
if (cc.fx.GameConfig.GM_INFO.hp == 0) {
// 体力为0显示spriteFrames[1],只显示第二个按钮
if (switchButtons[0]) {switchButtons[0].active = false;swichs[0].active = false;}
if (switchButtons[1]){ switchButtons[1].active = true;swichs[1].active = true;}
} else if (cc.fx.GameConfig.GM_INFO.hp < 5 && cc.fx.GameConfig.GM_INFO.hp > 0) {
// 体力小于5但大于0显示spriteFrames[1],只显示第一个按钮
if (switchButtons[0]) {switchButtons[0].active = true; swichs[0].active = false;}
if (switchButtons[1]) {switchButtons[1].active = false;swichs[1].active = true;}
} else if (cc.fx.GameConfig.GM_INFO.hp == 5) {
// 体力为5显示spriteFrames[0],只显示第一个按钮
if (switchButtons[0]) {switchButtons[0].active = true;swichs[0].active = true;}
if (switchButtons[1]) {switchButtons[1].active = false;swichs[1].active = false;}
} }
NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.hp, 40, 20, "time_", heathPop, true); NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.hp, 40, 20, "time_", heathPop, true);
} // 设置金币花费数
NumberToImage.numberToImageNodes(900, 35, 15, "button_", coin, true);
}
// 弹窗倒计时
startHeathTimeCutDown(timeLabelNode?: cc.Node) {
this.stopHeathTimeCutDown();
this.heathScheduleCallback = function () {
if (cc.fx.GameConfig.GM_INFO.min_Time <= 0) {
this.stopHeathTimeCutDown();
let timeTemp = cc.fx.GameTool.getTimeMargin(cc.fx.GameConfig.GM_INFO.min_Time);
console.log("健康值倒计时结束,当前时间:", timeTemp,cc.fx.GameConfig.GM_INFO.min_Time);
if (timeLabelNode) {
NumberToImage.getTimeMargin(cc.fx.GameConfig.GM_INFO.min_Time, 50, "time_", timeLabelNode);
}
NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.hp, 40, 20, "time_", this.heath, true);
} else {
cc.fx.GameConfig.GM_INFO.min_Time -= 0;
let timeTemp = cc.fx.GameTool.getTimeMargin(cc.fx.GameConfig.GM_INFO.min_Time);
if (timeLabelNode) {
NumberToImage.getTimeMargin(cc.fx.GameConfig.GM_INFO.min_Time, 50, "time_", timeLabelNode);
}
}
}.bind(this);
this.heathScheduleCallback();
this.schedule(this.heathScheduleCallback, 1);
}
stopHeathTimeCutDown() {
if (this.heathScheduleCallback) {
this.unschedule(this.heathScheduleCallback);
this.heathScheduleCallback = null;
}
}
//开始倒计时 //开始倒计时
startTimeCutDown() { startTimeCutDown() {
this.scheduleCallback = function () { this.scheduleCallback = function () {
@ -158,7 +214,10 @@ export default class JiaZai extends cc.Component {
if (cc.fx.GameConfig.GM_INFO.min_Time <= 0) { if (cc.fx.GameConfig.GM_INFO.min_Time <= 0) {
this.stopTimeCutDown(); this.stopTimeCutDown();
var timeTemp = cc.fx.GameTool.getTimeMargin(cc.fx.GameConfig.GM_INFO.min_Time); var timeTemp = cc.fx.GameTool.getTimeMargin(cc.fx.GameConfig.GM_INFO.min_Time);
// 同步显示
if (this.Stamina && this.Stamina.getChildByName("time")) {
this.Stamina.getChildByName("time").getComponent(cc.Label).string = timeTemp; this.Stamina.getChildByName("time").getComponent(cc.Label).string = timeTemp;
}
cc.fx.GameTool.setUserHealth(1, (data) => { cc.fx.GameTool.setUserHealth(1, (data) => {
cc.fx.GameTool.getHealth(null); cc.fx.GameTool.getHealth(null);
this.setHealthInfo(); this.setHealthInfo();
@ -167,11 +226,14 @@ export default class JiaZai extends cc.Component {
else { else {
cc.fx.GameConfig.GM_INFO.min_Time -= 1; cc.fx.GameConfig.GM_INFO.min_Time -= 1;
var timeTemp = cc.fx.GameTool.getTimeMargin(cc.fx.GameConfig.GM_INFO.min_Time); var timeTemp = cc.fx.GameTool.getTimeMargin(cc.fx.GameConfig.GM_INFO.min_Time);
// 同步显示
if (this.Stamina && this.Stamina.getChildByName("time")) {
this.Stamina.getChildByName("time").getComponent(cc.Label).string = timeTemp; this.Stamina.getChildByName("time").getComponent(cc.Label).string = timeTemp;
} }
}
}.bind(this); }.bind(this);
this.schedule(this.scheduleCallback, 1); this.schedule(this.scheduleCallback, 1);
} }
// 停止倒计时 // 停止倒计时
stopTimeCutDown() { stopTimeCutDown() {
if (this.scheduleCallback) { if (this.scheduleCallback) {
@ -179,6 +241,9 @@ export default class JiaZai extends cc.Component {
} }
} }
setHealthInfo() { setHealthInfo() {
if (cc.fx.GameConfig.GM_INFO.hp == 5) { if (cc.fx.GameConfig.GM_INFO.hp == 5) {
this.Stamina.getChildByName("man").active = true; this.Stamina.getChildByName("man").active = true;

View File

@ -58,6 +58,13 @@ export default class MapConroler extends cc.Component {
@property(cc.Label) @property(cc.Label)
magicLabel: cc.Label = null; magicLabel: cc.Label = null;
@property(cc.Node)
iceNode: cc.Node = null;
@property(cc.Node)
hammerNode: cc.Node = null;
@property(cc.Node)
magicNode: cc.Node = null;
@property(cc.Node) @property(cc.Node)
magicMask: cc.Node = null; magicMask: cc.Node = null;
@ -148,7 +155,7 @@ export default class MapConroler extends cc.Component {
this.iceLabel.string = cc.fx.GameConfig.GM_INFO.freezeAmount.toString(); this.iceLabel.string = cc.fx.GameConfig.GM_INFO.freezeAmount.toString();
this.hammerLabel.string = cc.fx.GameConfig.GM_INFO.hammerAmount.toString(); this.hammerLabel.string = cc.fx.GameConfig.GM_INFO.hammerAmount.toString();
this.magicLabel.string = cc.fx.GameConfig.GM_INFO.magicAmount.toString(); this.magicLabel.string = cc.fx.GameConfig.GM_INFO.magicAmount.toString();
this.setPropNum();
// cc.game.addPersistRootNode(this.node); // cc.game.addPersistRootNode(this.node);
MapConroler._instance = this; MapConroler._instance = this;
} }
@ -171,6 +178,29 @@ export default class MapConroler extends cc.Component {
this.initMap(); this.initMap();
} }
//道具数量
setPropNum() {
//如果道具数量大于0显示 cc.fx.GameConfig.GM_INFO.freezeAmount如果为零显示'mul10'
if(cc.fx.GameConfig.GM_INFO.freezeAmount > 0) {
this.iceNode.children[1].active = true;
NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.freezeAmount, 35, 15, "mul", this.iceNode.children[1], true);
} else {
this.iceNode.children[0].active = true
}
if(cc.fx.GameConfig.GM_INFO.hammerAmount > 0) {
this.hammerNode.children[1].active = true;
NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.hammerAmount, 35, 15, "mul", this.hammerNode.children[1], true);
} else {
this.hammerNode.children[0].active = true
}
if(cc.fx.GameConfig.GM_INFO.magicAmount > 0) {
this.magicNode.children[1].active = true;
NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.magicAmount, 35, 15, "mul", this.magicNode.children[1], true);
} else {
this.magicNode.children[0].active = true
}
}
startUpdate() { startUpdate() {
if (this.gameStart == false) { if (this.gameStart == false) {

View File

@ -1,144 +1,144 @@
// Learn TypeScript: // // Learn TypeScript:
// - https://docs.cocos.com/creator/manual/en/scripting/typescript.html // // - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute: // // Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html // // - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks: // // Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html // // - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
const {ccclass, property} = cc._decorator; // const {ccclass, property} = cc._decorator;
@ccclass // @ccclass
export default class Pause extends cc.Component { // export default class Pause extends cc.Component {
static _instance: any; // static _instance: any;
time: number = 0; // time: number = 0;
@property(cc.Node) // @property(cc.Node)
music: cc.Node = null; // music: cc.Node = null;
@property(cc.Node) // @property(cc.Node)
effect: cc.Node = null; // effect: cc.Node = null;
@property(cc.Node) // @property(cc.Node)
vibrate: cc.Node = null; // vibrate: cc.Node = null;
@property(cc.SpriteFrame) // @property(cc.SpriteFrame)
open: cc.SpriteFrame = null; // open: cc.SpriteFrame = null;
@property(cc.SpriteFrame) // @property(cc.SpriteFrame)
close: cc.SpriteFrame = null; // close: cc.SpriteFrame = null;
// mapInfo: number[][] = []; // // mapInfo: number[][] = [];
musicState: boolean = true; // musicState: boolean = true;
effectState: boolean = true; // effectState: boolean = true;
vibrateState: boolean = true; // vibrateState: boolean = true;
onLoad () { // onLoad () {
if(cc.fx.GameConfig.GM_INFO.musicOpen){ // if(cc.fx.GameConfig.GM_INFO.musicOpen){
this.music.getComponent(cc.Sprite).spriteFrame = this.open; // this.music.getComponent(cc.Sprite).spriteFrame = this.open;
this.music.x = 278; // this.music.x = 278;
} // }
else{ // else{
this.music.getComponent(cc.Sprite).spriteFrame = this.close; // this.music.getComponent(cc.Sprite).spriteFrame = this.close;
this.music.x = 161; // this.music.x = 161;
} // }
if(cc.fx.GameConfig.GM_INFO.effectOpen){ // if(cc.fx.GameConfig.GM_INFO.effectOpen){
this.effect.getComponent(cc.Sprite).spriteFrame = this.open; // this.effect.getComponent(cc.Sprite).spriteFrame = this.open;
this.effect.x = 278; // this.effect.x = 278;
} // }
else{ // else{
this.effect.getComponent(cc.Sprite).spriteFrame = this.close; // this.effect.getComponent(cc.Sprite).spriteFrame = this.close;
this.effect.x = 161; // this.effect.x = 161;
} // }
if(cc.fx.GameConfig.GM_INFO.vibrateOpen){ // if(cc.fx.GameConfig.GM_INFO.vibrateOpen){
this.vibrate.getComponent(cc.Sprite).spriteFrame = this.open; // this.vibrate.getComponent(cc.Sprite).spriteFrame = this.open;
this.vibrate.x = 278; // this.vibrate.x = 278;
} // }
else{ // else{
this.vibrate.getComponent(cc.Sprite).spriteFrame = this.close; // this.vibrate.getComponent(cc.Sprite).spriteFrame = this.close;
this.vibrate.x = 161; // this.vibrate.x = 161;
} // }
this.musicState = cc.fx.GameConfig.GM_INFO.musicOpen; // this.musicState = cc.fx.GameConfig.GM_INFO.musicOpen;
this.effectState = cc.fx.GameConfig.GM_INFO.effectOpen; // this.effectState = cc.fx.GameConfig.GM_INFO.effectOpen;
this.vibrateState = cc.fx.GameConfig.GM_INFO.vibrateOpen; // this.vibrateState = cc.fx.GameConfig.GM_INFO.vibrateOpen;
} // }
start () { // start () {
} // }
init(time){ // init(time){
} // }
clickMusic(){ // clickMusic(){
if(this.musicState){ // if(this.musicState){
this.musicState = false; // this.musicState = false;
cc.fx.GameConfig.GM_INFO.musicOpen = this.musicState; // cc.fx.GameConfig.GM_INFO.musicOpen = this.musicState;
this.setMusicConfig(); // this.setMusicConfig();
this.music.runAction(cc.sequence(cc.spawn(cc.moveTo(0.05, cc.v2(161,this.music.y)), cc.fadeOut(0.05)),cc.callFunc(()=>{ // this.music.runAction(cc.sequence(cc.spawn(cc.moveTo(0.05, cc.v2(161,this.music.y)), cc.fadeOut(0.05)),cc.callFunc(()=>{
this.music.getComponent(cc.Sprite).spriteFrame = this.close; // this.music.getComponent(cc.Sprite).spriteFrame = this.close;
}),cc.fadeIn(0.1))) // }),cc.fadeIn(0.1)))
cc.fx.AudioManager._instance.stopMusic(); // cc.fx.AudioManager._instance.stopMusic();
} // }
else{ // else{
this.musicState = true; // this.musicState = true;
cc.fx.GameConfig.GM_INFO.musicOpen = this.musicState; // cc.fx.GameConfig.GM_INFO.musicOpen = this.musicState;
this.setMusicConfig(); // this.setMusicConfig();
this.music.runAction(cc.sequence(cc.spawn(cc.moveTo(0.05, cc.v2(278,this.music.y)), cc.fadeOut(0.05)),cc.callFunc(()=>{ // this.music.runAction(cc.sequence(cc.spawn(cc.moveTo(0.05, cc.v2(278,this.music.y)), cc.fadeOut(0.05)),cc.callFunc(()=>{
this.music.getComponent(cc.Sprite).spriteFrame = this.open; // this.music.getComponent(cc.Sprite).spriteFrame = this.open;
}),cc.fadeIn(0.1))) // }),cc.fadeIn(0.1)))
cc.fx.AudioManager._instance.playMusicGame(); // cc.fx.AudioManager._instance.playMusicGame();
} // }
} // }
setMusicConfig(){ // setMusicConfig(){
let audioInfo = { // let audioInfo = {
"musicOpen": cc.fx.GameConfig.GM_INFO.musicOpen, //音乐 // "musicOpen": cc.fx.GameConfig.GM_INFO.musicOpen, //音乐
"effectOpen": cc.fx.GameConfig.GM_INFO.effectOpen, //音效 // "effectOpen": cc.fx.GameConfig.GM_INFO.effectOpen, //音效
"vibrateOpen": cc.fx.GameConfig.GM_INFO.vibrateOpen, //震动 // "vibrateOpen": cc.fx.GameConfig.GM_INFO.vibrateOpen, //震动
} // }
cc.fx.StorageMessage.setStorage("music",audioInfo); // cc.fx.StorageMessage.setStorage("music",audioInfo);
} // }
clickEffect(){ // clickEffect(){
if(this.effectState){ // if(this.effectState){
this.effectState = false; // this.effectState = false;
cc.fx.GameConfig.GM_INFO.effectOpen = this.effectState; // cc.fx.GameConfig.GM_INFO.effectOpen = this.effectState;
this.setMusicConfig(); // this.setMusicConfig();
this.effect.runAction(cc.sequence(cc.spawn(cc.moveTo(0.05, cc.v2(161,this.effect.y)), cc.fadeOut(0.05)),cc.callFunc(()=>{ // this.effect.runAction(cc.sequence(cc.spawn(cc.moveTo(0.05, cc.v2(161,this.effect.y)), cc.fadeOut(0.05)),cc.callFunc(()=>{
this.effect.getComponent(cc.Sprite).spriteFrame = this.close; // this.effect.getComponent(cc.Sprite).spriteFrame = this.close;
}),cc.fadeIn(0.1))) // }),cc.fadeIn(0.1)))
} // }
else{ // else{
this.effectState = true; // this.effectState = true;
cc.fx.GameConfig.GM_INFO.effectOpen = this.effectState; // cc.fx.GameConfig.GM_INFO.effectOpen = this.effectState;
this.setMusicConfig(); // this.setMusicConfig();
this.effect.runAction(cc.sequence(cc.spawn(cc.moveTo(0.05, cc.v2(278,this.effect.y)), cc.fadeOut(0.05)),cc.callFunc(()=>{ // this.effect.runAction(cc.sequence(cc.spawn(cc.moveTo(0.05, cc.v2(278,this.effect.y)), cc.fadeOut(0.05)),cc.callFunc(()=>{
this.effect.getComponent(cc.Sprite).spriteFrame = this.open; // this.effect.getComponent(cc.Sprite).spriteFrame = this.open;
}),cc.fadeIn(0.1))) // }),cc.fadeIn(0.1)))
} // }
} // }
clickVibrate(){ // clickVibrate(){
if(this.vibrateState){ // if(this.vibrateState){
this.vibrateState = false; // this.vibrateState = false;
cc.fx.GameConfig.GM_INFO.vibrateOpen = this.vibrateState; // cc.fx.GameConfig.GM_INFO.vibrateOpen = this.vibrateState;
this.setMusicConfig(); // this.setMusicConfig();
this.vibrate.runAction(cc.sequence(cc.spawn(cc.moveTo(0.05, cc.v2(161,this.vibrate.y)), cc.fadeOut(0.05)),cc.callFunc(()=>{ // this.vibrate.runAction(cc.sequence(cc.spawn(cc.moveTo(0.05, cc.v2(161,this.vibrate.y)), cc.fadeOut(0.05)),cc.callFunc(()=>{
this.vibrate.getComponent(cc.Sprite).spriteFrame = this.close; // this.vibrate.getComponent(cc.Sprite).spriteFrame = this.close;
}),cc.fadeIn(0.1))) // }),cc.fadeIn(0.1)))
} // }
else{ // else{
this.vibrateState = true; // this.vibrateState = true;
cc.fx.GameConfig.GM_INFO.vibrateOpen = this.vibrateState; // cc.fx.GameConfig.GM_INFO.vibrateOpen = this.vibrateState;
this.setMusicConfig(); // this.setMusicConfig();
this.vibrate.runAction(cc.sequence(cc.spawn(cc.moveTo(0.05, cc.v2(278,this.vibrate.y)), cc.fadeOut(0.05)),cc.callFunc(()=>{ // this.vibrate.runAction(cc.sequence(cc.spawn(cc.moveTo(0.05, cc.v2(278,this.vibrate.y)), cc.fadeOut(0.05)),cc.callFunc(()=>{
this.vibrate.getComponent(cc.Sprite).spriteFrame = this.open; // this.vibrate.getComponent(cc.Sprite).spriteFrame = this.open;
}),cc.fadeIn(0.1))) // }),cc.fadeIn(0.1)))
} // }
} // }
// update (dt) {} // // update (dt) {}
} // }

View File

@ -189,6 +189,7 @@ export default class SceneManager extends cc.Component {
returnHome() { returnHome() {
if (this.node.getChildByName("Pause").getChildByName("btn").getComponent("btnControl")._touch) { if (this.node.getChildByName("Pause").getChildByName("btn").getComponent("btnControl")._touch) {
this.closePause();
if (MapConroler._instance.gameStart == true) { if (MapConroler._instance.gameStart == true) {
MiniGameSdk.API.showToast("体力值减少"); MiniGameSdk.API.showToast("体力值减少");
cc.fx.GameTool.setUserHealth(-1, (data) => { cc.fx.GameTool.setUserHealth(-1, (data) => {
@ -215,6 +216,7 @@ export default class SceneManager extends cc.Component {
} }
}); });
setTimeout(() => { setTimeout(() => {
cc.director.loadScene("HomeScene"); cc.director.loadScene("HomeScene");
}, 1200); }, 1200);

View File

@ -11,13 +11,19 @@ export default class NewClass extends cc.Component {
heath: cc.Node = null; heath: cc.Node = null;
//体力数量 //体力数量
@property(cc.Node) @property(cc.Node)
coin: cc.Node = null; heatht: cc.Node = null;
//精灵数组
@property([cc.SpriteFrame])
spriteFrames: cc.SpriteFrame[] = [];
//切换的节点 //切换的节点
@property([cc.Node])
switchNode: cc.Node[] =[];
//倒计时健康回复
@property(cc.Node) @property(cc.Node)
switchNode: cc.Node = null; timeNode: cc.Node = null;
//切换的按钮数组
@property([cc.Node])
switchButtons: cc.Node[] = [];
//金币花费数
@property(cc.Node)
coin: cc.Node = null;
start() { start() {
this.openPop(); this.openPop();
} }
@ -47,6 +53,19 @@ export default class NewClass extends cc.Component {
closePop() { closePop() {
//销毁预制体 //销毁预制体
console.log("关闭heath弹窗"); console.log("关闭heath弹窗");
//关闭计时器
// 获取场景中的 JiaZai 组件
const jiazaiNode = cc.find("Canvas"); // 假设 JiaZai 挂在 Canvas 节点
if (jiazaiNode) {
const jiazaiComp = jiazaiNode.getComponent(JiaZai);
if (jiazaiComp) {
jiazaiComp.stopHeathTimeCutDown();
} else {
console.warn("JiaZai 组件未找到");
}
} else {
console.warn("JiaZai 节点未找到");
}
this.heath.destroy(); this.heath.destroy();
} }

View File

@ -29,15 +29,15 @@ export default class setUi extends cc.Component {
musicState: boolean = true; musicState: boolean = true;
effectState: boolean = true; effectState: boolean = true;
vibrateState: boolean = true; vibrateState: boolean = true;
private _isSyncing = false;
onLoad() { onLoad() {
this.musicState = cc.fx.GameConfig.GM_INFO.musicOpen; this.musicState = cc.fx.GameConfig.GM_INFO.musicOpen;
this.effectState = cc.fx.GameConfig.GM_INFO.effectOpen; this.effectState = cc.fx.GameConfig.GM_INFO.effectOpen;
this.vibrateState = cc.fx.GameConfig.GM_INFO.vibrateOpen; this.vibrateState = cc.fx.GameConfig.GM_INFO.vibrateOpen;
console.log("音乐状态", this.musicState); console.log("音乐状态", cc.fx.GameConfig.GM_INFO.musicOpen);
console.log("音效状态", this.effectState); console.log("音效状态", cc.fx.GameConfig.GM_INFO.effectOpen);
console.log("震动状态", this.vibrateState); console.log("震动状态", cc.fx.GameConfig.GM_INFO.vibrateOpen);
this.syncToggleState(); this.syncToggleState();
} }
@ -49,6 +49,7 @@ export default class setUi extends cc.Component {
} }
clickMusic() { clickMusic() {
if (this._isSyncing) return;
if (this.musicState) { if (this.musicState) {
this.musicState = false; this.musicState = false;
cc.fx.GameConfig.GM_INFO.musicOpen = this.musicState; cc.fx.GameConfig.GM_INFO.musicOpen = this.musicState;
@ -76,6 +77,7 @@ export default class setUi extends cc.Component {
} }
clickEffect() { clickEffect() {
if (this._isSyncing) return;
if (this.effectState) { if (this.effectState) {
this.effectState = false; this.effectState = false;
cc.fx.GameConfig.GM_INFO.effectOpen = this.effectState; cc.fx.GameConfig.GM_INFO.effectOpen = this.effectState;
@ -88,10 +90,10 @@ export default class setUi extends cc.Component {
} }
console.log("音效状态", this.effectState);
} }
clickVibrate() { clickVibrate() {
if (this._isSyncing) return;
if (this.vibrateState) { if (this.vibrateState) {
this.vibrateState = false; this.vibrateState = false;
cc.fx.GameConfig.GM_INFO.vibrateOpen = this.vibrateState; cc.fx.GameConfig.GM_INFO.vibrateOpen = this.vibrateState;
@ -105,12 +107,12 @@ export default class setUi extends cc.Component {
} }
console.log("震动状态", this.vibrateState);
} }
syncToggleState() { syncToggleState() {
this.music.getComponent(cc.Toggle).isChecked = this.musicState; this._isSyncing = true;
this.effect.getComponent(cc.Toggle).isChecked = this.effectState; this.music.getComponent(cc.Toggle).isChecked = cc.fx.GameConfig.GM_INFO.musicOpen;
this.vibrate.getComponent(cc.Toggle).isChecked = this.vibrateState; this.effect.getComponent(cc.Toggle).isChecked = cc.fx.GameConfig.GM_INFO.effectOpen;
this.vibrate.getComponent(cc.Toggle).isChecked = cc.fx.GameConfig.GM_INFO.vibrateOpen;
} }
//关闭ui //关闭ui

View File

@ -15,10 +15,40 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{281,71}</string> <string>{281,71}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1825,240},{281,71}}</string> <string>{{665,991},{281,71}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
<key>20miao.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{255,70}</string>
<key>spriteSourceSize</key>
<string>{255,70}</string>
<key>textureRect</key>
<string>{{1394,993},{255,70}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>30miao.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{255,70}</string>
<key>spriteSourceSize</key>
<string>{255,70}</string>
<key>textureRect</key>
<string>{{1354,1065},{255,70}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>add.png</key> <key>add.png</key>
<dict> <dict>
<key>aliases</key> <key>aliases</key>
@ -30,9 +60,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{76,82}</string> <string>{76,82}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1678,879},{76,82}}</string> <string>{{1561,1137},{76,82}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>anniu.png</key> <key>anniu.png</key>
<dict> <dict>
@ -45,9 +75,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{636,174}</string> <string>{636,174}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{179,206},{636,174}}</string> <string>{{45,263},{636,174}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>baozha.png</key> <key>baozha.png</key>
<dict> <dict>
@ -60,7 +90,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{348,66}</string> <string>{348,66}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1439,520},{348,66}}</string> <string>{{1151,743},{348,66}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -75,7 +105,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{154,172}</string> <string>{154,172}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{805,787},{154,172}}</string> <string>{{1873,323},{154,172}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -90,7 +120,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{281,64}</string> <string>{281,64}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{916,961},{281,64}}</string> <string>{{738,991},{281,64}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@ -105,7 +135,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{316,316}</string> <string>{316,316}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{183,990},{306,316}}</string> <string>{{849,157},{306,316}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -120,7 +150,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{150,150}</string> <string>{150,150}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1522,999},{126,132}}</string> <string>{{1674,755},{126,132}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -135,7 +165,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{284,284}</string> <string>{284,284}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1789,523},{238,284}}</string> <string>{{1447,439},{238,284}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -150,9 +180,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{80,100}</string> <string>{80,100}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{810,1227},{80,100}}</string> <string>{{1908,1111},{80,100}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>close.png</key> <key>close.png</key>
<dict> <dict>
@ -165,9 +195,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{264,104}</string> <string>{264,104}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{961,845},{264,104}}</string> <string>{{934,983},{264,104}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
<key>closet.png</key> <key>closet.png</key>
<dict> <dict>
@ -180,7 +210,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{66,66}</string> <string>{66,66}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{912,1244},{66,66}}</string> <string>{{1712,1157},{66,66}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -195,9 +225,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{312,62}</string> <string>{312,62}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,1010},{312,62}}</string> <string>{{1040,1034},{312,62}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>coins.png</key> <key>coins.png</key>
<dict> <dict>
@ -210,9 +240,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{70,71}</string> <string>{70,71}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1952,1229},{70,71}}</string> <string>{{1639,1157},{70,71}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
<key>coins4.png</key> <key>coins4.png</key>
<dict> <dict>
@ -225,9 +255,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{171,191}</string> <string>{171,191}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{982,1151},{171,191}}</string> <string>{{1501,725},{171,191}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>diguan.png</key> <key>diguan.png</key>
<dict> <dict>
@ -240,24 +270,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{234,36}</string> <string>{234,36}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1964,114},{234,36}}</string> <string>{{1325,1194},{234,36}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict>
<key>dijiguan.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{314,96}</string>
<key>spriteSourceSize</key>
<string>{314,96}</string>
<key>textureRect</key>
<string>{{610,990},{314,96}}</string>
<key>textureRotated</key>
<true/>
</dict> </dict>
<key>dikuang.png</key> <key>dikuang.png</key>
<dict> <dict>
@ -270,9 +285,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{802,118}</string> <string>{802,118}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,206},{802,118}}</string> <string>{{1,1},{802,118}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>door.png</key> <key>door.png</key>
<dict> <dict>
@ -285,9 +300,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{616,100}</string> <string>{616,100}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{707,206},{616,96}}</string> <string>{{805,59},{616,96}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>doudakai.png</key> <key>doudakai.png</key>
<dict> <dict>
@ -300,37 +315,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{322,64}</string> <string>{322,64}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1898,181},{322,64}}</string> <string>{{1070,968},{322,64}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>effect.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{116,122}</string>
<key>spriteSourceSize</key>
<string>{116,122}</string>
<key>textureRect</key>
<string>{{1727,1105},{116,122}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>effects.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{116,122}</string>
<key>spriteSourceSize</key>
<string>{116,122}</string>
<key>textureRect</key>
<string>{{1845,1105},{116,122}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -345,9 +330,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{144,164}</string> <string>{144,164}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{615,844},{144,164}}</string> <string>{{519,1047},{144,164}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>fanhui.png</key> <key>fanhui.png</key>
<dict> <dict>
@ -360,7 +345,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{434,144}</string> <string>{434,144}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{961,553},{434,144}}</string> <string>{{1573,1},{434,144}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -375,22 +360,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{434,144}</string> <string>{434,144}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{179,844},{434,144}}</string> <string>{{1437,147},{434,144}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>gongxiguoguan.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{747,203}</string>
<key>spriteSourceSize</key>
<string>{747,203}</string>
<key>textureRect</key>
<string>{{1,1},{747,203}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -405,9 +375,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{476,164}</string> <string>{476,164}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{961,387},{476,164}}</string> <string>{{683,263},{476,164}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
<key>haoyun.png</key> <key>haoyun.png</key>
<dict> <dict>
@ -420,9 +390,24 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{412,65}</string> <string>{412,65}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1529,114},{412,65}}</string> <string>{{1806,439},{412,65}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict>
<key>houhuifu.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{289,54}</string>
<key>spriteSourceSize</key>
<string>{289,54}</string>
<key>textureRect</key>
<string>{{878,983},{289,54}}</string>
<key>textureRotated</key>
<true/>
</dict> </dict>
<key>huifuyidian.png</key> <key>huifuyidian.png</key>
<dict> <dict>
@ -435,7 +420,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{561,54}</string> <string>{561,54}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1444,58},{561,54}}</string> <string>{{45,991},{561,54}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -450,9 +435,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{316,316}</string> <string>{316,316}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1773,809},{242,294}}</string> <string>{{1151,499},{242,294}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
<key>ices.png</key> <key>ices.png</key>
<dict> <dict>
@ -465,7 +450,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{150,150}</string> <string>{150,150}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1617,1133},{108,130}}</string> <string>{{695,121},{108,130}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -480,7 +465,22 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{363,57}</string> <string>{363,57}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1529,181},{363,57}}</string> <string>{{1070,811},{363,57}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>jinruguanqiaq.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{516,164}</string>
<key>spriteSourceSize</key>
<string>{516,164}</string>
<key>textureRect</key>
<string>{{1,1047},{516,164}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -495,7 +495,22 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{476,164}</string> <string>{476,164}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{961,387},{476,164}}</string> <string>{{683,263},{476,164}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>kuang.png.jpg</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{314,96}</string>
<key>spriteSourceSize</key>
<string>{314,96}</string>
<key>textureRect</key>
<string>{{1070,870},{314,96}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -510,7 +525,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{154,172}</string> <string>{154,172}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1175,1147},{154,172}}</string> <string>{{1873,497},{154,172}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -525,9 +540,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{109,32}</string> <string>{109,32}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1439,387},{109,32}}</string> <string>{{1325,1232},{109,32}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>meijinbi.png</key> <key>meijinbi.png</key>
<dict> <dict>
@ -540,7 +555,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{158,44}</string> <string>{158,44}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1964,350},{158,44}}</string> <string>{{1817,1005},{158,44}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@ -555,7 +570,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{582,55}</string> <string>{582,55}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1444,1},{582,55}}</string> <string>{{1,1213},{582,55}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -570,9 +585,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{636,174}</string> <string>{636,174}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{355,206},{636,174}}</string> <string>{{45,439},{636,174}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>ninyihuode.png</key> <key>ninyihuode.png</key>
<dict> <dict>
@ -585,7 +600,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{189,43}</string> <string>{189,43}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1572,1133},{189,43}}</string> <string>{{1863,1019},{189,43}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@ -600,9 +615,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{766,56}</string> <string>{766,56}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{121,206},{766,56}}</string> <string>{{805,1},{766,56}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>nulldaoju.png</key> <key>nulldaoju.png</key>
<dict> <dict>
@ -615,9 +630,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{154,172}</string> <string>{154,172}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1348,999},{154,172}}</string> <string>{{1873,671},{154,172}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>open.png</key> <key>open.png</key>
<dict> <dict>
@ -630,9 +645,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{264,104}</string> <string>{264,104}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{810,961},{264,104}}</string> <string>{{1040,1098},{264,104}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>pskuang.png</key> <key>pskuang.png</key>
<dict> <dict>
@ -645,7 +660,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{314,96}</string> <string>{314,96}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{750,187},{3,3}}</string> <string>{{1,1042},{3,3}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -660,7 +675,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{434,144}</string> <string>{434,144}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{961,699},{434,144}}</string> <string>{{1437,293},{434,144}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -675,9 +690,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{154,174}</string> <string>{154,174}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1172,991},{154,174}}</string> <string>{{1873,147},{154,174}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>shijaijndaol.png</key> <key>shijaijndaol.png</key>
<dict> <dict>
@ -690,7 +705,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{283,64}</string> <string>{283,64}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1393,876},{283,64}}</string> <string>{{1040,1204},{283,64}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -705,7 +720,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{316,316}</string> <string>{316,316}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1397,588},{286,300}}</string> <string>{{849,475},{286,300}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@ -720,7 +735,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{150,150}</string> <string>{150,150}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1650,957},{116,120}}</string> <string>{{1686,889},{116,120}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -735,7 +750,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{520,198}</string> <string>{520,198}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{961,187},{520,198}}</string> <string>{{45,791},{520,198}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -750,9 +765,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{154,172}</string> <string>{154,172}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1331,1155},{154,172}}</string> <string>{{1873,845},{154,172}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>stopzi.png</key> <key>stopzi.png</key>
<dict> <dict>
@ -765,25 +780,10 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{150,65}</string> <string>{150,65}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1505,1155},{150,65}}</string> <string>{{1804,853},{150,65}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
<key>tiaodik.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{154,598}</string>
<key>spriteSourceSize</key>
<string>{154,598}</string>
<key>textureRect</key>
<string>{{805,187},{154,598}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>tili.png</key> <key>tili.png</key>
<dict> <dict>
<key>aliases</key> <key>aliases</key>
@ -795,7 +795,22 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{127,65}</string> <string>{127,65}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1727,1229},{127,65}}</string> <string>{{1423,59},{127,65}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>tilibuman.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{290,73}</string>
<key>spriteSourceSize</key>
<string>{290,73}</string>
<key>textureRect</key>
<string>{{1394,918},{290,73}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -810,7 +825,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{233,55}</string> <string>{233,55}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1393,942},{233,55}}</string> <string>{{1306,1137},{233,55}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -825,9 +840,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{777,42}</string> <string>{777,42}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{750,143},{777,42}}</string> <string>{{1,263},{777,42}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
<key>touxiang.png</key> <key>touxiang.png</key>
<dict> <dict>
@ -840,7 +855,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{188,198}</string> <string>{188,198}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{982,951},{188,198}}</string> <string>{{567,791},{188,198}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -855,9 +870,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{636,174}</string> <string>{636,174}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{531,206},{636,174}}</string> <string>{{45,615},{636,174}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>trya.png</key> <key>trya.png</key>
<dict> <dict>
@ -870,7 +885,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{144,164}</string> <string>{144,164}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1227,845},{144,164}}</string> <string>{{1651,1011},{144,164}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@ -885,7 +900,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{692,140}</string> <string>{692,140}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{750,1},{692,140}}</string> <string>{{1,121},{692,140}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -900,7 +915,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{98,98}</string> <string>{98,98}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1856,1229},{94,90}}</string> <string>{{1908,1019},{94,90}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -915,9 +930,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{340,340}</string> <string>{340,340}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1483,240},{340,278}}</string> <string>{{1157,157},{340,278}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
<key>yichu.png</key> <key>yichu.png</key>
<dict> <dict>
@ -930,7 +945,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{289,72}</string> <string>{289,72}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1699,588},{289,72}}</string> <string>{{804,983},{289,72}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@ -945,9 +960,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{72,36}</string> <string>{72,36}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1963,1105},{72,36}}</string> <string>{{683,741},{72,36}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>yinxiao.png</key> <key>yinxiao.png</key>
<dict> <dict>
@ -960,9 +975,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{311,116}</string> <string>{311,116}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{65,1010},{311,116}}</string> <string>{{757,763},{311,116}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>yinyue1.png</key> <key>yinyue1.png</key>
<dict> <dict>
@ -975,9 +990,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{311,100}</string> <string>{311,100}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{708,990},{311,100}}</string> <string>{{757,881},{311,100}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>zhendong1.png</key> <key>zhendong1.png</key>
<dict> <dict>
@ -990,7 +1005,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{314,117}</string> <string>{314,117}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{491,990},{314,117}}</string> <string>{{1687,439},{314,117}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@ -1006,9 +1021,9 @@
<key>realTextureFileName</key> <key>realTextureFileName</key>
<string>gameui.png</string> <string>gameui.png</string>
<key>size</key> <key>size</key>
<string>{2028,1323}</string> <string>{2028,1273}</string>
<key>smartupdate</key> <key>smartupdate</key>
<string>$TexturePacker:SmartUpdate:19c79a442783ab88b1be3565ff4adbab:d9a6d9a0545a31e0de2c06a671c915c4:13103c15d0108e7aab1316a48f90f5be$</string> <string>$TexturePacker:SmartUpdate:dbe63dd405fc04c9522d4d0ce45d6267:1bb8ae5306f553042678ad5c5884f925:13103c15d0108e7aab1316a48f90f5be$</string>
<key>textureFileName</key> <key>textureFileName</key>
<string>gameui.png</string> <string>gameui.png</string>
</dict> </dict>

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 KiB

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

@ -9,7 +9,7 @@
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 2028, "width": 2028,
"height": 1323, "height": 1273,
"platformSettings": {}, "platformSettings": {},
"subMetas": {} "subMetas": {}
} }

View File

@ -30,14 +30,14 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 51 "__id__": 70
}, },
{ {
"__id__": 52 "__id__": 71
} }
], ],
"_prefab": { "_prefab": {
"__id__": 53 "__id__": 72
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
@ -570,16 +570,22 @@
"__id__": 41 "__id__": 41
}, },
{ {
"__id__": 44 "__id__": 52
}, },
{ {
"__id__": 47 "__id__": 55
},
{
"__id__": 63
},
{
"__id__": 66
} }
], ],
"_active": true, "_active": true,
"_components": [], "_components": [],
"_prefab": { "_prefab": {
"__id__": 50 "__id__": 69
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
@ -1252,9 +1258,11 @@
}, },
"_enabled": true, "_enabled": true,
"heath": null, "heath": null,
"coin": null, "heatht": null,
"spriteFrames": [],
"switchNode": null, "switchNode": null,
"timeNode": null,
"switchButtons": [],
"coin": null,
"_id": "" "_id": ""
}, },
{ {
@ -1358,7 +1366,7 @@
"__id__": 15 "__id__": 15
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 37 "__id__": 37
@ -1553,15 +1561,25 @@
"_parent": { "_parent": {
"__id__": 15 "__id__": 15
}, },
"_children": [], "_children": [
"_active": false,
"_components": [
{ {
"__id__": 42 "__id__": 42
},
{
"__id__": 45
},
{
"__id__": 47
}
],
"_active": true,
"_components": [
{
"__id__": 50
} }
], ],
"_prefab": { "_prefab": {
"__id__": 43 "__id__": 51
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
@ -1610,6 +1628,295 @@
"groupIndex": 0, "groupIndex": 0,
"_id": "" "_id": ""
}, },
{
"__type__": "cc.Node",
"_name": "coins",
"_objFlags": 0,
"_parent": {
"__id__": 41
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 43
}
],
"_prefab": {
"__id__": 44
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 70,
"height": 71
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
88.169,
8.335,
0,
0,
0,
0,
1,
1.2,
1.2,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b94c323b-3d26-4684-ba64-0f00a13438d2"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "52d3eb5b-948f-403a-aafa-1c8f1a40a8c8"
},
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "ab6/Lx+5ZGcoPnE4DcHPdd",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "coinh",
"_objFlags": 0,
"_parent": {
"__id__": 41
},
"_children": [],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 46
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
210.588,
5.847,
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": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "fc89a3EvFHQbEno0JgF7NP",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "tilibuman",
"_objFlags": 0,
"_parent": {
"__id__": 41
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 48
}
],
"_prefab": {
"__id__": 49
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 290,
"height": 73
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-133.104,
10.002,
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": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 47
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5a5d61c4-dfe8-4b1d-bf90-e28dc6d6386b"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "52d3eb5b-948f-403a-aafa-1c8f1a40a8c8"
},
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "96yqsLmjZDJ4ZyL3Fu4P9l",
"sync": false
},
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
@ -1657,7 +1964,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "result_title4", "_name": "tiliyiman",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 15 "__id__": 15
@ -1666,11 +1973,416 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 45 "__id__": 53
} }
], ],
"_prefab": { "_prefab": {
"__id__": 46 "__id__": 54
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 233,
"height": 55
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
535.669,
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": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 52
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "43fca32a-925b-4ddb-9f96-fa5750d60cfb"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "52d3eb5b-948f-403a-aafa-1c8f1a40a8c8"
},
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "33qVBIe7NM65HEeb/N4tA1",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "houhuifu",
"_objFlags": 0,
"_parent": {
"__id__": 15
},
"_children": [
{
"__id__": 56
},
{
"__id__": 59
}
],
"_active": true,
"_components": [
{
"__id__": 61
}
],
"_prefab": {
"__id__": 62
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 289,
"height": 54
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
214.179,
530,
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": ""
},
{
"__type__": "cc.Node",
"_name": "tili_x",
"_objFlags": 0,
"_parent": {
"__id__": 55
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 57
}
],
"_prefab": {
"__id__": 58
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 16,
"height": 32
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-357.537,
0,
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": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 56
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c338bce2-4885-458f-b504-08498d005817"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8"
},
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "04IGd2QQpJO7RyWwzRT+mN",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "huifuyidian",
"_objFlags": 0,
"_parent": {
"__id__": 55
},
"_children": [],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 60
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-449.112,
5,
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": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "f15JSuRYRJlYkAgYILHqeY",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 55
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6db6f55d-8ec0-487d-8780-38c8f1cc40da"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "52d3eb5b-948f-403a-aafa-1c8f1a40a8c8"
},
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "0eFhSftndI6pap/v96nO1f",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "result_title4",
"_objFlags": 0,
"_parent": {
"__id__": 15
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 64
}
],
"_prefab": {
"__id__": 65
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
@ -1724,7 +2436,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 44 "__id__": 63
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
@ -1775,11 +2487,11 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 48 "__id__": 67
} }
], ],
"_prefab": { "_prefab": {
"__id__": 49 "__id__": 68
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
@ -1833,7 +2545,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 47 "__id__": 66
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
@ -1922,19 +2634,30 @@
"heath": { "heath": {
"__id__": 1 "__id__": 1
}, },
"coin": { "heatht": {
"__id__": 26 "__id__": 26
}, },
"spriteFrames": [ "switchNode": [
{ {
"__uuid__": "43fca32a-925b-4ddb-9f96-fa5750d60cfb" "__id__": 52
}, },
{ {
"__uuid__": "7e089816-7c3a-4f58-baff-1023aceab868" "__id__": 55
} }
], ],
"switchNode": { "timeNode": {
"__id__": 44 "__id__": 59
},
"switchButtons": [
{
"__id__": 36
},
{
"__id__": 41
}
],
"coin": {
"__id__": 45
}, },
"_id": "" "_id": ""
}, },

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 231 KiB

After

Width:  |  Height:  |  Size: 242 KiB

View File

@ -8,8 +8,8 @@
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 251, "width": 1784,
"height": 1862, "height": 252,
"platformSettings": {}, "platformSettings": {},
"subMetas": {} "subMetas": {}
} }