神农优化

This commit is contained in:
YZ\249929363 2024-08-07 19:03:10 +08:00
parent c2b3325788
commit 73c3f71961
91 changed files with 8251 additions and 4358 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1275,7 +1275,7 @@
"__id__": 4
},
"_enabled": true,
"localTest": false,
"localTest": true,
"clientTestVersion": "1.2.4",
"testVersion": {
"__id__": 21

View File

@ -44,6 +44,12 @@ export default class GameManager extends cc.Component {
start () {
}
//处理地图
setMap(){
}
//初始化数据
init(){
this.touchable = false;
@ -88,6 +94,7 @@ export default class GameManager extends cc.Component {
this.timeNode.getChildByName("time").getComponent(cc.Sprite).fillRange = 0;
this.timeNode.getChildByName("needle").angle = 0;
if(cc.fx.GameConfig.GM_INFO.level >= cc.fx.GameConfig.LEVEL_INFO[cc.fx.GameConfig.GM_INFO.custom].custom.length){
setTimeout(() => {
cc.director.loadScene("OverScene");
}, 1000);
@ -216,7 +223,8 @@ export default class GameManager extends cc.Component {
}, 1050);
console.log("正确点火");
}
else if(this.customData.flamable == 1){
else if(this.customData){
if(this.customData.flamable == 1)
console.log("错误点火");
// console.log("正确点火");
}

View File

@ -18,6 +18,10 @@ export default class GuideManager extends cc.Component {
@property(cc.Node)
Btn_See: cc.Node = null;
@property(cc.Node)
Btn_Firewood: cc.Node = null;
@property(cc.Node)
Plant: cc.Node = null;
voiceSpriteFrame: cc.SpriteFrame; //是否可点击
@ -35,8 +39,17 @@ export default class GuideManager extends cc.Component {
}
start () {
this.fit();
}
fit(){
var jg = cc.fx.GameTool.setFit();
if(!jg){
this.Btn_Firewood.y = -600;
}
this.Btn_Firewood.getComponent(cc.Button).interactable = true;
}
//初始化数据
init(){
this.voiceSpriteFrame = this.Plant.getChildByName("icon").getComponent(cc.Sprite).spriteFrame;``
@ -70,6 +83,11 @@ export default class GuideManager extends cc.Component {
"type": 2,
"right":3,
},
{
"item": "muchai",
"type": 1,
"right":1,
},
{
"item": "taozi",
"type": 1,
@ -144,9 +162,15 @@ export default class GuideManager extends cc.Component {
this.Btn_Hear.active = true;
this.Btn_New.active = true;
this.Btn_See.active = true;
this.Btn_Firewood.active = true;
this.Btn_Hear.getChildByName("nomal").getComponent(cc.Button).interactable = false;
this.Btn_New.getChildByName("nomal").getComponent(cc.Button).interactable = false;
this.Btn_See.getChildByName("nomal").getComponent(cc.Button).interactable = false;
if(this.custom == 5){
this.node.getChildByName("muchai").active = true;
this.node.getChildByName("hand").active = true;
}
this.Btn_Firewood.getComponent(cc.Button).interactable = false;
let name = this.customData[this.custom-2].item;
if(this.customData[this.custom-2].type == 1){
this.Plant.getChildByName("name").getComponent(cc.Label).string = cc.fx.GameTool.getFoodName(name);
@ -159,6 +183,9 @@ export default class GuideManager extends cc.Component {
this.Btn_Hear.getChildByName("nomal").getComponent(cc.Button).interactable = true;
this.Btn_New.getChildByName("nomal").getComponent(cc.Button).interactable = true;
this.Btn_See.getChildByName("nomal").getComponent(cc.Button).interactable = true;
if(this.custom == 5){
this.Btn_Firewood.getComponent(cc.Button).interactable = true;
}
})
.start();
}
@ -197,6 +224,21 @@ export default class GuideManager extends cc.Component {
this.choice = 3;
this.Btn_See.getChildByName("nomal").getComponent(cc.Button).interactable = false;
}
else if(data == "Btn_Firewood"){
this.Btn_Firewood.getChildByName("fireBg").active = true;
this.Btn_Firewood.getChildByName("fire").active = true;
setTimeout(() => {
if(this.Btn_Firewood){
this.Btn_Firewood.getChildByName("fireBg").active = false;
this.Btn_Firewood.getChildByName("fire").active = false;
}
}, 1050);
console.log("正确点火");
this.Btn_Firewood.getComponent(cc.Button).interactable = false;
this.node.getChildByName("muchai").active = false;
this.node.getChildByName("hand").active = false;
return;
}
let target = this[data];
var label = this.Tip.getChildByName("content").getComponent(cc.Label);
//正确
@ -207,6 +249,7 @@ export default class GuideManager extends cc.Component {
this.Btn_New.getChildByName("nomal").getComponent(cc.Button).interactable = false;
this.Btn_Hear.getChildByName("nomal").getComponent(cc.Button).interactable = false;
this.Btn_See.getChildByName("nomal").getComponent(cc.Button).interactable = false;
this.Btn_Firewood.getComponent(cc.Button).interactable = false;
target.getChildByName("err").active = false;
target.getChildByName("correct").active = true;
setTimeout(() => {
@ -223,12 +266,13 @@ export default class GuideManager extends cc.Component {
this.Btn_New.getChildByName("nomal").getComponent(cc.Button).interactable = false;
this.Btn_See.getChildByName("nomal").getComponent(cc.Button).interactable = false;
this.custom += 1;
if(this.custom >= 7){
if(this.custom >= 8){
this.node.getChildByName("againBtn").active = true;
this.node.getChildByName("startBtn").active = true;
this.Btn_Hear.active = false;
this.Btn_New.active = false;
this.Btn_See.active = false;
this.Btn_Firewood.active = false;
}
else this.nextLevel();
}, 1000);
@ -239,6 +283,7 @@ export default class GuideManager extends cc.Component {
this.Tip.active = true;
target.getChildByName("err").active = true;
target.getChildByName("correct").active = false;
switch((this.custom-2)){
case 0:
tipTemp = "这是这局游戏第一次出现葡萄";
@ -250,10 +295,13 @@ export default class GuideManager extends cc.Component {
if(this.choice == 2) tipTemp = '上次遇到葡萄时,似乎不是听到的吧';
break;
case 3:
tipTemp = "这是这局游戏第一次出现木柴";
break;
case 4:
if(this.choice == 3) tipTemp ='上次遇到桃子时,似乎不是看到的吧';
else tipTemp = '桃子刚才出现过呢'
break;
case 4:
case 5:
if(this.choice == 3) tipTemp = '之前确实看到过葡萄,但最近一次似乎不是看到的呢';
break;
}

View File

@ -15,19 +15,11 @@ export default class NewClass extends cc.Component {
testVersion: cc.Label = null;
start () {
cc.debug.setDisplayStats(false);
window.initMgr();
WeChat.setShare(location.href);
cc.fx.GameConfig.init(this.localTest);
this.testVersion.string = this.clientTestVersion;
//24年 25年9万 27年
// setTimeout(() => {
// for(let i=0; i<10;i++){
// let num = cc.fx.GameTool.getSeedRandom(1,10);
// console.log(num);
// }
// }, 100);
//
}

Binary file not shown.

View File

@ -0,0 +1,13 @@
{
"ver": "1.1.3",
"uuid": "856e2656-6026-44ae-a133-60ab71e7a805",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

View File

@ -0,0 +1,20 @@
hand.png
size: 256,128
format: RGBA8888
filter: Linear,Linear
repeat: none
0
rotate: false
xy: 107, 59
size: 67, 67
orig: 67, 67
offset: 0, 0
index: -1
1
rotate: false
xy: 2, 2
size: 103, 124
orig: 103, 124
offset: 0, 0
index: -1

View File

@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "c69b98b6-ff41-4bbe-84d3-93808dbc9ddf",
"importer": "asset",
"subMetas": {}
}

View File

@ -0,0 +1,127 @@
{
"skeleton": {
"hash": "/Glc657HgCwGQfMxhqvoEP7O3Ko",
"spine": "3.6.52",
"width": 103,
"height": 151.04,
"images": "/Users/liangjiacheng/Desktop/basketball_hand"
},
"bones": [
{ "name": "root" },
{ "name": "0", "parent": "root", "y": 104.49 },
{ "name": "1", "parent": "root", "length": 85.43, "rotation": 90.24, "x": 6.71, "y": 0.03 }
],
"slots": [
{ "name": "1", "bone": "1", "attachment": "1" },
{ "name": "0", "bone": "0", "attachment": "0" }
],
"skins": {
"default": {
"0": {
"0": { "rotation": 90.24, "width": 67, "height": 67 }
},
"1": {
"1": { "x": 49.07, "y": 1.21, "rotation": -90.24, "width": 103, "height": 124 }
}
}
},
"animations": {
"animation": {
"slots": {
"0": {
"color": [
{ "time": 0, "color": "ffffff00", "curve": "stepped" },
{ "time": 0.3333, "color": "ffffff00" },
{ "time": 0.5, "color": "ffffffff" },
{ "time": 0.6333, "color": "ffffff00" }
],
"attachment": [
{ "time": 0, "name": "0" },
{ "time": 0.3333, "name": "0" },
{ "time": 0.6333, "name": "0" },
{ "time": 0.7, "name": "0" }
]
},
"1": {
"attachment": [
{ "time": 0, "name": "1" },
{ "time": 0.4, "name": "1" },
{ "time": 0.7, "name": "1" }
]
}
},
"bones": {
"1": {
"rotate": [
{ "time": 0, "angle": 0, "curve": "stepped" },
{ "time": 0.4, "angle": 0, "curve": "stepped" },
{ "time": 0.7, "angle": 0 }
],
"translate": [
{ "time": 0, "x": 0, "y": 0, "curve": "stepped" },
{ "time": 0.4, "x": 0, "y": 0, "curve": "stepped" },
{ "time": 0.7, "x": 0, "y": 0 }
],
"scale": [
{ "time": 0, "x": 1, "y": 1 },
{ "time": 0.1667, "x": 1.569, "y": 1.569 },
{ "time": 0.3333, "x": 0.955, "y": 0.955 },
{ "time": 0.4, "x": 1, "y": 1, "curve": "stepped" },
{ "time": 0.7, "x": 1, "y": 1 }
],
"shear": [
{ "time": 0, "x": 0, "y": 0, "curve": "stepped" },
{ "time": 0.4, "x": 0, "y": 0, "curve": "stepped" },
{ "time": 0.7, "x": 0, "y": 0 }
]
},
"0": {
"rotate": [
{ "time": 0, "angle": 0, "curve": "stepped" },
{ "time": 0.3333, "angle": 0, "curve": "stepped" },
{ "time": 0.7, "angle": 0 }
],
"translate": [
{ "time": 0, "x": 0, "y": 0, "curve": "stepped" },
{ "time": 0.3333, "x": 0, "y": 0, "curve": "stepped" },
{ "time": 0.7, "x": 0, "y": 0 }
],
"scale": [
{ "time": 0, "x": 1, "y": 1, "curve": "stepped" },
{ "time": 0.3333, "x": 1, "y": 1 },
{ "time": 0.6333, "x": 1.973, "y": 1.973, "curve": "stepped" },
{ "time": 0.7, "x": 1.973, "y": 1.973 }
],
"shear": [
{ "time": 0, "x": 0, "y": 0, "curve": "stepped" },
{ "time": 0.3333, "x": 0, "y": 0, "curve": "stepped" },
{ "time": 0.7, "x": 0, "y": 0 }
]
},
"root": {
"rotate": [
{ "time": 0, "angle": 0, "curve": "stepped" },
{ "time": 0.7, "angle": 0 }
],
"translate": [
{ "time": 0, "x": 0, "y": 0, "curve": "stepped" },
{ "time": 0.7, "x": 0, "y": 0 }
],
"scale": [
{ "time": 0, "x": 1, "y": 1, "curve": "stepped" },
{ "time": 0.7, "x": 1, "y": 1 }
],
"shear": [
{ "time": 0, "x": 0, "y": 0, "curve": "stepped" },
{ "time": 0.7, "x": 0, "y": 0 }
]
}
},
"drawOrder": [
{ "time": 0 },
{ "time": 0.4 },
{ "time": 0.7 }
]
}
}
}

View File

@ -0,0 +1,10 @@
{
"ver": "1.2.5",
"uuid": "3941fdae-279a-48d8-a746-5c5519731a80",
"importer": "spine",
"textures": [
"4b49cd83-b149-43f7-925f-f80540e80749"
],
"scale": 1,
"subMetas": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "4b49cd83-b149-43f7-925f-f80540e80749",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 256,
"height": 128,
"platformSettings": {},
"subMetas": {
"hand": {
"ver": "1.0.6",
"uuid": "7ed2037c-3eb8-4f03-a2e1-5ab3e81ca34e",
"importer": "sprite-frame",
"rawTextureUuid": "4b49cd83-b149-43f7-925f-f80540e80749",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -40,
"offsetY": 0,
"trimX": 2,
"trimY": 2,
"width": 172,
"height": 124,
"rawWidth": 256,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "4fb7b659-6b73-4357-bfec-854837d7ff67",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 713,
"height": 324,
"platformSettings": {},
"subMetas": {
"labelBg": {
"ver": "1.0.6",
"uuid": "f9992ab9-caa0-462c-8baf-6908677fd296",
"importer": "sprite-frame",
"rawTextureUuid": "4fb7b659-6b73-4357-bfec-854837d7ff67",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 713,
"height": 324,
"rawWidth": 713,
"rawHeight": 324,
"borderTop": 20,
"borderBottom": 20,
"borderLeft": 60,
"borderRight": 60,
"subMetas": {}
}
}
}

Binary file not shown.

View File

@ -1 +0,0 @@
{"paths":{"1":["effects/builtin-2d-gray-sprite",0],"2":["effects/builtin-2d-sprite",0],"3":["materials/builtin-unlit",1],"4":["effects/builtin-3d-trail",0],"5":["effects/builtin-2d-graphics",0],"6":["materials/builtin-2d-gray-sprite",1],"7":["materials/builtin-3d-trail",1],"8":["effects/builtin-unlit",0],"9":["materials/builtin-2d-base",1],"10":["materials/builtin-2d-graphics",1],"11":["effects/builtin-clear-stencil",0],"12":["materials/builtin-clear-stencil",1],"13":["materials/builtin-2d-label",1],"14":["materials/builtin-2d-sprite",1],"15":["effects/builtin-2d-label",0]},"types":["cc.EffectAsset","cc.Material"],"uuids":["02delMVqdBD70a/HSD99FK","14TDKXr2NJ6LjvHPops74o","28dPjdQWxEQIG3VVl1Qm6T","2aKWBXJHxKHLvrBUi2yYZQ","2afAA24LNP4YmYiaVLiivs","30aC+Hnw1PF4pEcoY3kUYb","3ae7efMv1CLq2ilvUY/tQi","46bU+b5fROqIXVPG6aZWWK","6dkeWRTOBGXICfYQ7JUBnG","6fgBCSDDdPMInvyNlggls2","a1U5RdJRFMFL57BdJC9H1X","c0BAyVxX9JzZy8EjFrc9DU","cffgu4qBxEqa150o1DmRAy","e0LYfU5ZlNFoAB4UiRrGUG","ecpdLyjvZBwrvm+cedCcQy","f1h0LXVtJOta5JLZ1xCzfI"],"scenes":{},"redirect":[],"deps":[],"packs":{"05464a930":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]},"name":"internal","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":false,"versions":{"import":["05464a930","3c4b0"],"native":[0,"cea68"]}}

View File

@ -0,0 +1 @@
{"paths":{"1":["effects/builtin-2d-spine",0],"2":["effects/builtin-2d-gray-sprite",0],"3":["effects/builtin-2d-sprite",0],"4":["materials/builtin-unlit",1],"5":["effects/builtin-3d-trail",0],"6":["effects/builtin-2d-graphics",0],"7":["materials/builtin-2d-gray-sprite",1],"8":["materials/builtin-3d-trail",1],"9":["effects/builtin-unlit",0],"10":["materials/builtin-2d-base",1],"11":["materials/builtin-2d-spine",1],"12":["materials/builtin-2d-graphics",1],"13":["effects/builtin-clear-stencil",0],"14":["materials/builtin-clear-stencil",1],"15":["materials/builtin-2d-label",1],"16":["materials/builtin-2d-sprite",1],"17":["effects/builtin-2d-label",0]},"types":["cc.EffectAsset","cc.Material"],"uuids":["02delMVqdBD70a/HSD99FK","0ek66qC1NOQLjgYmi04HvX","14TDKXr2NJ6LjvHPops74o","28dPjdQWxEQIG3VVl1Qm6T","2aKWBXJHxKHLvrBUi2yYZQ","2afAA24LNP4YmYiaVLiivs","30aC+Hnw1PF4pEcoY3kUYb","3ae7efMv1CLq2ilvUY/tQi","46bU+b5fROqIXVPG6aZWWK","6dkeWRTOBGXICfYQ7JUBnG","6fgBCSDDdPMInvyNlggls2","7a/QZLET9IDreTiBfRn2PD","a1U5RdJRFMFL57BdJC9H1X","c0BAyVxX9JzZy8EjFrc9DU","cffgu4qBxEqa150o1DmRAy","e0LYfU5ZlNFoAB4UiRrGUG","ecpdLyjvZBwrvm+cedCcQy","f1h0LXVtJOta5JLZ1xCzfI"],"scenes":{},"redirect":[],"deps":[],"packs":{"0967b326a":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]},"name":"internal","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":false,"versions":{"import":["0967b326a","1f618"],"native":[0,"cea68"]}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"paths":{},"types":[],"uuids":["1da8E6lehB4ocDRBJj7AC7","2dL3kvpAxJu6GJ7RdqJG5J","4bnFp+xkVIpJrKXfOBzk71","4er1GLNexCYpKNTUl8Pygw","61cyPdEfRN047sDK9rO0W5","6eBWFz0oVHPLIGQKf/9Thu","71VhFCTINJM6/Ky3oX9nBT","80hOyDduZO9KDpFipBe1wI","9cCAYtTPFLbqi6SjiBzH59","a2MjXRFdtLlYQ5ouAFv/+R","b4P/PCArtIdIH38t6mlw8Y","d608qFRoFHwbXd0Dap056i","d8HsitJHxOYqo801xBk8ev","e8Ueib+qJEhL6mXAHdnwbi","02delMVqdBD70a/HSD99FK","0382cMsuNE3KcYNdg7RaEA","04QhoLJm5NE4HfGHPvPEqD","0987SaUH9IXri/gJ+Y3Ukj","0am1HlI7tJAr0CCz+R5gFz","15yN+Vt99CfLSMV8E5LZ6E","163wG3ddlH8pa/I9KWMq9H","1aH33G3pNJTbe+/pIDtB3A","1bSqFXgnFL0Kki4Z9FLYb8","24u5bW0WBBnImojxoeIDSR","28D+Br0KFPHb9YTDfpB7fq","29FYIk+N1GYaeWH/q1NxQO","38Ttmi/zlB/aPdDfKD4uFZ","3cx7xqv11Mqae4IqOZ8pMA","41lxK9AOZDUpe8EFqxmdhS","43TEgy6rBGwaHvuqUxY4a0","43yDqZa+BGj6iUG2JPPTOs","47OItZvKlGB73BH8e6B5oS","4dPk7d9E5OGoZI0XP3Ru6o","4finTWjodHNJ3zkAJ7cCZJ","4fteZzcBdKGr9IkiUERgQt","51X/lBptFCGpJDJJCR/Fsd","52VtLfbi1MrJrHvTOt0GBT","53JeaBCcJM3Yfxe012JH8U","57l7pAAjJOyocpcZNz456M","576FRTaZdCQrq7cFaXU46Y","58mpK9IcxD1IWULpySkw8T","5a4OvTK0pOpJRUe4tPzvrU","5cO7kybDxGj4ipyMYdRYZB","5dBjs29q1NCq0MHq9jOhKT","5dU5jEs9VARZEOG/pv7Ufq","5fCMQ2RPBIArwZBEOXKhBb","5f5dyqtRNNxaFmVzYns6FZ","5f6tgEGCdMjZuJwJhJru1O","63Ss7MWYdAn4yBKFaSiauz","69EnvezWBP9IYebqFsy3LT","69mbYhSp9KiZcPT2Y39uvh","6bhr+y1NFEdKYVaopRW5IB","6caEnphCZL2IKYGUkX0g2n","6eAkj26lVCUr6qYnNrxTrX","70D6UnoQRNMYRqmevBxYA6","70360VC8hFqZPvYtrn/IwS","75zv/v5GlIRYC94AUoQNJI","79R1bE7qxKJKQSQDXQcZlw","7aUCmkbUlKFaG7n6qVBugB","7bCx0gWh1HI4r4UKR+hBZD","7e6Iw5csNIlo+vsmwdrsq8","81ia8va3BJepOlmUBIyy4J","84pYaRbLxDm40pRq6R/U2j","8c20Sso/ZEn7NUfNSM+EBh","8c+UfqiOZDJqedRTQzX04y","92J2FdGz9BbIhN4zYS1Xsu","9283NIJKZGXLdKCv2mBNw9","9bvaMerUlDyary99mJa6xp","9cnmwJZlNEt4pynt3FTCQl","a3kEdNUtpHUp+xylzYnD9l","a6cIPzEytNx5Y8ryBAEs2X","acL4P7H55NWLBDvc0lY04U","b0dGqdCCJJ3Yz4Ra/B7kZS","b1p9kkt1ZKvZ3k+RPnbXum","b3ExUspZBAapD254yoz5n6","b3G0R7LDVG6rtshJUgVfro","b30PxSOWBC0YafORIekSvb","bamQeltc5Ewbk7c/2f7V3b","be9Gc3wyNC6p6nfceAuIK3","c1/PD7xXJIAJhIHnhxj9q/","c2uC1x53VDxJumZQ16xGwx","cdYGsFIYNKWq18nzRkAGqq","e3D5Zv1UZEoJ7kuldF1p2q","e3Y6Z2m1JEArQ6NwYvJMJQ","e4aGCqkitAjIqSzPskEGx2","e9YCqWkdFKZZio+BdFrOfw","e9foLfROJClIn72tv0S/Yi","e97GVMl6JHh5Ml5qEDdSGa","eb8n+TbDtEzbIolEt3Q1k2","eckHZEV5hNt7uqOurMIVD0","ecpdLyjvZBwrvm+cedCcQy","ec2LeWzz1F5qtdmZBv9oQm","edNUrcH69NqrPed2wEmQkK","edVm3LZetHAoWDG+wSCLQN","ee8fatrn1PdKuHzUyB3qBy","f0BIwQ8D5Ml7nTNQbh1YlS","f20cFqDmtBIL+vAc5yCydW","f6zfU6jehC2r6jWBsaaBNg","ffpaCBUEBIfKFTR0LSG6wa","ff28kp/9tGt6k+KUR4Vso2"],"scenes":{"db://assets/Scene/GameScene.fire":3,"db://assets/Scene/GuideScene.fire":0,"db://assets/Scene/LoadScene.fire":8,"db://assets/Scene/OverScene.fire":2,"db://assets/Scene/RankScene.fire":1},"redirect":[14,0,15,1,16,1,17,1,18,1,19,1,20,1,21,1,22,1,23,1,24,1,26,1,27,1,28,1,29,1,30,1,31,1,32,1,33,1,34,1,35,1,36,1,37,1,38,1,39,1,40,1,41,1,43,1,44,1,45,1,47,1,48,1,49,1,50,1,51,1,53,1,54,1,55,1,56,1,57,1,58,1,59,1,60,1,61,1,62,1,64,1,65,1,66,1,68,1,69,1,70,1,71,1,72,1,73,1,74,1,75,1,76,1,77,1,78,1,79,1,80,1,82,1,83,1,84,1,85,1,86,1,88,1,89,1,90,0,91,1,92,1,93,1,94,1,96,1,97,1,98,1,99,1],"deps":["internal","resources"],"packs":{"02989e146":[25,8,87,95],"07085ce9a":[0,63,9],"08d36c5cd":[1,42,46,52,67],"09d0e4ec4":[4,5,6,7,10,11,12,13],"0f71d0ae6":[3,9,81]},"name":"main","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":false,"versions":{"import":["02989e146","b7619","07085ce9a","75748","08d36c5cd","5dd93","09d0e4ec4","fc990","0f71d0ae6","65a9d",2,"ff866"],"native":[4,"6d707",5,"6d3cf",6,"c06a9",7,"27e3b",10,"83fcc",11,"d55c2",12,"cdbc9",13,"90cf4"]}}

View File

@ -0,0 +1 @@
{"paths":{},"types":[],"uuids":["1da8E6lehB4ocDRBJj7AC7","2dL3kvpAxJu6GJ7RdqJG5J","4bnFp+xkVIpJrKXfOBzk71","4er1GLNexCYpKNTUl8Pygw","61cyPdEfRN047sDK9rO0W5","6eBWFz0oVHPLIGQKf/9Thu","71VhFCTINJM6/Ky3oX9nBT","80hOyDduZO9KDpFipBe1wI","9cCAYtTPFLbqi6SjiBzH59","a2MjXRFdtLlYQ5ouAFv/+R","b4P/PCArtIdIH38t6mlw8Y","d608qFRoFHwbXd0Dap056i","d8HsitJHxOYqo801xBk8ev","e8Ueib+qJEhL6mXAHdnwbi","02delMVqdBD70a/HSD99FK","0382cMsuNE3KcYNdg7RaEA","04QhoLJm5NE4HfGHPvPEqD","0987SaUH9IXri/gJ+Y3Ukj","0am1HlI7tJAr0CCz+R5gFz","15yN+Vt99CfLSMV8E5LZ6E","163wG3ddlH8pa/I9KWMq9H","1aH33G3pNJTbe+/pIDtB3A","1bSqFXgnFL0Kki4Z9FLYb8","24u5bW0WBBnImojxoeIDSR","28D+Br0KFPHb9YTDfpB7fq","29FYIk+N1GYaeWH/q1NxQO","38Ttmi/zlB/aPdDfKD4uFZ","39Qf2uJ5pI2KdGXFUZcxqA","3cx7xqv11Mqae4IqOZ8pMA","41lxK9AOZDUpe8EFqxmdhS","43TEgy6rBGwaHvuqUxY4a0","43yDqZa+BGj6iUG2JPPTOs","47OItZvKlGB73BH8e6B5oS","4dPk7d9E5OGoZI0XP3Ru6o","4finTWjodHNJ3zkAJ7cCZJ","4fteZzcBdKGr9IkiUERgQt","51X/lBptFCGpJDJJCR/Fsd","52VtLfbi1MrJrHvTOt0GBT","53JeaBCcJM3Yfxe012JH8U","57l7pAAjJOyocpcZNz456M","576FRTaZdCQrq7cFaXU46Y","58mpK9IcxD1IWULpySkw8T","5a4OvTK0pOpJRUe4tPzvrU","5cO7kybDxGj4ipyMYdRYZB","5dBjs29q1NCq0MHq9jOhKT","5dU5jEs9VARZEOG/pv7Ufq","5fCMQ2RPBIArwZBEOXKhBb","5f5dyqtRNNxaFmVzYns6FZ","5f6tgEGCdMjZuJwJhJru1O","63Ss7MWYdAn4yBKFaSiauz","69EnvezWBP9IYebqFsy3LT","69mbYhSp9KiZcPT2Y39uvh","6bhr+y1NFEdKYVaopRW5IB","6caEnphCZL2IKYGUkX0g2n","6eAkj26lVCUr6qYnNrxTrX","70D6UnoQRNMYRqmevBxYA6","70360VC8hFqZPvYtrn/IwS","75zv/v5GlIRYC94AUoQNJI","79R1bE7qxKJKQSQDXQcZlw","7aUCmkbUlKFaG7n6qVBugB","7a/QZLET9IDreTiBfRn2PD","7bCx0gWh1HI4r4UKR+hBZD","7e6Iw5csNIlo+vsmwdrsq8","81ia8va3BJepOlmUBIyy4J","84pYaRbLxDm40pRq6R/U2j","8c20Sso/ZEn7NUfNSM+EBh","8c+UfqiOZDJqedRTQzX04y","92J2FdGz9BbIhN4zYS1Xsu","9283NIJKZGXLdKCv2mBNw9","9bvaMerUlDyary99mJa6xp","9cnmwJZlNEt4pynt3FTCQl","a3kEdNUtpHUp+xylzYnD9l","a6cIPzEytNx5Y8ryBAEs2X","acL4P7H55NWLBDvc0lY04U","b0dGqdCCJJ3Yz4Ra/B7kZS","b1p9kkt1ZKvZ3k+RPnbXum","b3ExUspZBAapD254yoz5n6","b3G0R7LDVG6rtshJUgVfro","b30PxSOWBC0YafORIekSvb","bamQeltc5Ewbk7c/2f7V3b","be9Gc3wyNC6p6nfceAuIK3","c1/PD7xXJIAJhIHnhxj9q/","c2uC1x53VDxJumZQ16xGwx","cdYGsFIYNKWq18nzRkAGqq","e3D5Zv1UZEoJ7kuldF1p2q","e3Y6Z2m1JEArQ6NwYvJMJQ","e4aGCqkitAjIqSzPskEGx2","e9YCqWkdFKZZio+BdFrOfw","e9foLfROJClIn72tv0S/Yi","e97GVMl6JHh5Ml5qEDdSGa","eb8n+TbDtEzbIolEt3Q1k2","eckHZEV5hNt7uqOurMIVD0","ecpdLyjvZBwrvm+cedCcQy","ec2LeWzz1F5qtdmZBv9oQm","edNUrcH69NqrPed2wEmQkK","edVm3LZetHAoWDG+wSCLQN","ee8fatrn1PdKuHzUyB3qBy","f0BIwQ8D5Ml7nTNQbh1YlS","f20cFqDmtBIL+vAc5yCydW","f6zfU6jehC2r6jWBsaaBNg","f9mSq5yqBGLIuvaQhnf9KW","ffpaCBUEBIfKFTR0LSG6wa","ff28kp/9tGt6k+KUR4Vso2"],"scenes":{"db://assets/Scene/GameScene.fire":3,"db://assets/Scene/GuideScene.fire":0,"db://assets/Scene/LoadScene.fire":8,"db://assets/Scene/OverScene.fire":2,"db://assets/Scene/RankScene.fire":1},"redirect":[14,0,15,1,16,1,17,1,18,1,19,1,20,1,21,1,22,1,23,1,24,1,26,1,27,1,28,1,29,1,30,1,31,1,32,1,33,1,34,1,35,1,36,1,37,1,38,1,39,1,40,1,41,1,42,1,44,1,45,1,46,1,48,1,49,1,50,1,51,1,52,1,54,1,55,1,56,1,57,1,58,1,59,1,60,0,61,1,62,1,63,1,64,1,66,1,67,1,68,1,70,1,71,1,72,1,73,1,74,1,75,1,76,1,77,1,78,1,79,1,80,1,81,1,82,1,84,1,85,1,86,1,87,1,88,1,90,1,91,1,92,0,93,1,94,1,95,1,96,1,98,1,99,1,100,1,101,1,102,1],"deps":["internal","resources"],"packs":{"02989e146":[25,8,89,97],"07085ce9a":[0,65,9],"08b19ad34":[3,9],"08d36c5cd":[1,43,47,53,69],"09d0e4ec4":[4,5,6,7,10,11,12,13]},"name":"main","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":false,"versions":{"import":["02989e146","7ab37","07085ce9a","38058","08b19ad34","eb10d","08d36c5cd","5dd93","09d0e4ec4","fc990",2,"ff866",83,"abc94"],"native":[4,"6d707",5,"6d3cf",6,"c06a9",7,"27e3b",10,"83fcc",11,"d55c2",12,"cdbc9",13,"90cf4"]}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
[1,["41lxK9AOZDUpe8EFqxmdhS","e3Y6Z2m1JEArQ6NwYvJMJQ","ee8fatrn1PdKuHzUyB3qBy","69mbYhSp9KiZcPT2Y39uvh","24u5bW0WBBnImojxoeIDSR","5f6tgEGCdMjZuJwJhJru1O","a6cIPzEytNx5Y8ryBAEs2X","52VtLfbi1MrJrHvTOt0GBT"],["value"],[["cc.AnimationClip",["_name","_duration","speed","curveData"],0,11]],[[0,0,1,2,3,4]],[[0,"fire",1.5166666666666666,0.8,[{},"comps",11,[{},"cc.Sprite",11,[{},"spriteFrame",12,[[[{"frame":0},"value",6,0],[{"frame":0.16666666666666666},"value",6,1],[{"frame":0.3333333333333333},"value",6,2],[{"frame":0.5},"value",6,3],[{"frame":0.6666666666666666},"value",6,4],[{"frame":0.8333333333333334},"value",6,5],[{"frame":1},"value",6,6],[{"frame":1.1666666666666667},"value",6,7],[{"frame":1.3333333333333333},"value",6,8],[{"frame":1.5},"value",6,9]],11,11,11,11,11,11,11,11,11,11]]]]]],0,0,[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,2,3,4,5,1,1,6,7,0]]

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"type":"cc.Texture2D","data":"1,9729,9729,33071,33071,0,0,1|1,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|1,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|1,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1"}

View File

@ -0,0 +1 @@
{"type":"cc.Texture2D","data":"1,9729,9729,33071,33071,0,0,1|1,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|1,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|1,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1"}

View File

@ -0,0 +1 @@
[1,["4bSc2DsUlD95Jf+AVA6AdJ"],0,[["sp.SkeletonData",["_name","_atlasText","textureNames","_skeletonJson","textures"],-1,3]],[[0,0,1,2,3,4,5]],[[0,"hand","\r\nhand.png\r\nsize: 256,128\r\nformat: RGBA8888\r\nfilter: Linear,Linear\r\nrepeat: none\r\n0\r\n rotate: false\r\n xy: 107, 59\r\n size: 67, 67\r\n orig: 67, 67\r\n offset: 0, 0\r\n index: -1\r\n1\r\n rotate: false\r\n xy: 2, 2\r\n size: 103, 124\r\n orig: 103, 124\r\n offset: 0, 0\r\n index: -1\r\n",["hand.png"],{"skeleton":{"hash":"/Glc657HgCwGQfMxhqvoEP7O3Ko","spine":"3.6.52","width":103,"height":151.04,"images":"/Users/liangjiacheng/Desktop/basketball_hand"},"bones":[{"name":"root"},{"name":"0","parent":"root","y":104.49},{"name":"1","parent":"root","length":85.43,"rotation":90.24,"x":6.71,"y":0.03}],"slots":[{"name":"1","bone":"1","attachment":"1"},{"name":"0","bone":"0","attachment":"0"}],"skins":{"default":{"0":{"0":{"rotation":90.24,"width":67,"height":67}},"1":{"1":{"x":49.07,"y":1.21,"rotation":-90.24,"width":103,"height":124}}}},"animations":{"animation":{"slots":{"0":{"color":[{"time":0,"color":"ffffff00","curve":"stepped"},{"time":0.3333,"color":"ffffff00"},{"time":0.5,"color":"ffffffff"},{"time":0.6333,"color":"ffffff00"}],"attachment":[{"time":0,"name":"0"},{"time":0.3333,"name":"0"},{"time":0.6333,"name":"0"},{"time":0.7,"name":"0"}]},"1":{"attachment":[{"time":0,"name":"1"},{"time":0.4,"name":"1"},{"time":0.7,"name":"1"}]}},"bones":{"0":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0}],"scale":[{"time":0,"x":1,"y":1,"curve":"stepped"},{"time":0.3333,"x":1,"y":1},{"time":0.6333,"x":1.973,"y":1.973,"curve":"stepped"},{"time":0.7,"x":1.973,"y":1.973}],"shear":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0}]},"1":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0}],"scale":[{"time":0,"x":1,"y":1},{"time":0.1667,"x":1.569,"y":1.569},{"time":0.3333,"x":0.955,"y":0.955},{"time":0.4,"x":1,"y":1,"curve":"stepped"},{"time":0.7,"x":1,"y":1}],"shear":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0}],"scale":[{"time":0,"x":1,"y":1,"curve":"stepped"},{"time":0.7,"x":1,"y":1}],"shear":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0}]}},"drawOrder":[{"time":0},{"time":0.4},{"time":0.7}]}}},[0]]],0,0,[0],[-1],[0]]

View File

@ -1 +0,0 @@
[1,0,0,[["cc.Asset",["_name","_native"],1]],[[0,0,1,3]],[[0,"Music",".zip"],-1],0,0,[],[],[]]

View File

@ -0,0 +1 @@
[1,["4bSc2DsUlD95Jf+AVA6AdJ"],["_textureSetter"],["cc.SpriteFrame"],0,[{"name":"hand","rect":[2,2,172,124],"offset":[-40,0],"originalSize":[256,128],"capInsets":[0,0,0,0]}],[0],0,[0],[0],[0]]

View File

@ -0,0 +1 @@
[1,0,0,[["cc.Asset",["_name","_native"],1]],[[0,0,1,3]],[[0,"hand",".atlas"],-1],0,0,[],[],[]]

View File

@ -0,0 +1 @@
[1,["4ft7ZZa3NDV7/shUg31/9n"],["_textureSetter"],["cc.SpriteFrame"],0,[{"name":"labelBg","rect":[0,0,713,324],"offset":[0,0],"originalSize":[713,324],"capInsets":[60,20,60,20]}],[0],0,[0],[0],[0]]

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -0,0 +1,20 @@
hand.png
size: 256,128
format: RGBA8888
filter: Linear,Linear
repeat: none
0
rotate: false
xy: 107, 59
size: 67, 67
orig: 67, 67
offset: 0, 0
index: -1
1
rotate: false
xy: 2, 2
size: 103, 124
orig: 103, 124
offset: 0, 0
index: -1

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -136,9 +136,9 @@
</div>
<canvas id="GameCanvas" oncontextmenu="event.preventDefault()" tabindex="0"></canvas>
<script src="src/settings.79da6.js" charset="utf-8"></script>
<script src="src/settings.457b6.js" charset="utf-8"></script>
<script src="main.8d269.js" charset="utf-8"></script>
<script src="main.61f92.js" charset="utf-8"></script>
<script type="text/javascript">
(function () {
@ -228,7 +228,7 @@
}
loadScript(debug ? 'cocos2d-js.js' : 'cocos2d-js-min.15dca.js', function () {
loadScript(debug ? 'cocos2d-js.js' : 'cocos2d-js-min.d99a5.js', function () {
if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) {
loadScript(debug ? 'physics.js' : 'physics-min.js', window.boot);
}

View File

@ -117,7 +117,7 @@ window.boot = function () {
if (window.jsb) {
var isRuntime = (typeof loadRuntime === 'function');
if (isRuntime) {
require('src/settings.79da6.js');
require('src/settings.457b6.js');
require('src/cocos2d-runtime.js');
if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) {
require('src/physics.js');
@ -125,7 +125,7 @@ if (window.jsb) {
require('jsb-adapter/engine/index.js');
}
else {
require('src/settings.79da6.js');
require('src/settings.457b6.js');
require('src/cocos2d-jsb.js');
if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) {
require('src/physics.js');

View File

@ -1 +1 @@
window._CCSettings={platform:"web-mobile",groupList:["default"],collisionMatrix:[[true]],hasResourcesBundle:true,hasStartSceneBundle:false,remoteBundles:[],subpackages:[],launchScene:"db://assets/Scene/LoadScene.fire",orientation:"portrait",jsList:[],bundleVers:{internal:"52d36",resources:"684cd",main:"5d51e"}};
window._CCSettings={platform:"web-mobile",groupList:["default"],collisionMatrix:[[true]],hasResourcesBundle:true,hasStartSceneBundle:false,remoteBundles:[],subpackages:[],launchScene:"db://assets/Scene/LoadScene.fire",orientation:"portrait",jsList:[],bundleVers:{internal:"d0832",resources:"06d7f",main:"708a3"}};

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,365 @@
{
"__type__": "sp.SkeletonData",
"_name": "hand",
"_objFlags": 0,
"_native": "",
"_skeletonJson": {
"skeleton": {
"hash": "/Glc657HgCwGQfMxhqvoEP7O3Ko",
"spine": "3.6.52",
"width": 103,
"height": 151.04,
"images": "/Users/liangjiacheng/Desktop/basketball_hand"
},
"bones": [
{
"name": "root"
},
{
"name": "0",
"parent": "root",
"y": 104.49
},
{
"name": "1",
"parent": "root",
"length": 85.43,
"rotation": 90.24,
"x": 6.71,
"y": 0.03
}
],
"slots": [
{
"name": "1",
"bone": "1",
"attachment": "1"
},
{
"name": "0",
"bone": "0",
"attachment": "0"
}
],
"skins": {
"default": {
"0": {
"0": {
"rotation": 90.24,
"width": 67,
"height": 67
}
},
"1": {
"1": {
"x": 49.07,
"y": 1.21,
"rotation": -90.24,
"width": 103,
"height": 124
}
}
}
},
"animations": {
"animation": {
"slots": {
"0": {
"color": [
{
"time": 0,
"color": "ffffff00",
"curve": "stepped"
},
{
"time": 0.3333,
"color": "ffffff00"
},
{
"time": 0.5,
"color": "ffffffff"
},
{
"time": 0.6333,
"color": "ffffff00"
}
],
"attachment": [
{
"time": 0,
"name": "0"
},
{
"time": 0.3333,
"name": "0"
},
{
"time": 0.6333,
"name": "0"
},
{
"time": 0.7,
"name": "0"
}
]
},
"1": {
"attachment": [
{
"time": 0,
"name": "1"
},
{
"time": 0.4,
"name": "1"
},
{
"time": 0.7,
"name": "1"
}
]
}
},
"bones": {
"0": {
"rotate": [
{
"time": 0,
"angle": 0,
"curve": "stepped"
},
{
"time": 0.3333,
"angle": 0,
"curve": "stepped"
},
{
"time": 0.7,
"angle": 0
}
],
"translate": [
{
"time": 0,
"x": 0,
"y": 0,
"curve": "stepped"
},
{
"time": 0.3333,
"x": 0,
"y": 0,
"curve": "stepped"
},
{
"time": 0.7,
"x": 0,
"y": 0
}
],
"scale": [
{
"time": 0,
"x": 1,
"y": 1,
"curve": "stepped"
},
{
"time": 0.3333,
"x": 1,
"y": 1
},
{
"time": 0.6333,
"x": 1.973,
"y": 1.973,
"curve": "stepped"
},
{
"time": 0.7,
"x": 1.973,
"y": 1.973
}
],
"shear": [
{
"time": 0,
"x": 0,
"y": 0,
"curve": "stepped"
},
{
"time": 0.3333,
"x": 0,
"y": 0,
"curve": "stepped"
},
{
"time": 0.7,
"x": 0,
"y": 0
}
]
},
"1": {
"rotate": [
{
"time": 0,
"angle": 0,
"curve": "stepped"
},
{
"time": 0.4,
"angle": 0,
"curve": "stepped"
},
{
"time": 0.7,
"angle": 0
}
],
"translate": [
{
"time": 0,
"x": 0,
"y": 0,
"curve": "stepped"
},
{
"time": 0.4,
"x": 0,
"y": 0,
"curve": "stepped"
},
{
"time": 0.7,
"x": 0,
"y": 0
}
],
"scale": [
{
"time": 0,
"x": 1,
"y": 1
},
{
"time": 0.1667,
"x": 1.569,
"y": 1.569
},
{
"time": 0.3333,
"x": 0.955,
"y": 0.955
},
{
"time": 0.4,
"x": 1,
"y": 1,
"curve": "stepped"
},
{
"time": 0.7,
"x": 1,
"y": 1
}
],
"shear": [
{
"time": 0,
"x": 0,
"y": 0,
"curve": "stepped"
},
{
"time": 0.4,
"x": 0,
"y": 0,
"curve": "stepped"
},
{
"time": 0.7,
"x": 0,
"y": 0
}
]
},
"root": {
"rotate": [
{
"time": 0,
"angle": 0,
"curve": "stepped"
},
{
"time": 0.7,
"angle": 0
}
],
"translate": [
{
"time": 0,
"x": 0,
"y": 0,
"curve": "stepped"
},
{
"time": 0.7,
"x": 0,
"y": 0
}
],
"scale": [
{
"time": 0,
"x": 1,
"y": 1,
"curve": "stepped"
},
{
"time": 0.7,
"x": 1,
"y": 1
}
],
"shear": [
{
"time": 0,
"x": 0,
"y": 0,
"curve": "stepped"
},
{
"time": 0.7,
"x": 0,
"y": 0
}
]
}
},
"drawOrder": [
{
"time": 0
},
{
"time": 0.4
},
{
"time": 0.7
}
]
}
}
},
"_atlasText": "\r\nhand.png\r\nsize: 256,128\r\nformat: RGBA8888\r\nfilter: Linear,Linear\r\nrepeat: none\r\n0\r\n rotate: false\r\n xy: 107, 59\r\n size: 67, 67\r\n orig: 67, 67\r\n offset: 0, 0\r\n index: -1\r\n1\r\n rotate: false\r\n xy: 2, 2\r\n size: 103, 124\r\n orig: 103, 124\r\n offset: 0, 0\r\n index: -1\r\n",
"textures": [
{
"__uuid__": "4b49cd83-b149-43f7-925f-f80540e80749"
}
],
"textureNames": [
"hand.png"
],
"scale": 1
}

View File

@ -35,18 +35,11 @@ var NewClass = /** @class */ (function (_super) {
return _this;
}
NewClass.prototype.start = function () {
cc.debug.setDisplayStats(false);
window.initMgr();
share_1.WeChat.setShare(location.href);
cc.fx.GameConfig.init(this.localTest);
this.testVersion.string = this.clientTestVersion;
//24年 25年9万 27年
// setTimeout(() => {
// for(let i=0; i<10;i++){
// let num = cc.fx.GameTool.getSeedRandom(1,10);
// console.log(num);
// }
// }, 100);
//
};
NewClass.prototype.setRank = function () {
var data = {

View File

@ -1 +1 @@
{"version":3,"sources":["assets\\Script\\Load.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAA8C;AAExC,IAAA,KAAwC,EAAE,CAAC,UAAU,EAApD,OAAO,aAAA,EAAE,QAAQ,cAAA,EAAE,gBAAgB,sBAAiB,CAAC;AAG5D;IAAsC,4BAAY;IAAlD;QAAA,qEA0DC;QAvDG,eAAS,GAAY,KAAK,CAAC;QAG3B,uBAAiB,GAAW,OAAO,CAAC;QAGpC,iBAAW,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,CAAC,EAAE,CAAC,KAAK,CAAC;iDACU;IATZ,QAAQ;QAD5B,OAAO;OACa,QAAQ,CA0D5B;IAAD,eAAC;CA1DD,AA0DC,CA1DqC,EAAE,CAAC,SAAS,GA0DjD;kBA1DoB,QAAQ","file":"","sourceRoot":"/","sourcesContent":["import { WeChat } from \"./module/Share/share\";\r\n\r\nconst {ccclass, property, requireComponent} = cc._decorator;\r\n\r\n@ccclass\r\nexport default class NewClass extends cc.Component {\r\n\r\n @property(false)\r\n localTest: boolean = false;\r\n\r\n @property(\"\")\r\n clientTestVersion: string = \"1.0.0\";\r\n\r\n @property(cc.Label)\r\n testVersion: cc.Label = null;\r\n\r\n start () {\r\n window.initMgr();\r\n WeChat.setShare(location.href);\r\n cc.fx.GameConfig.init(this.localTest);\r\n this.testVersion.string = this.clientTestVersion;\r\n\r\n //24年 25年9万 27年\r\n // setTimeout(() => {\r\n // for(let i=0; i<10;i++){\r\n // let num = cc.fx.GameTool.getSeedRandom(1,10);\r\n // console.log(num);\r\n // }\r\n // }, 100);\r\n // \r\n \r\n }\r\n\r\n setRank(){\r\n let data = {\r\n \"totleTimes\": 8759,\r\n \"accuracy\": 80,\r\n }\r\n cc.fx.GameTool.setRank(data);\r\n }\r\n\r\n //开始游戏,跳转至引导页面\r\n startGame(){\r\n \r\n setTimeout(() => {\r\n cc.director.loadScene(\"GuideScene\");\r\n }, 100);\r\n // cc.director.loadScene(\"GuideScene\");\r\n }\r\n //备用,用来测试跳转 指定关卡\r\n clickBtn(event,data){\r\n // cc.fx.GameConfig.GM_INFO.custom = parseInt(data);\r\n cc.director.loadScene(\"GameScene\");\r\n } \r\n //打开排行榜\r\n openRank(){\r\n setTimeout(() => {\r\n cc.director.loadScene(\"RankScene\");\r\n }, 100);\r\n }\r\n \r\n protected update(dt: number): void {\r\n }\r\n}\r\n"]}
{"version":3,"sources":["assets\\Script\\Load.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAA8C;AAExC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C,CAAC;IACZ,CAAC;IAES,yBAAM,GAAhB,UAAiB,EAAU;IAC3B,CAAC;IA9CD;QADC,QAAQ,CAAC,KAAK,CAAC;+CACW;IAG3B;QADC,QAAQ,CAAC,EAAE,CAAC;uDACuB;IAGpC;QADC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC;iDACU;IATZ,QAAQ;QAD5B,OAAO;OACa,QAAQ,CAkD5B;IAAD,eAAC;CAlDD,AAkDC,CAlDqC,EAAE,CAAC,SAAS,GAkDjD;kBAlDoB,QAAQ","file":"","sourceRoot":"/","sourcesContent":["import { WeChat } from \"./module/Share/share\";\r\n\r\nconst {ccclass, property, requireComponent} = cc._decorator;\r\n\r\n@ccclass\r\nexport default class NewClass extends cc.Component {\r\n\r\n @property(false)\r\n localTest: boolean = false;\r\n\r\n @property(\"\")\r\n clientTestVersion: string = \"1.0.0\";\r\n\r\n @property(cc.Label)\r\n testVersion: cc.Label = null;\r\n\r\n start () {\r\n cc.debug.setDisplayStats(false);\r\n window.initMgr();\r\n WeChat.setShare(location.href);\r\n cc.fx.GameConfig.init(this.localTest);\r\n this.testVersion.string = this.clientTestVersion;\r\n \r\n }\r\n\r\n setRank(){\r\n let data = {\r\n \"totleTimes\": 8759,\r\n \"accuracy\": 80,\r\n }\r\n cc.fx.GameTool.setRank(data);\r\n }\r\n\r\n //开始游戏,跳转至引导页面\r\n startGame(){\r\n \r\n setTimeout(() => {\r\n cc.director.loadScene(\"GuideScene\");\r\n }, 100);\r\n // cc.director.loadScene(\"GuideScene\");\r\n }\r\n //备用,用来测试跳转 指定关卡\r\n clickBtn(event,data){\r\n // cc.fx.GameConfig.GM_INFO.custom = parseInt(data);\r\n cc.director.loadScene(\"GameScene\");\r\n } \r\n //打开排行榜\r\n openRank(){\r\n setTimeout(() => {\r\n cc.director.loadScene(\"RankScene\");\r\n }, 100);\r\n }\r\n \r\n protected update(dt: number): void {\r\n }\r\n}\r\n"]}

View File

@ -0,0 +1,4 @@
{
"__type__": "cc.Texture2D",
"content": "0,9729,9729,33071,33071,0,0,1"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -0,0 +1,4 @@
{
"__type__": "cc.Texture2D",
"content": "0,9729,9729,33071,33071,0,0,1"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -0,0 +1,28 @@
{
"__type__": "cc.SpriteFrame",
"content": {
"name": "hand",
"texture": "4b49cd83-b149-43f7-925f-f80540e80749",
"atlas": "",
"rect": [
2,
2,
172,
124
],
"offset": [
-40,
0
],
"originalSize": [
256,
128
],
"capInsets": [
0,
0,
0,
0
]
}
}

View File

@ -1276,7 +1276,7 @@
"__id__": 4
},
"_enabled": true,
"localTest": false,
"localTest": true,
"clientTestVersion": "1.2.4",
"testVersion": {
"__id__": 21

View File

@ -45,6 +45,9 @@ var GameManager = /** @class */ (function (_super) {
};
GameManager.prototype.start = function () {
};
//处理地图
GameManager.prototype.setMap = function () {
};
//初始化数据
GameManager.prototype.init = function () {
this.touchable = false;
@ -214,8 +217,9 @@ var GameManager = /** @class */ (function (_super) {
}, 1050);
console.log("正确点火");
}
else if (this.customData.flamable == 1) {
console.log("错误点火");
else if (this.customData) {
if (this.customData.flamable == 1)
console.log("错误点火");
// console.log("正确点火");
}
};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,20 @@
hand.png
size: 256,128
format: RGBA8888
filter: Linear,Linear
repeat: none
0
rotate: false
xy: 107, 59
size: 67, 67
orig: 67, 67
offset: 0, 0
index: -1
1
rotate: false
xy: 2, 2
size: 103, 124
orig: 103, 124
offset: 0, 0
index: -1

View File

@ -1,6 +1,6 @@
{
"__type__": "cc.Asset",
"_name": "Music",
"_name": "hand",
"_objFlags": 0,
"_native": ".zip"
"_native": ".atlas"
}

View File

@ -34,6 +34,7 @@ var GuideManager = /** @class */ (function (_super) {
_this.Btn_New = null;
_this.Btn_Hear = null;
_this.Btn_See = null;
_this.Btn_Firewood = null;
_this.Plant = null;
return _this;
}
@ -41,6 +42,14 @@ var GuideManager = /** @class */ (function (_super) {
this.custom = 0;
};
GuideManager.prototype.start = function () {
this.fit();
};
GuideManager.prototype.fit = function () {
var jg = cc.fx.GameTool.setFit();
if (!jg) {
this.Btn_Firewood.y = -600;
}
this.Btn_Firewood.getComponent(cc.Button).interactable = true;
};
//初始化数据
GuideManager.prototype.init = function () {
@ -73,6 +82,11 @@ var GuideManager = /** @class */ (function (_super) {
"type": 2,
"right": 3,
},
{
"item": "muchai",
"type": 1,
"right": 1,
},
{
"item": "taozi",
"type": 1,
@ -144,9 +158,15 @@ var GuideManager = /** @class */ (function (_super) {
this.Btn_Hear.active = true;
this.Btn_New.active = true;
this.Btn_See.active = true;
this.Btn_Firewood.active = true;
this.Btn_Hear.getChildByName("nomal").getComponent(cc.Button).interactable = false;
this.Btn_New.getChildByName("nomal").getComponent(cc.Button).interactable = false;
this.Btn_See.getChildByName("nomal").getComponent(cc.Button).interactable = false;
if (this.custom == 5) {
this.node.getChildByName("muchai").active = true;
this.node.getChildByName("hand").active = true;
}
this.Btn_Firewood.getComponent(cc.Button).interactable = false;
var name = this.customData[this.custom - 2].item;
if (this.customData[this.custom - 2].type == 1) {
this.Plant.getChildByName("name").getComponent(cc.Label).string = cc.fx.GameTool.getFoodName(name);
@ -159,6 +179,9 @@ var GuideManager = /** @class */ (function (_super) {
_this.Btn_Hear.getChildByName("nomal").getComponent(cc.Button).interactable = true;
_this.Btn_New.getChildByName("nomal").getComponent(cc.Button).interactable = true;
_this.Btn_See.getChildByName("nomal").getComponent(cc.Button).interactable = true;
if (_this.custom == 5) {
_this.Btn_Firewood.getComponent(cc.Button).interactable = true;
}
})
.start();
}
@ -196,6 +219,21 @@ var GuideManager = /** @class */ (function (_super) {
this.choice = 3;
this.Btn_See.getChildByName("nomal").getComponent(cc.Button).interactable = false;
}
else if (data == "Btn_Firewood") {
this.Btn_Firewood.getChildByName("fireBg").active = true;
this.Btn_Firewood.getChildByName("fire").active = true;
setTimeout(function () {
if (_this.Btn_Firewood) {
_this.Btn_Firewood.getChildByName("fireBg").active = false;
_this.Btn_Firewood.getChildByName("fire").active = false;
}
}, 1050);
console.log("正确点火");
this.Btn_Firewood.getComponent(cc.Button).interactable = false;
this.node.getChildByName("muchai").active = false;
this.node.getChildByName("hand").active = false;
return;
}
var target = this[data];
var label = this.Tip.getChildByName("content").getComponent(cc.Label);
//正确
@ -206,6 +244,7 @@ var GuideManager = /** @class */ (function (_super) {
this.Btn_New.getChildByName("nomal").getComponent(cc.Button).interactable = false;
this.Btn_Hear.getChildByName("nomal").getComponent(cc.Button).interactable = false;
this.Btn_See.getChildByName("nomal").getComponent(cc.Button).interactable = false;
this.Btn_Firewood.getComponent(cc.Button).interactable = false;
target.getChildByName("err").active = false;
target.getChildByName("correct").active = true;
setTimeout(function () {
@ -222,12 +261,13 @@ var GuideManager = /** @class */ (function (_super) {
_this.Btn_New.getChildByName("nomal").getComponent(cc.Button).interactable = false;
_this.Btn_See.getChildByName("nomal").getComponent(cc.Button).interactable = false;
_this.custom += 1;
if (_this.custom >= 7) {
if (_this.custom >= 8) {
_this.node.getChildByName("againBtn").active = true;
_this.node.getChildByName("startBtn").active = true;
_this.Btn_Hear.active = false;
_this.Btn_New.active = false;
_this.Btn_See.active = false;
_this.Btn_Firewood.active = false;
}
else
_this.nextLevel();
@ -251,12 +291,15 @@ var GuideManager = /** @class */ (function (_super) {
tipTemp = '上次遇到葡萄时,似乎不是听到的吧';
break;
case 3:
tipTemp = "这是这局游戏第一次出现木柴";
break;
case 4:
if (this.choice == 3)
tipTemp = '上次遇到桃子时,似乎不是看到的吧';
else
tipTemp = '桃子刚才出现过呢';
break;
case 4:
case 5:
if (this.choice == 3)
tipTemp = '之前确实看到过葡萄,但最近一次似乎不是看到的呢';
break;
@ -304,6 +347,9 @@ var GuideManager = /** @class */ (function (_super) {
__decorate([
property(cc.Node)
], GuideManager.prototype, "Btn_See", void 0);
__decorate([
property(cc.Node)
], GuideManager.prototype, "Btn_Firewood", void 0);
__decorate([
property(cc.Node)
], GuideManager.prototype, "Plant", void 0);

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,28 @@
{
"__type__": "cc.SpriteFrame",
"content": {
"name": "labelBg",
"texture": "4fb7b659-6b73-4357-bfec-854837d7ff67",
"atlas": "",
"rect": [
0,
0,
713,
324
],
"offset": [
0,
0
],
"originalSize": [
713,
324
],
"capInsets": [
60,
20,
60,
20
]
}
}

File diff suppressed because it is too large Load Diff

View File

@ -5,10 +5,10 @@
"main": true,
"url": "app://editor/index.html",
"windowType": "dockable",
"x": 0,
"y": 0,
"width": 1280,
"height": 672,
"x": -8,
"y": -8,
"width": 1296,
"height": 688,
"layout": {
"type": "dock-h",
"children": [
@ -19,7 +19,7 @@
"children": [
{
"width": 255,
"height": 292.16668701171875,
"height": 292.22918701171875,
"type": "panel",
"active": 0,
"children": [
@ -28,7 +28,7 @@
},
{
"width": 255,
"height": 261.15625,
"height": 261.09375,
"type": "panel",
"active": 0,
"children": [
@ -38,7 +38,7 @@
]
},
{
"width": 624,
"width": 629,
"height": 556.3333740234375,
"type": "panel",
"active": 0,
@ -47,7 +47,7 @@
]
},
{
"width": 381,
"width": 376,
"height": 556.3333740234375,
"type": "panel",
"active": 0,
@ -66,8 +66,7 @@
"cocos-services"
]
},
" common-asset-worker-worker": {},
"window-1722492819970": {}
" common-asset-worker-worker": {}
},
"panels": {
"builder": {
@ -107,7 +106,7 @@
"height": 538
},
"mini_font": {
"x": 382,
"x": 374,
"y": 0,
"width": 516,
"height": 672

View File

@ -1,5 +1,5 @@
{
"last-edit": "9c08062d-4cf1-4b6e-a8ba-4a3881cc7e7d",
"last-edit": "1d6bc13a-95e8-41e2-8703-441263ec00bb",
"recent-items": [
"40ba7e70-1826-4aa1-92f3-aa63ae39294b",
"32254f37-ac95-4912-a787-b8e0429ba0f1",
@ -10,11 +10,11 @@
"774829bb-123e-48b6-930e-6b3e02491506",
"badb56f7-1c07-4fbb-87e6-5bfd805fe81b",
"0cfcd0fc-314e-4c60-8997-a1c1b95599bc",
"1d6bc13a-95e8-41e2-8703-441263ec00bb",
"4eaf518b-35ec-4262-928d-4d497c3f2830",
"2d2f792f-a40c-49bb-a189-ed176a246e49",
"a264c8df-80f6-474f-9fe5-28b7ae529d95",
"4b9c5a7e-c645-48a4-9aca-5df381ce4ef5",
"9c08062d-4cf1-4b6e-a8ba-4a3881cc7e7d"
"4eaf518b-35ec-4262-928d-4d497c3f2830",
"9c08062d-4cf1-4b6e-a8ba-4a3881cc7e7d",
"1d6bc13a-95e8-41e2-8703-441263ec00bb"
]
}

View File

@ -241,29 +241,31 @@
"2eH25neF1OPpiUrRs0iclr",
"77Sz5BJUNPuKegHwLRTEgB",
"90VKWL28VHGI+9G/Lyjx7J",
"8couZL4/FBFKM+JgUeuasH",
"eaMjyWG49J6ZlTWxk+SGka",
"60FBLrGapL3ZNvOocVmLmq",
"f2jYVTr2JG+Y8YU6GVLu6Q",
"f3FczQgmBEKYMOG0HFiikL",
"ddGBD4OnREPJIXFn4CseMp",
"29v/tk/KNLMJ2fU/34y2az",
"6bsIvUFUJLAYN2SirToqDt",
"d4/hA8N+FI0KcZjNQ1RrNS",
"09m8QMoFRFDqRDSNnesXNu",
"e5yAZJu+ROpL81xp1CIKMj",
"8fvfWDa09MYYcHQ4OIBxKu",
"b0mmOMONJJvoRDWLYc61sd",
"8b7qI3tpdIOpM8Dkqyts5Q",
"fb2IxHCVJB1pNjBteXpqeG",
"5fanACpyFCUo0UbqRf7tLn",
"1dH+troCBMIbpbgd3McLPt",
"dcgQGtJrNFSYN55RWmFdRC",
"e8S/Fw5hVDcZEIoedcUoA5",
"12VNTtvqlNKpsp4ieOSc76",
"5a+WTpsZ5GtZFgHGCiqy6C",
"55FH2q1HJAyK0hrjxGH/+q",
"6e23Z/yUFNubl4VhXw5FYi",
"8cHLW+leJPrYWJz1oiW3Dv"
"8cHLW+leJPrYWJz1oiW3Dv",
"8couZL4/FBFKM+JgUeuasH",
"eaMjyWG49J6ZlTWxk+SGka",
"60FBLrGapL3ZNvOocVmLmq",
"9eIdQnGcxCEqicDOS7Qg4y",
"8b7qI3tpdIOpM8Dkqyts5Q",
"1dH+troCBMIbpbgd3McLPt",
"8fvfWDa09MYYcHQ4OIBxKu",
"b0mmOMONJJvoRDWLYc61sd",
"fb2IxHCVJB1pNjBteXpqeG",
"e5yAZJu+ROpL81xp1CIKMj",
"09m8QMoFRFDqRDSNnesXNu",
"d4/hA8N+FI0KcZjNQ1RrNS",
"29v/tk/KNLMJ2fU/34y2az",
"5fanACpyFCUo0UbqRf7tLn",
"32cL83sWpL0Lze4W/zYsyF",
"8fkOKPwsVKe57ro9Nkm2HD"
]
}

View File

@ -1 +1 @@
{"input_path":"C:\\Work\\下载\\SourceHanSerifSC-Heavy.ttf","out_path":"C:\\Work\\下载\\新建文件夹 (3)","text_content":" 此脚本由自动生成仅用于兼容版的工程你无需在任何其它项目中手添加如果没到可直接删除该有托管等库请将一并上传代码修改时是否触发与事件移速度间参数位个固定状态地测试勾选避免和报错提交前掉客户端展示标记方便区分线初始化据准确率完排行榜关卡秒答对总打开重新玩主游戏控制类点击每次倒计结束当名字信息择第几按钮存放大局所植物图片声音配置根全面屏做独立适创建埋设转圈以火器处理逻辑之先判断正把出现品入组题获取反应进下误过只为三检查频再盘里算防止溢轮首返回页或者决戳胜失败调法操作步年万跳至引导备来指头像最人换画列表己能不内量口实际比较多公共了基础网络型台系统文享默认群邀好友日常复活奖励翻倍宝箱领球赛元红包金币桌高连破产哪儿给微储消级语照骤神农氏家整今天收集他拿说种告诉这看听则刚才呢遇似乎吧但近暂视播源流广干预及显登录功授权都通盛后清空合截未从依案含义相同式毫使套稱種類柴平均箭随机子访问域具体涉场景切要保留负单废","text_content2":"此脚本由自动生成仅用于兼容版的工程你无需在任何其它项目中手添加如果没到可直接删除该有托管等库请将一并上传代码修改时是否触发与事件移速度间参数位个固定状态地测试勾选避免和报错提交前掉客户端展示标记方便区分线初始化据准确率完排行榜关卡秒答对总打开重新玩主游戏控制类点击每次倒计结束当名字信息择第几按钮存放大局所植物图片声音配置根全面屏做独立适创建埋设转圈以火器处理逻辑之先判断正把出现品入组题获取反应进下误过只为三检查频再盘里算防止溢轮首返回页或者决戳胜失败调法操作步年万跳至引导备来指头像最人换画列表己能不内量口实际比较多公共了基础网络型台系统文享默认群邀好友日常复活奖励翻倍宝箱领球赛元红包金币桌高连破产儿给微储消级语照骤神农氏家整今天收集他拿说告诉这看听刚才呢遇似乎吧但近暂播源流广干预显登录授权都通盛后清空合截未从依案含义相同式毫使套稱種類柴平均箭随机子访问域具体涉场景切要保留负单废弃索变输值责互响拦密向明情况跟持致解验证象键序滤然询符串装签求址拼知背乐小效停警各零缓循环范围长带二短那葡萄白芍荆芥丹归枸杞牡木兰蒲英茉莉桔枣李荔枝桃姜竹叶龙眼赤豆甘草茶格得剩余浏览拉起水垂布而属即板隔距左右滚例宽离心超会被般因还刷函遍偏虚拟末尾底隐藏锚居顶部穷滑边界必须坐增替销毁池","switch_number":true,"switch_lowercase_letters":true,"switch_capital_letters":true,"switch_symbol_letters":true,"switch_find_ts":true,"switch_find_js":true,"switch_find_json":true}
{"input_path":"C:\\Work\\下载\\SourceHanSerifSC-Heavy.ttf","out_path":"C:\\Work\\字体\\新建文件夹","text_content":"%0:123456789。排行距离洪峰到来总时间图纸息壤加固清空撤回点击屏幕继续这里是一局游戏的总时间\n倒计时结束后本局自动结束这里是每轮的时间洪峰来临\n前没有开始修建就会失败哦你的目标是将洪水从\n源头引入入海口点击方向键来规划\n修建的方向修建到山峰上会导致\n直接失败避开它吧再向右避开上面的山峰吧记录下的路线会显示在图纸里这里可以清空图纸或是\n返回上一步遇到湿地时需要先加固\n地面才可以通过点击这里进行加固加固也会显示在图纸中加固后就可以正常\n通过了使用大禹的宝物\"息壤\",堤坝便会\n自动向选的的方向自动生长除非\n下一个是山峰或边界息壤还会把\n经过的湿地变成平原无需加固\n使用息壤后选中方向\n息壤即可生效息壤遇到入海口时也会自动停下\n快试试吧使用息壤后向下引入入海口开始修建堤坝来引导\n洪水吧准确率%用户昵称治水得分超过了的人","text_content2":"此脚本由自动生成仅用于兼容版的工程你无需在任何其它项目中手添加如果没到可直接删除该有托管等库请将一并上传代码修改时是否触发与事件移速度间参数位个固定状态初始化据展示准确率完排行榜关卡秒答对总打开重新玩主游戏控制类点击当前名字信息第步植物按钮掉计器处理逻辑之先正火葡萄刚才出现过呢这局次桃子遇似乎不听吧木柴看实但最近每倒结束选择几存放大所图片声音配置地根全面屏做独立适方创建埋设转圈以判断把品入组获取反应题进下错误只为三检查频再盘里险算防止溢轮首返回页或者决戳胜失败调法操作测试勾避免和报提交客户端标记便区线跳至引导备来指头像人换画列表己能内量口际比较多公共了都通盛后清空型合家截未从依案含义相同式毫%0:123456789。排行距离洪峰到来总时间图纸息壤加固清空撤回点击屏幕继续这里是一局游戏的总时间\n倒计时结束后本局自动结束这里是每轮的时间洪峰来临\n前没有开始修建就会失败哦你的目标是将洪水从\n源头引入入海口点击方向键来规划\n修建的方向修建到山峰上会导致\n直接失败避开它吧再向右避开上面的山峰吧记录下的路线会显示在图纸里这里可以清空图纸或是\n返回上一步遇到湿地时需要先加固\n地面才可以通过点击这里进行加固加固也会显示在图纸中加固后就可以正常\n通过了使用大禹的宝物\"息壤\",堤坝便会\n自动向选的的方向自动生长除非\n下一个是山峰或边界息壤还会把\n经过的湿地变成平原无需加固\n使用息壤后选中方向\n息壤即可生效息壤遇到入海口时也会自动停下\n快试试吧使用息壤后向下引入入海口开始修建堤坝来引导\n洪水吧准确率%用户昵称治水得分超过了的人播使哪套功稱種類平均箭随机种访问域具体整涉及场景切要保留负单废弃暂源责网络互享链址密象拼符串响拦向明值情况跟持致解验证键序滤然询装签求统基础台系文默认群邀好友日常复活奖励翻倍宝箱领球赛元红包金币桌高连破产儿给微储消级语照骤神农氏今天收集他拿说告诉则视流广干预显登录授权索变输知见附忆力评灵性注意吗描述路径必须众号安朋背乐监浏览退小效停警水垂布而属即板隔距左右滚例宽离心超会被般因范围得还刷函遍各起虚拟末尾底隐藏锚居顶部穷滑边界坐增替销毁池零缓循环带二短那白芍荆芥丹归枸杞牡兰蒲英茉莉桔枣李荔枝姜竹叶龙眼赤豆甘草茶剩拉","switch_number":true,"switch_lowercase_letters":true,"switch_capital_letters":true,"switch_symbol_letters":true,"switch_find_ts":true,"switch_find_js":true,"switch_find_json":true}

View File

@ -16,7 +16,6 @@
"Physics",
"ParticleSystem",
"RichText",
"Spine Skeleton",
"StudioComponent",
"TiledMap",
"VideoPlayer",

File diff suppressed because it is too large Load Diff

View File

@ -1275,7 +1275,7 @@
"__id__": 4
},
"_enabled": true,
"localTest": false,
"localTest": true,
"clientTestVersion": "1.2.4",
"testVersion": {
"__id__": 21

View File

@ -1 +1 @@
{"version":"1.0.8","stats":{"C:/Work/Project/Shennong/temp/quick-scripts/src/__qc_index__.js":"2024-08-01T06:13:29.284Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/GameOver.js":"2024-08-01T06:13:29.240Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/migration/use_v2.1-2.2.1_cc.Toggle_event.js":"2024-08-01T06:13:29.240Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/module/Config/GameConfig.js":"2024-08-01T06:13:29.243Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/GameManager.js":"2024-08-01T06:13:29.242Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/Block.js":"2024-08-01T06:13:29.248Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/GameScene.js":"2024-08-01T06:13:29.251Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/RankManager.js":"2024-08-01T06:13:29.250Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/module/Storage/Storage.js":"2024-08-01T06:13:29.226Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/Load.js":"2024-08-01T06:13:29.229Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/GuideManager.js":"2024-08-01T06:13:29.252Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/DynamicAtlasManager.js":"2024-08-01T06:13:29.232Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/module/Tool/GameTool.js":"2024-08-01T06:13:29.228Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/module/Crypto/HttpUtil.js":"2024-08-01T06:13:29.239Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/module/Music/AudioManager.js":"2024-08-01T06:13:29.231Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/module/RankList/List.js":"2024-08-01T06:13:29.246Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/module/GameStart/GameAppStart.js":"2024-08-01T06:13:29.236Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/module/Share/share.js":"2024-08-01T06:13:29.237Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/module/Notification/Notification.js":"2024-08-01T06:13:29.230Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/module/RankList/ItemRender.js":"2024-08-01T06:13:29.244Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/module/Crypto/crypto-js.min.js":"2024-08-01T06:13:29.249Z"}}
{"version":"1.0.8","stats":{"C:/Work/Project/Shennong/temp/quick-scripts/src/__qc_index__.js":"2024-08-06T09:20:40.102Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/GameOver.js":"2024-08-06T09:20:40.045Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/migration/use_v2.1-2.2.1_cc.Toggle_event.js":"2024-08-06T09:20:40.043Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/DynamicAtlasManager.js":"2024-08-06T09:20:40.034Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/Load.js":"2024-08-06T09:20:40.028Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/GameScene.js":"2024-08-06T09:20:40.061Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/Block.js":"2024-08-06T09:20:40.054Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/GameManager.js":"2024-08-06T09:20:40.046Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/RankManager.js":"2024-08-06T09:20:40.058Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/GuideManager.js":"2024-08-06T09:20:40.063Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/module/Crypto/HttpUtil.js":"2024-08-06T09:20:40.040Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/module/RankList/ItemRender.js":"2024-08-06T09:20:40.051Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/module/GameStart/GameAppStart.js":"2024-08-06T09:20:40.036Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/module/Music/AudioManager.js":"2024-08-06T09:20:40.033Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/module/Storage/Storage.js":"2024-08-06T09:20:40.024Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/module/Notification/Notification.js":"2024-08-06T09:20:40.030Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/module/Tool/GameTool.js":"2024-08-06T09:20:40.026Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/module/Share/share.js":"2024-08-06T09:20:40.039Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/module/RankList/List.js":"2024-08-06T09:20:40.053Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/module/Config/GameConfig.js":"2024-08-06T09:20:40.049Z","C:/Work/Project/Shennong/temp/quick-scripts/src/assets/Script/module/Crypto/crypto-js.min.js":"2024-08-06T09:20:40.056Z"}}

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
(function () {
var scripts = [{"deps":{"./assets/Script/GameOver":1,"./assets/migration/use_v2.1-2.2.1_cc.Toggle_event":2,"./assets/Script/module/Config/GameConfig":3,"./assets/Script/GameManager":4,"./assets/Script/Block":5,"./assets/Script/GameScene":6,"./assets/Script/RankManager":7,"./assets/Script/module/Storage/Storage":8,"./assets/Script/Load":9,"./assets/Script/GuideManager":10,"./assets/Script/DynamicAtlasManager":11,"./assets/Script/module/Tool/GameTool":12,"./assets/Script/module/Crypto/HttpUtil":13,"./assets/Script/module/Music/AudioManager":14,"./assets/Script/module/RankList/List":15,"./assets/Script/module/GameStart/GameAppStart":16,"./assets/Script/module/Share/share":17,"./assets/Script/module/Notification/Notification":18,"./assets/Script/module/RankList/ItemRender":19,"./assets/Script/module/Crypto/crypto-js.min":20},"path":"preview-scripts/__qc_index__.js"},{"deps":{},"path":"preview-scripts/assets/Script/GameOver.js"},{"deps":{},"path":"preview-scripts/assets/migration/use_v2.1-2.2.1_cc.Toggle_event.js"},{"deps":{},"path":"preview-scripts/assets/Script/module/Config/GameConfig.js"},{"deps":{},"path":"preview-scripts/assets/Script/GameManager.js"},{"deps":{},"path":"preview-scripts/assets/Script/Block.js"},{"deps":{},"path":"preview-scripts/assets/Script/GameScene.js"},{"deps":{"./module/RankList/List":15},"path":"preview-scripts/assets/Script/RankManager.js"},{"deps":{},"path":"preview-scripts/assets/Script/module/Storage/Storage.js"},{"deps":{"./module/Share/share":17},"path":"preview-scripts/assets/Script/Load.js"},{"deps":{},"path":"preview-scripts/assets/Script/GuideManager.js"},{"deps":{},"path":"preview-scripts/assets/Script/DynamicAtlasManager.js"},{"deps":{},"path":"preview-scripts/assets/Script/module/Tool/GameTool.js"},{"deps":{"./crypto-js.min.js":20},"path":"preview-scripts/assets/Script/module/Crypto/HttpUtil.js"},{"deps":{},"path":"preview-scripts/assets/Script/module/Music/AudioManager.js"},{"deps":{"./ItemRender":19},"path":"preview-scripts/assets/Script/module/RankList/List.js"},{"deps":{"../Config/GameConfig":3,"../Crypto/HttpUtil":13,"../Music/AudioManager":14,"../Notification/Notification":18,"../Storage/Storage":8,"../Tool/GameTool":12},"path":"preview-scripts/assets/Script/module/GameStart/GameAppStart.js"},{"deps":{},"path":"preview-scripts/assets/Script/module/Share/share.js"},{"deps":{},"path":"preview-scripts/assets/Script/module/Notification/Notification.js"},{"deps":{},"path":"preview-scripts/assets/Script/module/RankList/ItemRender.js"},{"deps":{},"path":"preview-scripts/assets/Script/module/Crypto/crypto-js.min.js"}];
var scripts = [{"deps":{"./assets/Script/GameOver":1,"./assets/migration/use_v2.1-2.2.1_cc.Toggle_event":2,"./assets/Script/DynamicAtlasManager":3,"./assets/Script/Load":4,"./assets/Script/GameScene":5,"./assets/Script/Block":6,"./assets/Script/GameManager":7,"./assets/Script/RankManager":8,"./assets/Script/GuideManager":9,"./assets/Script/module/Crypto/HttpUtil":10,"./assets/Script/module/RankList/ItemRender":11,"./assets/Script/module/GameStart/GameAppStart":12,"./assets/Script/module/Music/AudioManager":13,"./assets/Script/module/Storage/Storage":14,"./assets/Script/module/Notification/Notification":15,"./assets/Script/module/Tool/GameTool":16,"./assets/Script/module/Share/share":17,"./assets/Script/module/RankList/List":18,"./assets/Script/module/Config/GameConfig":19,"./assets/Script/module/Crypto/crypto-js.min":20},"path":"preview-scripts/__qc_index__.js"},{"deps":{},"path":"preview-scripts/assets/Script/GameOver.js"},{"deps":{},"path":"preview-scripts/assets/migration/use_v2.1-2.2.1_cc.Toggle_event.js"},{"deps":{},"path":"preview-scripts/assets/Script/DynamicAtlasManager.js"},{"deps":{"./module/Share/share":17},"path":"preview-scripts/assets/Script/Load.js"},{"deps":{},"path":"preview-scripts/assets/Script/GameScene.js"},{"deps":{},"path":"preview-scripts/assets/Script/Block.js"},{"deps":{},"path":"preview-scripts/assets/Script/GameManager.js"},{"deps":{"./module/RankList/List":18},"path":"preview-scripts/assets/Script/RankManager.js"},{"deps":{},"path":"preview-scripts/assets/Script/GuideManager.js"},{"deps":{"./crypto-js.min.js":20},"path":"preview-scripts/assets/Script/module/Crypto/HttpUtil.js"},{"deps":{},"path":"preview-scripts/assets/Script/module/RankList/ItemRender.js"},{"deps":{"../Config/GameConfig":19,"../Crypto/HttpUtil":10,"../Music/AudioManager":13,"../Notification/Notification":15,"../Storage/Storage":14,"../Tool/GameTool":16},"path":"preview-scripts/assets/Script/module/GameStart/GameAppStart.js"},{"deps":{},"path":"preview-scripts/assets/Script/module/Music/AudioManager.js"},{"deps":{},"path":"preview-scripts/assets/Script/module/Storage/Storage.js"},{"deps":{},"path":"preview-scripts/assets/Script/module/Notification/Notification.js"},{"deps":{},"path":"preview-scripts/assets/Script/module/Tool/GameTool.js"},{"deps":{},"path":"preview-scripts/assets/Script/module/Share/share.js"},{"deps":{"./ItemRender":11},"path":"preview-scripts/assets/Script/module/RankList/List.js"},{"deps":{},"path":"preview-scripts/assets/Script/module/Config/GameConfig.js"},{"deps":{},"path":"preview-scripts/assets/Script/module/Crypto/crypto-js.min.js"}];
var entries = ["preview-scripts/__qc_index__.js"];
var bundleScript = 'preview-scripts/__qc_bundle__.js';

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -46,18 +46,11 @@ var NewClass = /** @class */ (function (_super) {
return _this;
}
NewClass.prototype.start = function () {
cc.debug.setDisplayStats(false);
window.initMgr();
share_1.WeChat.setShare(location.href);
cc.fx.GameConfig.init(this.localTest);
this.testVersion.string = this.clientTestVersion;
//24年 25年9万 27年
// setTimeout(() => {
// for(let i=0; i<10;i++){
// let num = cc.fx.GameTool.getSeedRandom(1,10);
// console.log(num);
// }
// }, 100);
//
};
NewClass.prototype.setRank = function () {
var data = {
@ -113,4 +106,4 @@ cc._RF.pop();
});
}
})();
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFzc2V0c1xcU2NyaXB0XFxMb2FkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLDhDQUE4Qzt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LFxyXG4gICAgICAgICAgICBcImFjY3VyYWN5XCI6IDgwLFxyXG4gICAgICAgIH1cclxuICAgICAgICBjYy5meC5HYW1lVG9vbC5zZXRSYW5rKGRhdGEpO1xyXG4gICAgfVxyXG5cclxuICAgIC8v5byA5aeL5ri45oiP77yM6Lez6L2s6Iez5byV5a+86aG16Z2iXHJcbiAgICBzdGFydEdhbWUoKXtcclxuICBcclxuICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHtcclxuICAgICAgICAgICAgY2MuZGlyZWN0b3IubG9hZFNjZW5lKFwiR3VpZGVTY2VuZVwiKTtcclxuICAgICAgICB9LCAxMDApO1xyXG4gICAgICAgIC8vIGNjLmRpcmVjdG9yLmxvYWRTY2VuZShcIkd1aWRlU2NlbmVcIik7XHJcbiAgICB9XHJcbiAgICAvL+Wkh+eUqO+8jOeUqOadpea1i+ivlei3s+i9rCDmjIflrprlhbPljaFcclxuICAgIGNsaWNrQnRuKGV2ZW50LGRhdGEpe1xyXG4gICAgICAgIC8vIGNjLmZ4LkdhbWVDb25maWcuR01fSU5GTy5jdXN0b20gPSBwYXJzZUludChkYXRhKTtcclxuICAgICAgICBjYy5kaXJlY3Rvci5sb2FkU2NlbmUoXCJHYW1lU2NlbmVcIik7XHJcbiAgICB9ICAgXHJcbiAgICAvL+aJk+W8gOaOkuihjOamnFxyXG4gICAgb3BlblJhbmsoKXtcclxuICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHtcclxuICAgICAgICAgICAgY2MuZGlyZWN0b3IubG9hZFNjZW5lKFwiUmFua1NjZW5lXCIpO1xyXG4gICAgICAgIH0sIDEwMCk7XHJcbiAgICB9XHJcbiAgICBcclxuICAgIHByb3RlY3RlZCB1cGRhdGUoZHQ6IG51bWJlcik6IHZvaWQge1xyXG4gICAgfVxyXG59XHJcbiJdfQ==
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFzc2V0c1xcU2NyaXB0XFxMb2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ID0+IHtcclxuICAgICAgICAgICAgY2MuZGlyZWN0b3IubG9hZFNjZW5lKFwiR3VpZGVTY2VuZVwiKTtcclxuICAgICAgICB9LCAxMDApO1xyXG4gICAgICAgIC8vIGNjLmRpcmVjdG9yLmxvYWRTY2VuZShcIkd1aWRlU2NlbmVcIik7XHJcbiAgICB9XHJcbiAgICAvL+Wkh+eUqO+8jOeUqOadpea1i+ivlei3s+i9rCDmjIflrprlhbPljaFcclxuICAgIGNsaWNrQnRuKGV2ZW50LGRhdGEpe1xyXG4gICAgICAgIC8vIGNjLmZ4LkdhbWVDb25maWcuR01fSU5GTy5jdXN0b20gPSBwYXJzZUludChkYXRhKTtcclxuICAgICAgICBjYy5kaXJlY3Rvci5sb2FkU2NlbmUoXCJHYW1lU2NlbmVcIik7XHJcbiAgICB9ICAgXHJcbiAgICAvL+aJk+W8gOaOkuihjOamnFxyXG4gICAgb3BlblJhbmsoKXtcclxuICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHtcclxuICAgICAgICAgICAgY2MuZGlyZWN0b3IubG9hZFNjZW5lKFwiUmFua1NjZW5lXCIpO1xyXG4gICAgICAgIH0sIDEwMCk7XHJcbiAgICB9XHJcbiAgICBcclxuICAgIHByb3RlY3RlZCB1cGRhdGUoZHQ6IG51bWJlcik6IHZvaWQge1xyXG4gICAgfVxyXG59XHJcbiJdfQ==

View File

@ -45,6 +45,9 @@ var GameManager = /** @class */ (function (_super) {
};
GameManager.prototype.start = function () {
};
//处理地图
GameManager.prototype.setMap = function () {
};
//初始化数据
GameManager.prototype.init = function () {
this.touchable = false;
@ -214,8 +217,9 @@ var GameManager = /** @class */ (function (_super) {
}, 1050);
console.log("正确点火");
}
else if (this.customData.flamable == 1) {
console.log("错误点火");
else if (this.customData) {
if (this.customData.flamable == 1)
console.log("错误点火");
// console.log("正确点火");
}
};

File diff suppressed because one or more lines are too long

View File

@ -34,6 +34,7 @@ var GuideManager = /** @class */ (function (_super) {
_this.Btn_New = null;
_this.Btn_Hear = null;
_this.Btn_See = null;
_this.Btn_Firewood = null;
_this.Plant = null;
return _this;
}
@ -41,6 +42,14 @@ var GuideManager = /** @class */ (function (_super) {
this.custom = 0;
};
GuideManager.prototype.start = function () {
this.fit();
};
GuideManager.prototype.fit = function () {
var jg = cc.fx.GameTool.setFit();
if (!jg) {
this.Btn_Firewood.y = -600;
}
this.Btn_Firewood.getComponent(cc.Button).interactable = true;
};
//初始化数据
GuideManager.prototype.init = function () {
@ -73,6 +82,11 @@ var GuideManager = /** @class */ (function (_super) {
"type": 2,
"right": 3,
},
{
"item": "muchai",
"type": 1,
"right": 1,
},
{
"item": "taozi",
"type": 1,
@ -144,9 +158,15 @@ var GuideManager = /** @class */ (function (_super) {
this.Btn_Hear.active = true;
this.Btn_New.active = true;
this.Btn_See.active = true;
this.Btn_Firewood.active = true;
this.Btn_Hear.getChildByName("nomal").getComponent(cc.Button).interactable = false;
this.Btn_New.getChildByName("nomal").getComponent(cc.Button).interactable = false;
this.Btn_See.getChildByName("nomal").getComponent(cc.Button).interactable = false;
if (this.custom == 5) {
this.node.getChildByName("muchai").active = true;
this.node.getChildByName("hand").active = true;
}
this.Btn_Firewood.getComponent(cc.Button).interactable = false;
var name = this.customData[this.custom - 2].item;
if (this.customData[this.custom - 2].type == 1) {
this.Plant.getChildByName("name").getComponent(cc.Label).string = cc.fx.GameTool.getFoodName(name);
@ -159,6 +179,9 @@ var GuideManager = /** @class */ (function (_super) {
_this.Btn_Hear.getChildByName("nomal").getComponent(cc.Button).interactable = true;
_this.Btn_New.getChildByName("nomal").getComponent(cc.Button).interactable = true;
_this.Btn_See.getChildByName("nomal").getComponent(cc.Button).interactable = true;
if (_this.custom == 5) {
_this.Btn_Firewood.getComponent(cc.Button).interactable = true;
}
})
.start();
}
@ -196,6 +219,21 @@ var GuideManager = /** @class */ (function (_super) {
this.choice = 3;
this.Btn_See.getChildByName("nomal").getComponent(cc.Button).interactable = false;
}
else if (data == "Btn_Firewood") {
this.Btn_Firewood.getChildByName("fireBg").active = true;
this.Btn_Firewood.getChildByName("fire").active = true;
setTimeout(function () {
if (_this.Btn_Firewood) {
_this.Btn_Firewood.getChildByName("fireBg").active = false;
_this.Btn_Firewood.getChildByName("fire").active = false;
}
}, 1050);
console.log("正确点火");
this.Btn_Firewood.getComponent(cc.Button).interactable = false;
this.node.getChildByName("muchai").active = false;
this.node.getChildByName("hand").active = false;
return;
}
var target = this[data];
var label = this.Tip.getChildByName("content").getComponent(cc.Label);
//正确
@ -206,6 +244,7 @@ var GuideManager = /** @class */ (function (_super) {
this.Btn_New.getChildByName("nomal").getComponent(cc.Button).interactable = false;
this.Btn_Hear.getChildByName("nomal").getComponent(cc.Button).interactable = false;
this.Btn_See.getChildByName("nomal").getComponent(cc.Button).interactable = false;
this.Btn_Firewood.getComponent(cc.Button).interactable = false;
target.getChildByName("err").active = false;
target.getChildByName("correct").active = true;
setTimeout(function () {
@ -222,12 +261,13 @@ var GuideManager = /** @class */ (function (_super) {
_this.Btn_New.getChildByName("nomal").getComponent(cc.Button).interactable = false;
_this.Btn_See.getChildByName("nomal").getComponent(cc.Button).interactable = false;
_this.custom += 1;
if (_this.custom >= 7) {
if (_this.custom >= 8) {
_this.node.getChildByName("againBtn").active = true;
_this.node.getChildByName("startBtn").active = true;
_this.Btn_Hear.active = false;
_this.Btn_New.active = false;
_this.Btn_See.active = false;
_this.Btn_Firewood.active = false;
}
else
_this.nextLevel();
@ -251,12 +291,15 @@ var GuideManager = /** @class */ (function (_super) {
tipTemp = '上次遇到葡萄时,似乎不是听到的吧';
break;
case 3:
tipTemp = "这是这局游戏第一次出现木柴";
break;
case 4:
if (this.choice == 3)
tipTemp = '上次遇到桃子时,似乎不是看到的吧';
else
tipTemp = '桃子刚才出现过呢';
break;
case 4:
case 5:
if (this.choice == 3)
tipTemp = '之前确实看到过葡萄,但最近一次似乎不是看到的呢';
break;
@ -304,6 +347,9 @@ var GuideManager = /** @class */ (function (_super) {
__decorate([
property(cc.Node)
], GuideManager.prototype, "Btn_See", void 0);
__decorate([
property(cc.Node)
], GuideManager.prototype, "Btn_Firewood", void 0);
__decorate([
property(cc.Node)
], GuideManager.prototype, "Plant", void 0);

File diff suppressed because one or more lines are too long

View File

@ -35,18 +35,11 @@ var NewClass = /** @class */ (function (_super) {
return _this;
}
NewClass.prototype.start = function () {
cc.debug.setDisplayStats(false);
window.initMgr();
share_1.WeChat.setShare(location.href);
cc.fx.GameConfig.init(this.localTest);
this.testVersion.string = this.clientTestVersion;
//24年 25年9万 27年
// setTimeout(() => {
// for(let i=0; i<10;i++){
// let num = cc.fx.GameTool.getSeedRandom(1,10);
// console.log(num);
// }
// }, 100);
//
};
NewClass.prototype.setRank = function () {
var data = {

View File

@ -1 +1 @@
{"version":3,"sources":["assets\\Script\\Load.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAA8C;AAExC,IAAA,KAAwC,EAAE,CAAC,UAAU,EAApD,OAAO,aAAA,EAAE,QAAQ,cAAA,EAAE,gBAAgB,sBAAiB,CAAC;AAG5D;IAAsC,4BAAY;IAAlD;QAAA,qEA0DC;QAvDG,eAAS,GAAY,KAAK,CAAC;QAG3B,uBAAiB,GAAW,OAAO,CAAC;QAGpC,iBAAW,GAAa,IAAI,CAAC;;IAiDjC,CAAC;IA/CG,wBAAK,GAAL;QACI,MAAM,CAAC,OAAO,EAAE,CAAC;QACjB,cAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAC/B,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACtC,IAAI,CAAC,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC,iBAAiB,CAAC;QAEjD,iBAAiB;QACjB,qBAAqB;QACrB,8BAA8B;QAC9B,wDAAwD;QACxD,4BAA4B;QAC5B,QAAQ;QACR,WAAW;QACX,GAAG;IAEP,CAAC;IAED,0BAAO,GAAP;QACI,IAAI,IAAI,GAAG;YACP,YAAY,EAAE,IAAI;YAClB,UAAU,EAAE,EAAE;SACjB,CAAA;QACD,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjC,CAAC;IAED,cAAc;IACd,4BAAS,GAAT;QAEI,UAAU,CAAC;YACP,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;QACxC,CAAC,EAAE,GAAG,CAAC,CAAC;QACR,uCAAuC;IAC3C,CAAC;IACD,gBAAgB;IAChB,2BAAQ,GAAR,UAAS,KAAK,EAAC,IAAI;QACf,oDAAoD;QACpD,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IACvC,CAAC;IACD,OAAO;IACP,2BAAQ,GAAR;QACI,UAAU,CAAC;YACP,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;QACvC,CAAC,EAAE,GAAG,CAAC,CAAC;IACZ,CAAC;IAES,yBAAM,GAAhB,UAAiB,EAAU;IAC3B,CAAC;IAtDD;QADC,QAAQ,CAAC,KAAK,CAAC;+CACW;IAG3B;QADC,QAAQ,CAAC,EAAE,CAAC;uDACuB;IAGpC;QADC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC;iDACU;IATZ,QAAQ;QAD5B,OAAO;OACa,QAAQ,CA0D5B;IAAD,eAAC;CA1DD,AA0DC,CA1DqC,EAAE,CAAC,SAAS,GA0DjD;kBA1DoB,QAAQ","file":"","sourceRoot":"/","sourcesContent":["import { WeChat } from \"./module/Share/share\";\r\n\r\nconst {ccclass, property, requireComponent} = cc._decorator;\r\n\r\n@ccclass\r\nexport default class NewClass extends cc.Component {\r\n\r\n @property(false)\r\n localTest: boolean = false;\r\n\r\n @property(\"\")\r\n clientTestVersion: string = \"1.0.0\";\r\n\r\n @property(cc.Label)\r\n testVersion: cc.Label = null;\r\n\r\n start () {\r\n window.initMgr();\r\n WeChat.setShare(location.href);\r\n cc.fx.GameConfig.init(this.localTest);\r\n this.testVersion.string = this.clientTestVersion;\r\n\r\n //24年 25年9万 27年\r\n // setTimeout(() => {\r\n // for(let i=0; i<10;i++){\r\n // let num = cc.fx.GameTool.getSeedRandom(1,10);\r\n // console.log(num);\r\n // }\r\n // }, 100);\r\n // \r\n \r\n }\r\n\r\n setRank(){\r\n let data = {\r\n \"totleTimes\": 8759,\r\n \"accuracy\": 80,\r\n }\r\n cc.fx.GameTool.setRank(data);\r\n }\r\n\r\n //开始游戏,跳转至引导页面\r\n startGame(){\r\n \r\n setTimeout(() => {\r\n cc.director.loadScene(\"GuideScene\");\r\n }, 100);\r\n // cc.director.loadScene(\"GuideScene\");\r\n }\r\n //备用,用来测试跳转 指定关卡\r\n clickBtn(event,data){\r\n // cc.fx.GameConfig.GM_INFO.custom = parseInt(data);\r\n cc.director.loadScene(\"GameScene\");\r\n } \r\n //打开排行榜\r\n openRank(){\r\n setTimeout(() => {\r\n cc.director.loadScene(\"RankScene\");\r\n }, 100);\r\n }\r\n \r\n protected update(dt: number): void {\r\n }\r\n}\r\n"]}
{"version":3,"sources":["assets\\Script\\Load.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAA8C;AAExC,IAAA,KAAwC,EAAE,CAAC,UAAU,EAApD,OAAO,aAAA,EAAE,QAAQ,cAAA,EAAE,gBAAgB,sBAAiB,CAAC;AAG5D;IAAsC,4BAAY;IAAlD;QAAA,qEAkDC;QA/CG,eAAS,GAAY,KAAK,CAAC;QAG3B,uBAAiB,GAAW,OAAO,CAAC;QAGpC,iBAAW,GAAa,IAAI,CAAC;;IAyCjC,CAAC;IAvCG,wBAAK,GAAL;QACI,EAAE,CAAC,KAAK,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;QAChC,MAAM,CAAC,OAAO,EAAE,CAAC;QACjB,cAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAC/B,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACtC,IAAI,CAAC,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC,iBAAiB,CAAC;IAErD,CAAC;IAED,0BAAO,GAAP;QACI,IAAI,IAAI,GAAG;YACP,YAAY,EAAE,IAAI;YAClB,UAAU,EAAE,EAAE;SACjB,CAAA;QACD,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjC,CAAC;IAED,cAAc;IACd,4BAAS,GAAT;QAEI,UAAU,CAAC;YACP,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;QACxC,CAAC,EAAE,GAAG,CAAC,CAAC;QACR,uCAAuC;IAC3C,CAAC;IACD,gBAAgB;IAChB,2BAAQ,GAAR,UAAS,KAAK,EAAC,IAAI;QACf,oDAAoD;QACpD,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IACvC,CAAC;IACD,OAAO;IACP,2BAAQ,GAAR;QACI,UAAU,CAAC;YACP,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;QACvC,CAAC,EAAE,GAAG,CAAC,CAAC;IACZ,CAAC;IAES,yBAAM,GAAhB,UAAiB,EAAU;IAC3B,CAAC;IA9CD;QADC,QAAQ,CAAC,KAAK,CAAC;+CACW;IAG3B;QADC,QAAQ,CAAC,EAAE,CAAC;uDACuB;IAGpC;QADC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC;iDACU;IATZ,QAAQ;QAD5B,OAAO;OACa,QAAQ,CAkD5B;IAAD,eAAC;CAlDD,AAkDC,CAlDqC,EAAE,CAAC,SAAS,GAkDjD;kBAlDoB,QAAQ","file":"","sourceRoot":"/","sourcesContent":["import { WeChat } from \"./module/Share/share\";\r\n\r\nconst {ccclass, property, requireComponent} = cc._decorator;\r\n\r\n@ccclass\r\nexport default class NewClass extends cc.Component {\r\n\r\n @property(false)\r\n localTest: boolean = false;\r\n\r\n @property(\"\")\r\n clientTestVersion: string = \"1.0.0\";\r\n\r\n @property(cc.Label)\r\n testVersion: cc.Label = null;\r\n\r\n start () {\r\n cc.debug.setDisplayStats(false);\r\n window.initMgr();\r\n WeChat.setShare(location.href);\r\n cc.fx.GameConfig.init(this.localTest);\r\n this.testVersion.string = this.clientTestVersion;\r\n \r\n }\r\n\r\n setRank(){\r\n let data = {\r\n \"totleTimes\": 8759,\r\n \"accuracy\": 80,\r\n }\r\n cc.fx.GameTool.setRank(data);\r\n }\r\n\r\n //开始游戏,跳转至引导页面\r\n startGame(){\r\n \r\n setTimeout(() => {\r\n cc.director.loadScene(\"GuideScene\");\r\n }, 100);\r\n // cc.director.loadScene(\"GuideScene\");\r\n }\r\n //备用,用来测试跳转 指定关卡\r\n clickBtn(event,data){\r\n // cc.fx.GameConfig.GM_INFO.custom = parseInt(data);\r\n cc.director.loadScene(\"GameScene\");\r\n } \r\n //打开排行榜\r\n openRank(){\r\n setTimeout(() => {\r\n cc.director.loadScene(\"RankScene\");\r\n }, 100);\r\n }\r\n \r\n protected update(dt: number): void {\r\n }\r\n}\r\n"]}