Upload 60 files
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- web-desktop/assets/internal/config.d17e2.json +1 -0
- web-desktop/assets/internal/import/0b/0b6c4470e.9537f.json +0 -0
- web-desktop/assets/internal/index.d17e2.js +1 -0
- web-desktop/assets/internal/native/02/0275e94c-56a7-410f-bd1a-fc7483f7d14a.cea68.png +0 -0
- web-desktop/assets/internal/native/60/600301aa-3357-4a10-b086-84f011fa32ba.c3a3a.png +0 -0
- web-desktop/assets/main/config.f5ff0.json +1 -0
- web-desktop/assets/main/import/03/037822e4a.8ff53.json +1 -0
- web-desktop/assets/main/import/09/09ae089d6.da42f.json +1 -0
- web-desktop/assets/main/index.f5ff0.js +1 -0
- web-desktop/assets/main/native/71/71561142-4c83-4933-afca-cb7a17f67053.c06a9.png +0 -0
- web-desktop/assets/main/native/b4/b43ff3c2-02bb-4874-81f7-f2dea6970f18.83fcc.png +0 -0
- web-desktop/assets/main/native/e8/e851e89b-faa2-4484-bea6-5c01dd9f06e2.90cf4.png +0 -0
- web-desktop/assets/main/native/ed/edd215b9-2796-4a05-aaf5-81f96c9281ce.17df6.png +0 -0
- web-desktop/assets/resources/config.09ec0.json +1 -0
- web-desktop/assets/resources/import/0c/0cfd22b7a.b2b05.json +1 -0
- web-desktop/assets/resources/import/2d/2dc6e152-0231-4b66-a5f4-d319427a13d8.eb0db.json +1 -0
- web-desktop/assets/resources/import/31/31bc895a-c003-4566-a9f3-2e54ae1c17dc.c0670.json +1 -0
- web-desktop/assets/resources/import/41/410fb916-8721-4663-bab8-34397391ace7.afc36.json +1 -0
- web-desktop/assets/resources/index.09ec0.js +1 -0
- web-desktop/assets/resources/native/6a/6aa0aa6a-ebee-4155-a088-a687a6aadec4.a4b27.png +0 -0
- web-desktop/assets/resources/native/a8/a8027877-d8d6-4645-97a0-52d4a0123dba.cea68.png +0 -0
- web-desktop/cocos2d-js-min.2773f.js +0 -0
- web-desktop/favicon.8de18.ico +0 -0
- web-desktop/index.html +75 -0
- web-desktop/main.2f911.js +144 -0
- web-desktop/physics-min.941a2.js +0 -0
- web-desktop/splash.85cfd.png +0 -0
- web-desktop/src/settings.6b2ba.js +1 -0
- web-desktop/style-desktop.81ede.css +116 -0
- web-desktop/style-mobile.25fc5.css +124 -0
- web-mobile/assets/internal/config.d17e2.json +1 -0
- web-mobile/assets/internal/import/0b/0b6c4470e.9537f.json +0 -0
- web-mobile/assets/internal/index.d17e2.js +1 -0
- web-mobile/assets/internal/native/02/0275e94c-56a7-410f-bd1a-fc7483f7d14a.cea68.png +0 -0
- web-mobile/assets/internal/native/60/600301aa-3357-4a10-b086-84f011fa32ba.c3a3a.png +0 -0
- web-mobile/assets/main/config.f5ff0.json +1 -0
- web-mobile/assets/main/import/03/037822e4a.8ff53.json +1 -0
- web-mobile/assets/main/import/09/09ae089d6.da42f.json +1 -0
- web-mobile/assets/main/index.f5ff0.js +1 -0
- web-mobile/assets/main/native/71/71561142-4c83-4933-afca-cb7a17f67053.c06a9.png +0 -0
- web-mobile/assets/main/native/b4/b43ff3c2-02bb-4874-81f7-f2dea6970f18.83fcc.png +0 -0
- web-mobile/assets/main/native/e8/e851e89b-faa2-4484-bea6-5c01dd9f06e2.90cf4.png +0 -0
- web-mobile/assets/main/native/ed/edd215b9-2796-4a05-aaf5-81f96c9281ce.17df6.png +0 -0
- web-mobile/assets/resources/config.09ec0.json +1 -0
- web-mobile/assets/resources/import/0c/0cfd22b7a.b2b05.json +1 -0
- web-mobile/assets/resources/import/2d/2dc6e152-0231-4b66-a5f4-d319427a13d8.eb0db.json +1 -0
- web-mobile/assets/resources/import/31/31bc895a-c003-4566-a9f3-2e54ae1c17dc.c0670.json +1 -0
- web-mobile/assets/resources/import/41/410fb916-8721-4663-bab8-34397391ace7.afc36.json +1 -0
- web-mobile/assets/resources/index.09ec0.js +1 -0
- web-mobile/assets/resources/native/6a/6aa0aa6a-ebee-4155-a088-a687a6aadec4.a4b27.png +0 -0
web-desktop/assets/internal/config.d17e2.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
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-particle",1],"9":["materials/builtin-3d-trail",1],"11":["effects/builtin-unlit",0],"12":["materials/builtin-2d-base",1],"13":["materials/builtin-2d-spine",1],"14":["effects/builtin-3d-particle",0],"15":["materials/builtin-2d-graphics",1],"16":["effects/builtin-clear-stencil",0],"17":["materials/builtin-clear-stencil",1],"18":["materials/builtin-2d-label",1],"19":["materials/builtin-2d-sprite",1],"20":["effects/builtin-2d-label",0]},"types":["cc.EffectAsset","cc.Material"],"uuids":["02delMVqdBD70a/HSD99FK","0ek66qC1NOQLjgYmi04HvX","14TDKXr2NJ6LjvHPops74o","28dPjdQWxEQIG3VVl1Qm6T","2aKWBXJHxKHLvrBUi2yYZQ","2afAA24LNP4YmYiaVLiivs","30aC+Hnw1PF4pEcoY3kUYb","3ae7efMv1CLq2ilvUY/tQi","43L6CczwNM/6GGmCYEQIoH","46bU+b5fROqIXVPG6aZWWK","60AwGqM1dKELCGhPAR+jK6","6dkeWRTOBGXICfYQ7JUBnG","6fgBCSDDdPMInvyNlggls2","7a/QZLET9IDreTiBfRn2PD","82migssElAGb04Ws6NimQX","a1U5RdJRFMFL57BdJC9H1X","c0BAyVxX9JzZy8EjFrc9DU","cffgu4qBxEqa150o1DmRAy","e0LYfU5ZlNFoAB4UiRrGUG","ecpdLyjvZBwrvm+cedCcQy","f1h0LXVtJOta5JLZ1xCzfI"],"scenes":{},"redirect":[],"deps":[],"packs":{"0b6c4470e":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]},"name":"internal","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":false,"versions":{"import":["0b6c4470e","9537f"],"native":[0,"cea68",10,"c3a3a"]}}
|
web-desktop/assets/internal/import/0b/0b6c4470e.9537f.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
web-desktop/assets/internal/index.d17e2.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
(function r(e,n,t){function i(u,f){if(!n[u]){if(!e[u]){var _=u.split("/");if(_=_[_.length-1],!e[_]){var p="function"==typeof __require&&__require;if(!f&&p)return p(_,!0);if(o)return o(_,!0);throw new Error("Cannot find module '"+u+"'")}u=_}var a=n[u]={exports:{}};e[u][0].call(a.exports,function(r){return i(e[u][1][r]||r)},a,a.exports,r,e,n,t)}return n[u].exports}for(var o="function"==typeof __require&&__require,u=0;u<t.length;u++)i(t[u]);return i})({},{},[]);
|
web-desktop/assets/internal/native/02/0275e94c-56a7-410f-bd1a-fc7483f7d14a.cea68.png
ADDED
![]() |
web-desktop/assets/internal/native/60/600301aa-3357-4a10-b086-84f011fa32ba.c3a3a.png
ADDED
![]() |
web-desktop/assets/main/config.f5ff0.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"paths":{},"types":[],"uuids":["2dL3kvpAxJu6GJ7RdqJG5J","71VhFCTINJM6/Ky3oX9nBT","b4P/PCArtIdIH38t6mlw8Y","e8Ueib+qJEhL6mXAHdnwbi","ed0hW5J5ZKBar1gflskoHO","02delMVqdBD70a/HSD99FK","29FYIk+N1GYaeWH/q1NxQO","2dxuFSAjFLZqX00xlCehPY","3ae7efMv1CLq2ilvUY/tQi","41D7kWhyFGY7q4NDlzkazn","a2MjXRFdtLlYQ5ouAFv/+R","bdsyZlz4xBO5zfPDJQN+oo","bfWlSLZRpAGagZRXLAWXg9","d5IdoYIMREkI/uG5YwUWnI","e97GVMl6JHh5Ml5qEDdSGa","ecpdLyjvZBwrvm+cedCcQy","f0BIwQ8D5Ml7nTNQbh1YlS","ffDpHHVcZAhqOfy25Fe4w7"],"scenes":{"db://assets/Scene/main.fire":0},"redirect":[5,0,7,1,8,0,9,1,15,0],"deps":["internal","resources"],"packs":{"037822e4a":[1,2,3,4],"09ae089d6":[6,0,10,11,12,13,14,16,17]},"name":"main","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":false,"versions":{"import":["037822e4a","8ff53","09ae089d6","da42f"],"native":[1,"c06a9",2,"83fcc",3,"90cf4",4,"17df6"]}}
|
web-desktop/assets/main/import/03/037822e4a.8ff53.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"type":"cc.Texture2D","data":"0,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"}
|
web-desktop/assets/main/import/09/09ae089d6.da42f.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[1,["ecpdLyjvZBwrvm+cedCcQy","f0BIwQ8D5Ml7nTNQbh1YlS","a2MjXRFdtLlYQ5ouAFv/+R","41D7kWhyFGY7q4NDlzkazn","e97GVMl6JHh5Ml5qEDdSGa","29FYIk+N1GYaeWH/q1NxQO","71VhFCTINJM6/Ky3oX9nBT","2dxuFSAjFLZqX00xlCehPY","bfWlSLZRpAGagZRXLAWXg9","bdsyZlz4xBO5zfPDJQN+oo","d5IdoYIMREkI/uG5YwUWnI","02delMVqdBD70a/HSD99FK","ffDpHHVcZAhqOfy25Fe4w7","3ae7efMv1CLq2ilvUY/tQi","b4P/PCArtIdIH38t6mlw8Y","e8Ueib+qJEhL6mXAHdnwbi","ed0hW5J5ZKBar1gflskoHO"],["node","_spriteFrame","_textureSetter","_parent","_N$normalSprite","_N$pressedSprite","_N$hoverSprite","_N$disabledSprite","root","data","labelTips","nodeTips","labelDes","nodeRoot","labelResLabel","resultNode","nodeMenu","btnStart","scene","levelConfig","prefabSlot","prefabPop","prefabLineNode","EditBox","btnConfim","btnClose","labelName","_N$target","_normalMaterial","_grayMaterial"],[["cc.Node",["_name","_objFlags","_active","_id","_components","_contentSize","_parent","_color","_children","_prefab","_trs","_anchorPoint"],-1,9,5,1,5,2,4,7,5],["cc.Label",["_N$verticalAlign","_fontSize","_N$horizontalAlign","_N$overflow","_string","_lineHeight","_enableWrapText","_N$cacheMode","_styleFlags","node","_materials"],-6,1,3],["cc.Widget",["_alignFlags","_originalWidth","_originalHeight","_top","_left","alignMode","_right","_bottom","node"],-5,1],"cc.SpriteFrame",["cc.Node",["_name","_parent","_components","_contentSize","_children","_trs","_color","_prefab"],2,1,2,5,2,7,5,4],["cc.Node",["_name","_objFlags","_active","_parent","_components","_contentSize","_anchorPoint","_trs","_prefab"],0,1,12,5,5,7,4],["cc.Button",["_N$transition","zoomScale","node","_N$target","_N$normalColor","_N$pressedColor","_N$disabledColor","_N$normalSprite","_N$pressedSprite","_N$hoverSprite","_N$disabledSprite","_normalMaterial","_grayMaterial"],1,1,1,5,5,5,6,6,6,6,6,6],["cc.Sprite",["_sizeMode","_type","node","_materials","_spriteFrame"],1,1,3,6],["cc.PrefabInfo",["fileId","root","asset"],2,1,1],["cc.SceneAsset",["_name","asyncLoadAssets"],1],["cc.Canvas",["node","_designResolution"],3,1,5],["e1b90/rohdEk4SdmmEZANaD",["node","btnStart","nodeMenu","resultNode","labelResLabel","nodeRoot","labelDes","nodeTips","labelTips","levelConfig","prefabSlot","prefabPop","prefabLineNode"],3,1,1,1,1,1,1,1,1,1,6,6,6,6],["cc.BlockInputEvents",["node"],3,1],["cc.Scene",["_name","_active","_children","_anchorPoint","_trs"],1,2,5,7],["cc.Camera",["_clearFlags","_depth","node"],1,1],["cc.Prefab",["_name"],2],["1cf5eKDkQlAHZXQQ4wi21HN",["node","btnClose","btnConfim","EditBox"],3,1,1,1,1],["cc.EditBox",["maxLength","_N$inputMode","node","_N$textLabel","_N$placeholderLabel","_N$background"],1,1,1,1,1],["3feac2NXWpIho5/FIswFATz",["node","labelName"],3,1,1],["24346ODKttEbLBlEJMy7A+J",["node"],3,1]],[[8,0,1,2,2],[7,1,0,2,3,4,3],[2,5,0,1,2,8,5],[7,0,2,3,4,2],[4,0,1,4,2,7,3,5,2],[2,0,1,2,8,4],[12,0,1],[15,0,2],[8,1,2,1],[0,0,2,6,8,4,7,5,3],[0,0,1,8,4,5,3],[0,0,1,6,4,7,5,3],[0,0,8,4,9,7,5,10,2],[0,0,1,8,4,9,5,10,3],[0,0,6,4,9,5,2],[0,0,1,6,4,9,7,5,3],[2,5,0,4,1,2,8,6],[6,1,0,2,4,5,6,3,3],[1,4,1,6,2,0,3,7,9,10,8],[9,0,1,3],[0,0,3,8,4,7,5,10,3],[0,0,2,6,8,4,7,5,10,3],[0,0,6,4,7,5,2],[0,0,2,6,8,4,5,10,3],[0,0,6,4,2],[0,0,6,5,2],[0,0,6,4,9,7,5,2],[0,0,4,9,5,11,2],[5,0,3,4,5,6,7,2],[5,0,1,3,4,8,5,3],[5,0,1,2,3,4,8,5,6,7,4],[5,0,1,3,4,8,5,6,7,3],[4,0,1,4,2,3,5,2],[4,0,1,2,6,3,2],[4,0,1,2,3,2],[4,0,1,2,7,6,3,2],[10,0,1,1],[11,0,1,2,3,4,5,6,7,8,9,10,11,12,1],[2,0,8,2],[2,0,3,8,3],[2,0,4,6,3,1,8,6],[2,0,4,6,3,7,1,2,8,8],[7,1,0,2,3,3],[6,0,2,4,5,6,3,7,8,9,10,2],[6,0,2,4,5,6,3,2],[6,1,0,2,3,11,12,3],[13,0,1,2,3,4,3],[14,0,1,2,3],[1,1,5,8,2,3,9,10,6],[1,4,1,5,8,2,0,9,10,7],[1,4,2,0,9,10,4],[1,4,6,2,0,3,7,9,10,7],[1,4,1,5,6,2,0,3,7,9,10,9],[1,1,5,6,0,3,9,6],[1,4,1,5,6,0,3,9,10,7],[1,4,1,5,2,0,3,9,10,7],[16,0,1,2,3,1],[17,0,1,2,3,4,5,3],[18,0,1,1],[19,0,1]],[[[{"name":"default_btn_disabled","rect":[0,0,40,40],"offset":[0,0],"originalSize":[40,40],"capInsets":[12,12,12,12]}],[3],0,[0],[2],[6]],[[[19,"main",null],[20,"Canvas","a286bbGknJLZpRpxROV6M94",[-12,-13,-14,-15,-16,-17,-18,-19],[[36,-1,[5,1280,720]],[37,-10,-9,-8,-7,-6,-5,-4,-3,-2,21,22,23,24],[38,45,-11]],[4,4294769916],[5,1280,720],[640,360,0,0,0,0,1,1,1,1]],[9,"startMenu",false,1,[-23],[[3,0,-20,[13],14],[5,45,100,100,-21],[6,-22]],[4,4282729797],[5,1280,720]],[9,"resultNode",false,1,[-27],[[3,0,-24,[19],20],[5,45,100,100,-25],[6,-26]],[4,4282729797],[5,1280,720]],[10,"Background",512,[-30],[[1,1,0,-28,[4],5],[2,0,45,100,40,-29]],[5,100,60]],[10,"Background",512,[-33],[[1,1,0,-31,[11],12],[2,0,45,100,40,-32]],[5,200,80]],[21,"nodeTips",false,1,[-36],[[3,0,-34,[16],17],[39,1,106.989,-35]],[4,4293125091],[5,501,50],[0,228.011,0,0,0,0,1,1,1,1]],[22,"nodeBG",1,[[2,0,45,200,150,-37],[1,1,0,-38,[0],1]],[4,4281214491],[5,1280,720]],[28,"labeDes",1,[[-39,[40,41,306.5,306.5,35.79300000000002,1100,-40]],1,4],[5,1334,52.92],[0,0.5,1],[0,324.207,0,0,0,0,1,0.5,0.5,0.5]],[23,"btnBackpack",false,1,[4],[[43,2,-41,[4,4293322470],[4,4291348680],[4,3363338360],4,6,7,8,9]],[5,100,60],[-466.444,-322.541,0,0,0,0,1,1,1,1]],[32,"btnStart",2,[5],[-42],[5,200,80],[0,-176.772,0,0,0,0,1,1,1,1]],[46,"New Node",false,[1],[0,0,0],[0,0,0,0,0,0,1,1,1,1]],[24,"Main Camera",1,[[47,7,-1,-43]]],[25,"nodeRoot",1,[5,1280,720]],[48,42,42,1,1,3,8,[2]],[11,"Label",512,4,[[18,"口袋物品",20,false,1,1,1,1,-44,[3]]],[4,4278190080],[5,100,40]],[11,"Label",512,5,[[18,"开始",20,false,1,1,1,1,-45,[10]]],[4,4278190080],[5,100,40]],[44,2,10,[4,4293322470],[4,4291348680],[4,3363338360],5],[33,"labelTips",6,[-46],[4,4278190080],[5,64,45.36]],[49,"tips",36,36,1,1,1,18,[15]],[34,"labelResLabel",3,[-47],[5,411.11,50.4]],[50,"逃离成功,进入下一场景",1,1,20,[18]]],0,[0,0,1,0,10,19,0,11,6,0,12,14,0,13,13,0,14,21,0,15,3,0,16,2,0,17,17,0,0,1,0,0,1,0,-1,12,0,-2,7,0,-3,13,0,-4,8,0,-5,9,0,-6,2,0,-7,6,0,-8,3,0,0,2,0,0,2,0,0,2,0,-1,10,0,0,3,0,0,3,0,0,3,0,-1,20,0,0,4,0,0,4,0,-1,15,0,0,5,0,0,5,0,-1,16,0,0,6,0,0,6,0,-1,18,0,0,7,0,0,7,0,-1,14,0,0,8,0,0,9,0,-1,17,0,0,12,0,0,15,0,0,16,0,-1,19,0,-1,21,0,18,11,1,3,11,4,3,9,5,3,10,47],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,17,17,17],[-1,1,-1,-1,-1,1,4,5,6,7,-1,-1,1,-1,1,-1,-1,1,-1,-1,1,19,20,21,22,4,5,6,7],[0,3,0,0,0,1,1,4,1,5,0,0,1,0,2,0,0,2,0,0,2,7,8,9,10,1,4,1,5]],[[{"name":"default_sprite_splash","rect":[0,0,2,2],"offset":[0,0],"originalSize":[2,2],"capInsets":[0,0,0,0]}],[3],0,[0],[2],[11]],[[[7,"popviewNode"],[12,"nodeBG",[-8,-9,-10,-11,-12],[[56,-5,-4,-3,-2],[5,45,600,300,-6],[6,-7]],[8,-1,0],[4,4281214491],[5,1280,720],[640,360,0,0,0,0,1,1,1,1]],[13,"Background",512,[-15],[[1,1,0,-13,[5],6],[2,0,45,100,40,-14]],[0,"66u9KigztICY41vUKswSx4",1,0],[5,40,40],[0,0,0,0,0,0,1,1,1,0]],[13,"Background",512,[-18],[[1,1,0,-16,[8],9],[2,0,45,100,40,-17]],[0,"f46vhRyMhDELmaesHU3hQE",1,0],[5,120,40],[0,0,0,0,0,0,1,1,1,0]],[4,"EditBox",1,[-20,-21,-22],[-19],[0,"38pEGG2UlBgZkJ362pm65F",1,0],[5,345,41],[0,12,0,0,0,0,1,1,1,1]],[4,"btnClose",1,[2],[-23],[0,"a9js4/9MNEcJqLhmRM4bWT",1,0],[5,40,40],[289.373,136.795,0,0,0,0,1,1,1,1]],[4,"btnConfim",1,[3],[-24],[0,"e4vgUoxmpPV5d4AJW7u/cQ",1,0],[5,120,40],[0,-100,0,0,0,0,1,1,1,1]],[29,"BACKGROUND_SPRITE",512,4,[[-25,[2,0,45,160,40,-26]],1,4],[0,"34cP+gbdNI1KPyOCD0S3mT",1,0],[5,345,41]],[30,"TEXT_LABEL",512,false,4,[[-27,[16,0,45,2,158,40,-28]],1,4],[0,"d6WC3ccTdNBperuKesxeUs",1,0],[5,158,40],[0,0,1],[-78,20,0,0,0,0,1,1,1,1]],[31,"PLACEHOLDER_LABEL",512,4,[[-29,[16,0,45,2,158,40,-30]],1,4],[0,"adcoI9Gb1AUZD9OHHiefq1",1,0],[5,343,41],[0,0,1],[-170.5,20.5,0,0,0,0,1,1,1,1]],[14,"New Node",1,[[1,1,0,-31,[0],1]],[0,"651NJtElVAbINFCYWo9s0q",1,0],[5,610,310]],[26,"New Node",1,[[1,1,0,-32,[2],3]],[0,"00C26m/9pAabEP6UxEth1a",1,0],[4,4282727996],[5,600,300]],[15,"Label",512,2,[[51,"X",false,1,1,1,1,-33,[4]]],[0,"0baRBiVqlJeJrws+3ebOha",1,0],[4,4278190080],[5,100,40]],[17,0.95,3,5,[4,4293322470],[4,4291348680],[4,3363338360],2],[15,"Label",512,3,[[52,"确定",30,30,false,1,1,1,1,-34,[7]]],[0,"16ZkVtjy1I8KYHQp55McGd",1,0],[4,4278190080],[5,100,40]],[17,0.95,3,6,[4,4293322470],[4,4291348680],[4,3363338360],3],[42,1,0,7,[10]],[53,20,25,false,1,1,8],[54,"输入密码",20,25,false,1,1,9,[11]],[57,8,6,4,17,18,16]],0,[0,8,1,0,23,19,0,24,15,0,25,13,0,0,1,0,0,1,0,0,1,0,-1,10,0,-2,11,0,-3,5,0,-4,6,0,-5,4,0,0,2,0,0,2,0,-1,12,0,0,3,0,0,3,0,-1,14,0,-1,19,0,-1,7,0,-2,8,0,-3,9,0,-1,13,0,-1,15,0,-1,16,0,0,7,0,-1,17,0,0,8,0,-1,18,0,0,9,0,0,10,0,0,11,0,0,12,0,0,14,0,9,1,2,3,5,3,3,6,34],[0,0,0,0,0,0,0,0,0,0,0,0,13,13,13,13,15,15,15,15,16],[-1,1,-1,1,-1,-1,1,-1,-1,1,-1,-1,4,5,6,7,4,5,6,7,1],[0,3,0,3,0,0,1,0,0,1,0,0,1,4,1,5,1,4,1,5,12]],[[[7,"slotNode"],[12,"slotNode",[-7,-8],[[58,-3,-2],[1,1,0,-4,[3],4],[45,0.95,3,-6,-5,5,6]],[8,-1,0],[4,4278190080],[5,160,60],[0,0,0,0,0,0,1,1,1,0]],[14,"New Sprite(Splash)",1,[[3,0,-9,[0],1],[41,45,3,3,3,3,100,100,-10]],[0,"45X/sIT9NGsKvNXufthRQa",1,0],[5,154,54]],[35,"labelName",1,[-11],[0,"1cg8j/8FhFMpoMXMC+fZQ2",1,0],[4,4278190080],[5,153,51.2]],[55,"空",20,20,1,1,2,3,[2]]],0,[0,8,1,0,26,4,0,0,1,0,0,1,0,27,1,0,0,1,0,-1,2,0,-2,3,0,0,2,0,0,2,0,-1,4,0,9,1,11],[0,0,0,0,0,0,0],[-1,1,-1,-1,1,28,29],[0,2,0,0,3,0,13]],[[[7,"lineNode"],[27,"lineNode",[[3,0,-2,[0],1],[59,-3]],[8,-1,0],[5,2,2],[0,0.5,0]]],0,[0,8,1,0,0,1,0,0,1,0,9,1,3],[0,0],[-1,1],[0,2]],[[{"name":"default_btn_pressed","rect":[0,0,40,40],"offset":[0,0],"originalSize":[40,40],"capInsets":[12,12,12,12]}],[3],0,[0],[2],[14]],[[{"name":"default_btn_normal","rect":[0,0,40,40],"offset":[0,0],"originalSize":[40,40],"capInsets":[12,12,12,12]}],[3],0,[0],[2],[15]],[[{"name":"default_editbox_bg","rect":[0,0,40,40],"offset":[0,0],"originalSize":[40,40],"capInsets":[12,12,12,12]}],[3],0,[0],[2],[16]]]]
|
web-desktop/assets/main/index.f5ff0.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
window.__require=function e(t,o,n){function i(c,l){if(!o[c]){if(!t[c]){var a=c.split("/");if(a=a[a.length-1],!t[a]){var s="function"==typeof __require&&__require;if(!l&&s)return s(a,!0);if(r)return r(a,!0);throw new Error("Cannot find module '"+c+"'")}c=a}var p=o[c]={exports:{}};t[c][0].call(p.exports,function(e){return i(t[c][1][e]||e)},p,p.exports,e,t,o,n)}return o[c].exports}for(var r="function"==typeof __require&&__require,c=0;c<n.length;c++)i(n[c]);return i}({GameMain:[function(e,t,o){"use strict";cc._RF.push(t,"e1b90/rohdEk4SdmmEZANaD","GameMain");var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),r=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,c=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(c=(r<3?i(c):r>3?i(t,o,c):i(t,o))||c);return r>3&&c&&Object.defineProperty(t,o,c),c};Object.defineProperty(o,"__esModule",{value:!0}),o.InfoType=void 0;var c=e("./GloabData"),l=e("./LineNode"),a=e("./OneSlotNode"),s=e("./PopViewNode"),p=cc._decorator,d=p.ccclass,h=p.property;o.InfoType={Room:"room",Device:"device",Item:"item"};var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.levelConfig=null,t.btnStart=null,t.nodeMenu=null,t.resultNode=null,t.labelResLabel=null,t.nodeRoot=null,t.labelDes=null,t.nodeTips=null,t.labelTips=null,t.prefabSlot=null,t.prefabPop=null,t.prefabLineNode=null,t.slotNodeArr=[],t.lineNodeArr=[],t.curLevelArr=[],t.nLevel=1,t}return i(t,e),t.prototype.onLoad=function(){this.slotNodeArr=[]},t.prototype.start=function(){var e=this,t=this.levelConfig.json["level"+this.nLevel];this.curLevelArr=t,cc.log("=>>>>>>>",t),this.InitLevelByInfo(t),this.resultNode.active=!1,this.nodeMenu.active=!0,this.btnStart.node.on("click",function(){e.nodeMenu.active=!1},this),c.G_Event.on("Open_One_Slot",this.OpenOneSlot,this),c.G_Event.on("Show_Slot_Des",this.ShowSlotDes,this),c.G_Event.on("Show_Tips",this.ShowTips,this),c.G_Event.on("Show_Pop_View",this.ShowPopView,this),c.G_Event.on("Hide_One_Slot",this.HideOneSlot,this)},t.prototype.ShowPopView=function(e,t){var o=cc.instantiate(this.prefabPop);o.getComponent(s.default).InitPopViewByInfo(e,t),this.nodeRoot.addChild(o,999),o.position=cc.v3(0,0)},t.prototype.ShowSlotDes=function(e){this.labelDes.string=e},t.prototype.ShowTips=function(e){var t=this;this.nodeTips.active=!0,this.nodeTips.opacity=255,this.labelTips.string=e,cc.tween(this.nodeTips).delay(2).to(.3,{opacity:0}).call(function(){t.nodeTips.active=!1}).start()},t.prototype.OpenOneSlot=function(e,t){var o=this;t||(t=this.curLevelArr),this.labelDes.string=e.des;var n=e.to;if(cc.log("=OpenOneSlot===>>",n),n.indexOf(c.G_NEXT_LEVEL_ID)>=0)return this.resultNode.active=!0,this.labelResLabel.string="\u9003\u79bb\u6210\u529f,\u8fdb\u5165\u4e0b\u4e00\u573a\u666f",this.ClearAllSlots(),void cc.tween(this.resultNode).delay(2).call(function(){o.resultNode.active=!1,o.GotoNextLevel()}).start();if(n.indexOf(c.G_DEATH_LEVEL_ID)>=0)return this.resultNode.active=!0,this.labelResLabel.string="\u9003\u79bb\u5931\u8d25!!!!!",this.ClearAllSlots(),void cc.tween(this.resultNode).delay(2).call(function(){o.resultNode.active=!1,o.nodeMenu.active=!0,o.GotoNewLevel()}).start();if(n.indexOf(c.G_SUCCESS_ESC)>=0)return this.resultNode.active=!0,this.labelResLabel.string="\u606d\u559c\u4f60\u79bb\u5f00\u4e86\u623f\u5b50",this.ClearAllSlots(),void cc.tween(this.resultNode).delay(2).call(function(){o.resultNode.active=!1,o.nodeMenu.active=!0,o.GotoNewLevel()}).start();for(var i=0;i<n.length;i++)for(var r=0;r<t.length;r++)if(t[r].id==n[i]){this.CreateOneSlotNode(t[r],e);break}},t.prototype.InitLevelByInfo=function(e){for(var t=0,n=e;t<n.length;t++){var i=n[t];0==i.from.length&&i.type==o.InfoType.Room&&(this.CreateOneSlotNode(i,null),this.labelDes.string=i.des)}},t.prototype.CreateOneSlotNode=function(e,t){var o=cc.instantiate(this.prefabSlot);o.getComponent(a.default).InitByInfo(e,this),this.nodeRoot.addChild(o,c.G_Z_INDEX.nSlotZ),o.position=cc.v3(e.position[0],e.position[1]),o.scale=e.scale,this.slotNodeArr.push(o),t&&this.CreateOneLineNode(e,t)},t.prototype.ClearAllSlots=function(){for(var e=0;e<this.slotNodeArr.length;e++)(t=this.slotNodeArr[e]).isValid&&(t.removeFromParent(),t.destroy(),t=null);for(e=0;e<this.lineNodeArr.length;e++){var t;(t=this.lineNodeArr[e]).node.isValid&&(t.node.removeFromParent(),t.destroy(),t=null)}this.lineNodeArr=[],this.slotNodeArr=[]},t.prototype.GotoNextLevel=function(){this.nLevel+=1;var e=this.levelConfig.json["level"+this.nLevel];e&&e.length>0?(this.curLevelArr=e,cc.log("=>>>GotoNextLevel>>>>",e),this.InitLevelByInfo(e)):cc.error("=?>>>>>>>>>>>>>>this.nLevel=",this.nLevel)},t.prototype.GotoNewLevel=function(){this.nLevel=1;var e=this.levelConfig.json["level"+this.nLevel];e&&e.length>0?(this.curLevelArr=e,cc.log("=>>>GotoNextLevel>>>>",e),this.InitLevelByInfo(e)):cc.error("=?>>>>>>>>>>>>>>this.nLevel=",this.nLevel)},t.prototype.CreateOneLineNode=function(e,t){var o=cc.instantiate(this.prefabLineNode);this.nodeRoot.addChild(o,c.G_Z_INDEX.nLineZ),o.position=cc.v3(t.position[0],t.position[1]),o.getComponent(l.default).InitLineNodeByInfo(cc.v3(t.position[0],t.position[1]),e),this.lineNodeArr.push(o.getComponent(l.default))},t.prototype.HideOneSlot=function(e){for(var t=0;t<this.lineNodeArr.length;t++)this.lineNodeArr[t].cacheInfo.id==e.id&&(this.lineNodeArr[t].node.active=!1)},r([h(cc.JsonAsset)],t.prototype,"levelConfig",void 0),r([h(cc.Button)],t.prototype,"btnStart",void 0),r([h(cc.Node)],t.prototype,"nodeMenu",void 0),r([h(cc.Node)],t.prototype,"resultNode",void 0),r([h(cc.Label)],t.prototype,"labelResLabel",void 0),r([h(cc.Node)],t.prototype,"nodeRoot",void 0),r([h(cc.Label)],t.prototype,"labelDes",void 0),r([h(cc.Node)],t.prototype,"nodeTips",void 0),r([h(cc.Label)],t.prototype,"labelTips",void 0),r([h(cc.Prefab)],t.prototype,"prefabSlot",void 0),r([h(cc.Prefab)],t.prototype,"prefabPop",void 0),r([h(cc.Prefab)],t.prototype,"prefabLineNode",void 0),r([d],t)}(cc.Component);o.default=f,cc._RF.pop()},{"./GloabData":"GloabData","./LineNode":"LineNode","./OneSlotNode":"OneSlotNode","./PopViewNode":"PopViewNode"}],GloabData:[function(e,t,o){"use strict";cc._RF.push(t,"2088awR0URMv5xhMizOoBTm","GloabData"),Object.defineProperty(o,"__esModule",{value:!0}),o.G_Z_INDEX=o.G_SUCCESS_ESC=o.G_DEATH_LEVEL_ID=o.G_NEXT_LEVEL_ID=o.G_Event=void 0,o.G_Event=new cc.EventTarget,o.G_NEXT_LEVEL_ID=998877,o.G_DEATH_LEVEL_ID=998876,o.G_SUCCESS_ESC=998875,o.G_Z_INDEX={nSlotZ:9,nLineZ:8},cc._RF.pop()},{}],LineNode:[function(e,t,o){"use strict";cc._RF.push(t,"24346ODKttEbLBlEJMy7A+J","LineNode");var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),r=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,c=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(c=(r<3?i(c):r>3?i(t,o,c):i(t,o))||c);return r>3&&c&&Object.defineProperty(t,o,c),c};Object.defineProperty(o,"__esModule",{value:!0});var c=cc._decorator,l=c.ccclass,a=(c.property,function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cacheInfo=null,t}return i(t,e),t.prototype.InitLineNodeByInfo=function(e,t){this.cacheInfo=t;var o=cc.v3(t.position[0],t.position[1]).sub(e),n=o.mag();this.node.scaleY=n/2;var i=o.y/n,r=o.x/n,c=Math.asin(i)*(180/Math.PI),l=90-c;r>=0&&(l=-(90-c)),this.node.angle=l},r([l],t)}(cc.Component));o.default=a,cc._RF.pop()},{}],OneSlotNode:[function(e,t,o){"use strict";cc._RF.push(t,"3feac2NXWpIho5/FIswFATz","OneSlotNode");var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),r=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,c=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(c=(r<3?i(c):r>3?i(t,o,c):i(t,o))||c);return r>3&&c&&Object.defineProperty(t,o,c),c};Object.defineProperty(o,"__esModule",{value:!0});var c=e("./GameMain"),l=e("./GloabData"),a=e("./PlayerData"),s=cc._decorator,p=s.ccclass,d=s.property,h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.labelName=null,t.cachedInfo=null,t.gameMain=null,t.alreadyOpenNext=!1,t}return i(t,e),t.prototype.InitByInfo=function(e,t){this.cachedInfo=e,this.gameMain=t,this.labelName.string=e.name,this.node.scale=e.scale},t.prototype.start=function(){this.node.on("click",this.clickFunc,this)},t.prototype.clickFunc=function(){if(l.G_Event.emit("Show_Slot_Des",this.cachedInfo.des),this.alreadyOpenNext)cc.log("\u5df2\u7ecf\u6253\u5f00\u8fc7\u4e86");else{if(!(this.cachedInfo.passw.length>0))return this.cachedInfo.type==c.InfoType.Item?(this.alreadyOpenNext=!0,this.HideThisSlot(),a.mainPlayerData.backpackItems.push(this.cachedInfo.keyid),void l.G_Event.emit("Show_Tips","\u62fe\u53d6\u4e86["+this.cachedInfo.name+"]")):void(this.cachedInfo.lockid>0?a.mainPlayerData.backpackItems.indexOf(this.cachedInfo.lockid)>=0?(l.G_Event.emit("Open_One_Slot",this.cachedInfo),this.alreadyOpenNext=!0):l.G_Event.emit("Show_Tips","\u53ef\u80fd\u9700\u8981\u9053\u5177\u6253\u5f00"):(cc.log("=clickFunc===>",this.cachedInfo.to),l.G_Event.emit("Open_One_Slot",this.cachedInfo),this.alreadyOpenNext=!0));l.G_Event.emit("Show_Pop_View",this.cachedInfo,this)}},t.prototype.HideThisSlot=function(){this.node.active=!1,l.G_Event.emit("Hide_One_Slot",this.cachedInfo)},t.prototype.onDestroy=function(){this.cachedInfo=null,this.gameMain=null},r([d(cc.Label)],t.prototype,"labelName",void 0),r([p],t)}(cc.Component);o.default=h,cc._RF.pop()},{"./GameMain":"GameMain","./GloabData":"GloabData","./PlayerData":"PlayerData"}],PlayerData:[function(e,t,o){"use strict";cc._RF.push(t,"7920fEGrF5MsKQ0WoWu5TGD","PlayerData"),Object.defineProperty(o,"__esModule",{value:!0}),o.mainPlayerData=void 0;o.mainPlayerData=new function(){this.backpackItems=[]},cc._RF.pop()},{}],PopViewNode:[function(e,t,o){"use strict";cc._RF.push(t,"1cf5eKDkQlAHZXQQ4wi21HN","PopViewNode");var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),r=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,c=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(c=(r<3?i(c):r>3?i(t,o,c):i(t,o))||c);return r>3&&c&&Object.defineProperty(t,o,c),c};Object.defineProperty(o,"__esModule",{value:!0});var c=e("./GloabData"),l=cc._decorator,a=l.ccclass,s=l.property,p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.btnClose=null,t.btnConfim=null,t.EditBox=null,t.cachedInfo=null,t.cachedsNode=null,t}return i(t,e),t.prototype.start=function(){var e=this;this.btnClose.node.on("click",function(){e.ClosePop()},this),this.btnConfim.node.on("click",function(){e.cachedInfo&&e.EditBox.string==e.cachedInfo.passw?(c.G_Event.emit("Open_One_Slot",e.cachedInfo),e.ClosePop(),e.cachedsNode.alreadyOpenNext=!0):(cc.log("\u5bc6\u7801\u9519\u8bef"),c.G_Event.emit("Show_Tips","\u5bc6\u7801\u9519\u8bef"),e.cachedsNode.alreadyOpenNext=!1)},this)},t.prototype.ClosePop=function(){this.node.removeFromParent(),this.node.destroy(),this.destroy()},t.prototype.InitPopViewByInfo=function(e,t){this.cachedInfo=e,t&&(this.cachedsNode=t)},r([s(cc.Button)],t.prototype,"btnClose",void 0),r([s(cc.Button)],t.prototype,"btnConfim",void 0),r([s(cc.EditBox)],t.prototype,"EditBox",void 0),r([a],t)}(cc.Component);o.default=p,cc._RF.pop()},{"./GloabData":"GloabData"}]},{},["GameMain","GloabData","LineNode","OneSlotNode","PlayerData","PopViewNode"]);
|
web-desktop/assets/main/native/71/71561142-4c83-4933-afca-cb7a17f67053.c06a9.png
ADDED
![]() |
web-desktop/assets/main/native/b4/b43ff3c2-02bb-4874-81f7-f2dea6970f18.83fcc.png
ADDED
![]() |
web-desktop/assets/main/native/e8/e851e89b-faa2-4484-bea6-5c01dd9f06e2.90cf4.png
ADDED
![]() |
web-desktop/assets/main/native/ed/edd215b9-2796-4a05-aaf5-81f96c9281ce.17df6.png
ADDED
![]() |
web-desktop/assets/resources/config.09ec0.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"paths":{"0":["img/HelloWorld",2],"1":["img/singleColor",2],"2":["configs/level",0],"3":["img/HelloWorld",1,1],"4":["img/singleColor",1,1]},"types":["cc.JsonAsset","cc.SpriteFrame","cc.Texture2D"],"uuids":["6aoKpq6+5BVaCIpoemqt7E","a8Anh32NZGRZegUtSgEj26","2dxuFSAjFLZqX00xlCehPY","31vIlawANFZqnzLlSuHBfc","41D7kWhyFGY7q4NDlzkazn"],"scenes":{},"redirect":[],"deps":[],"packs":{"0cfd22b7a":[0,1]},"name":"resources","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":false,"versions":{"import":["0cfd22b7a","b2b05",2,"eb0db",3,"c0670",4,"afc36"],"native":[0,"a4b27",1,"cea68"]}}
|
web-desktop/assets/resources/import/0c/0cfd22b7a.b2b05.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"type":"cc.Texture2D","data":"0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1"}
|
web-desktop/assets/resources/import/2d/2dc6e152-0231-4b66-a5f4-d319427a13d8.eb0db.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[1,0,0,[["cc.JsonAsset",["_name","json"],1]],[[0,0,1,3]],[[0,"level",{"参数详情0":"level1, level2, level3.... 表示大关卡","参数详情1":"1,type:分为三类[room,device,item], room是大场景,每关只有一个. device是可交互的设备,不限数量. item是可拾取的道具,拾取后会进入背包并从场上消失","参数详情2":"2,id:关卡内道具的唯一标记, 每个level内的id禁止重复, 不同level的id可以相同","参数详情3":"3,name:显示在屏幕上的交互点名字","参数详情4":"4,from:这个交互点从哪里进入的, 可以是空数组, 暂时没什么用","参数详情5":"5,to:这个交互点可以进入哪些交互点,可以是空数组,也可以填多个,填的本关的唯一id,{998877表示进入下一关,998876表示触发死亡,998875表示完全通关}","参数详情6":"6,lockid:如果这是一个上锁的交互点,必须填上锁的id, 和下面的keyid对应,玩家拿到keyid相同的道具后才能打开","参数详情7":"7,keyid:如果这是一把钥匙类型的道具,必须填上钥匙id,用来控制这把钥匙可以打开什么id的锁","参数详情8":"8,passw:如果这是密码锁的交互点,填入字符串密码,密码的线索可以写在各处交互点的des中","参数详情9":"9,des:点击这个交互点,屏幕上出现的提示,可以用来奖背景故事,也可以提供解密线索","参数详情10":"10,position:这个交互点在屏幕的位置, 屏幕中心为[0,0]点, ","参数详情11":"11,scale:这个交互点的大小, 默认为1","level1":[{"type":"room","id":1,"name":"卧室","lockid":-1,"keyid":-1,"passw":"","des":"一个陌生的卧室,连个窗户都没有,我得赶紧离开这个房间","scale":2,"from":[],"to":[2,4,5,7],"position":[0,0]},{"type":"device","id":2,"name":"衣柜","lockid":-1,"keyid":-1,"passw":"6548","des":"一个衣柜,需要密码打开","scale":1,"from":[1],"to":[10,11,12],"position":[260,90]},{"type":"device","id":4,"name":"卧室门(出口)","lockid":1,"keyid":-1,"passw":"","des":"卧室门,但是被锁住了,应该需要钥匙","scale":1,"from":[1],"to":[998877],"position":[-420,-20]},{"type":"device","id":5,"name":"床头柜","lockid":-1,"keyid":-1,"passw":"","des":"一个普通的床头柜,上面有张撕坏的纸条","scale":1,"from":[1],"to":[6,9],"position":[-340,100]},{"type":"device","id":6,"name":"撕毁的纸条(1)","lockid":-1,"keyid":-1,"passw":"","des":"爸爸说衣柜很危险,小孩子不能碰,所以他上锁了,密码好像是13096的...(后面的内容被撕毁了)","scale":0.7,"from":[5],"to":[],"position":[-510,100]},{"type":"device","id":7,"name":"红色的地毯","lockid":3,"keyid":-1,"passw":"","des":"红色的地毯,地毯有明显缝过的痕迹,可能用剪刀可以剪开","scale":1,"from":[1],"to":[8],"position":[0,-190]},{"type":"device","id":8,"name":"撕毁的纸条(2)","lockid":-1,"keyid":-1,"passw":"","des":"今天爸爸教我数学,说除以二的意思就是分一半,4的一半是2,2的一半是1,人的一半是...(后面的内容被撕毁了)","scale":0.7,"from":[7],"to":[],"position":[0,-270]},{"type":"item","id":9,"name":"剪刀","lockid":-1,"keyid":3,"passw":"","des":"可以剪开某些东西","scale":0.7,"from":[7],"to":[],"position":[-510,200]},{"type":"device","id":10,"name":"一张合照","lockid":-1,"keyid":-1,"passw":"","des":"一张父母加女儿三人的全家福合照,面部全部被黑灰色遮盖住了,无法看清三人的长相,照片背后写着[0639,0417,1496]","scale":0.7,"from":[2],"to":[],"position":[510,200]},{"type":"device","id":11,"name":"沾血的信","lockid":-1,"keyid":-1,"passw":"","des":"孩子,实在是没想到情况会变成这样子,你是无辜的,如果你看到这封信,就表示你已经恢复意识了,并且[ta]也消停了一会,请赶紧离开这个房子,卧室钥匙就在旁边的铁盒里,密码我写在照片背面,是你的生日,尽快尽快,爸爸对不起你","scale":0.7,"from":[2],"to":[],"position":[510,0]},{"type":"device","id":12,"name":"上锁的小盒子","lockid":-1,"keyid":-1,"passw":"0417","des":"上锁的铁盒子,拿起晃了晃,发出了哐啷哐啷的声音","scale":0.7,"from":[2],"to":[3],"position":[510,-100]},{"type":"item","id":3,"name":"卧室门钥匙","lockid":-1,"keyid":1,"passw":"","des":"","scale":0.7,"from":[12],"to":[],"position":[420,-200]}],"level2":[{"type":"room","id":1,"name":"走廊","lockid":-1,"keyid":-1,"passw":"","des":"从主卧来到了走廊,还是不知道这里是什么地方,我是这家人的女儿吗?我得赶紧离开这个房子去外面求助!","scale":1.4,"from":[],"to":[8],"position":[-300,-300]},{"type":"device","id":2,"name":"次卧","lockid":-1,"keyid":-1,"passw":"","des":"","scale":1,"from":[1],"to":[],"position":[-200,100]},{"type":"device","id":4,"name":"储物间","lockid":2,"keyid":-1,"passw":"","des":"","scale":1,"from":[1],"to":[],"position":[-10,100]},{"type":"device","id":5,"name":"卫生间","lockid":-1,"keyid":-1,"passw":"","des":"","scale":1,"from":[1],"to":[],"position":[-10,-100]},{"type":"device","id":6,"name":"盆栽装饰","lockid":-1,"keyid":-1,"passw":"","des":"","scale":1,"from":[1],"to":[998876],"position":[190,-300]},{"type":"device","id":7,"name":"楼梯铁门(出口)","lockid":-1,"keyid":-1,"passw":"98769876","des":"楼梯口有个铁门,用密码锁锁住了,通过缝隙可以看到下楼的台阶","scale":1,"from":[1],"to":[998875],"position":[300,100]},{"type":"device","id":8,"name":"卧室门上的纸条","lockid":-1,"keyid":-1,"passw":"","des":"孩子,你已经离开了主卧来到了二楼走廊,之前为了防止[ta]伤害你,我把楼梯安装了铁门和密码锁.\n现在整个房子都陷入了诡异的事情,几乎任何地方都是不安全的,你一定要牢记以下规则:\n1:房子只有两层,如果在二楼还看见上楼的梯子,请立刻远离上楼的梯子.\n2:因为你对花粉过敏,所以家里没有任何绿植.\n3:[楼梯门]密码是6745,如果发现密码打不开门,就表示[ta]曾经来过并且换掉了密码,你需要去[储物间]找到电箱将电梯门的密码随机成新的","scale":0.7,"from":[1],"to":[2,4,5,6,7],"position":[-450,-160]}]}]],0,0,[],[],[]]
|
web-desktop/assets/resources/import/31/31bc895a-c003-4566-a9f3-2e54ae1c17dc.c0670.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[1,["6aoKpq6+5BVaCIpoemqt7E"],["_textureSetter"],["cc.SpriteFrame"],0,[{"name":"HelloWorld","rect":[44,14,175,226],"offset":[3.5,1],"originalSize":[256,256],"capInsets":[0,0,0,0]}],[0],0,[0],[0],[0]]
|
web-desktop/assets/resources/import/41/410fb916-8721-4663-bab8-34397391ace7.afc36.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[1,["a8Anh32NZGRZegUtSgEj26"],["_textureSetter"],["cc.SpriteFrame"],0,[{"name":"singleColor","rect":[0,0,2,2],"offset":[0,0],"originalSize":[2,2],"capInsets":[0,0,0,0]}],[0],0,[0],[0],[0]]
|
web-desktop/assets/resources/index.09ec0.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
(function r(e,n,t){function i(u,f){if(!n[u]){if(!e[u]){var _=u.split("/");if(_=_[_.length-1],!e[_]){var p="function"==typeof __require&&__require;if(!f&&p)return p(_,!0);if(o)return o(_,!0);throw new Error("Cannot find module '"+u+"'")}u=_}var a=n[u]={exports:{}};e[u][0].call(a.exports,function(r){return i(e[u][1][r]||r)},a,a.exports,r,e,n,t)}return n[u].exports}for(var o="function"==typeof __require&&__require,u=0;u<t.length;u++)i(t[u]);return i})({},{},[]);
|
web-desktop/assets/resources/native/6a/6aa0aa6a-ebee-4155-a088-a687a6aadec4.a4b27.png
ADDED
![]() |
web-desktop/assets/resources/native/a8/a8027877-d8d6-4645-97a0-52d4a0123dba.cea68.png
ADDED
![]() |
web-desktop/cocos2d-js-min.2773f.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
web-desktop/favicon.8de18.ico
ADDED
|
web-desktop/index.html
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
|
6 |
+
<title>Cocos Creator | hello_world</title>
|
7 |
+
|
8 |
+
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1, minimum-scale=1,maximum-scale=1"/>
|
9 |
+
<meta name="apple-mobile-web-app-capable" content="yes"/>
|
10 |
+
<meta name="full-screen" content="yes"/>
|
11 |
+
<meta name="screen-orientation" content="portrait"/>
|
12 |
+
<meta name="x5-fullscreen" content="true"/>
|
13 |
+
<meta name="360-fullscreen" content="true"/>
|
14 |
+
|
15 |
+
<meta name="renderer" content="webkit"/>
|
16 |
+
<meta name="force-rendering" content="webkit"/>
|
17 |
+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
|
18 |
+
|
19 |
+
<link rel="stylesheet" type="text/css" href="style-desktop.81ede.css"/>
|
20 |
+
<link rel="icon" href="favicon.8de18.ico"/>
|
21 |
+
</head>
|
22 |
+
<body>
|
23 |
+
<h1 class="header">hello_world</h1>
|
24 |
+
|
25 |
+
<div id="GameDiv" style="width:1280px; height: 720px;">
|
26 |
+
<canvas id="GameCanvas" width="1280" height="720"></canvas>
|
27 |
+
<div id="splash">
|
28 |
+
<div class="progress-bar stripes">
|
29 |
+
<span style="width: 0%"></span>
|
30 |
+
</div>
|
31 |
+
</div>
|
32 |
+
</div>
|
33 |
+
|
34 |
+
<p class="footer">Made with <a href="https://www.cocos.com/products#CocosCreator" title="cocos creator">Cocos Creator</a></p>
|
35 |
+
|
36 |
+
<script src="src/settings.6b2ba.js" charset="utf-8"></script>
|
37 |
+
<script src="main.2f911.js" charset="utf-8"></script>
|
38 |
+
|
39 |
+
<script type="text/javascript">
|
40 |
+
(function () {
|
41 |
+
// open web debugger console
|
42 |
+
if (typeof VConsole !== 'undefined') {
|
43 |
+
window.vConsole = new VConsole();
|
44 |
+
}
|
45 |
+
|
46 |
+
var debug = window._CCSettings.debug;
|
47 |
+
var splash = document.getElementById('splash');
|
48 |
+
splash.style.display = 'block';
|
49 |
+
|
50 |
+
function loadScript (moduleName, cb) {
|
51 |
+
function scriptLoaded () {
|
52 |
+
document.body.removeChild(domScript);
|
53 |
+
domScript.removeEventListener('load', scriptLoaded, false);
|
54 |
+
cb && cb();
|
55 |
+
};
|
56 |
+
var domScript = document.createElement('script');
|
57 |
+
domScript.async = true;
|
58 |
+
domScript.src = moduleName;
|
59 |
+
domScript.addEventListener('load', scriptLoaded, false);
|
60 |
+
document.body.appendChild(domScript);
|
61 |
+
}
|
62 |
+
|
63 |
+
loadScript(debug ? 'cocos2d-js.js' : 'cocos2d-js-min.2773f.js', function () {
|
64 |
+
if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) {
|
65 |
+
loadScript(debug ? 'physics.js' : 'physics-min.941a2.js', window.boot);
|
66 |
+
}
|
67 |
+
else {
|
68 |
+
window.boot();
|
69 |
+
}
|
70 |
+
});
|
71 |
+
})();
|
72 |
+
</script>
|
73 |
+
|
74 |
+
</body>
|
75 |
+
</html>
|
web-desktop/main.2f911.js
ADDED
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
window.boot = function () {
|
2 |
+
var settings = window._CCSettings;
|
3 |
+
window._CCSettings = undefined;
|
4 |
+
var onProgress = null;
|
5 |
+
|
6 |
+
var RESOURCES = cc.AssetManager.BuiltinBundleName.RESOURCES;
|
7 |
+
var INTERNAL = cc.AssetManager.BuiltinBundleName.INTERNAL;
|
8 |
+
var MAIN = cc.AssetManager.BuiltinBundleName.MAIN;
|
9 |
+
function setLoadingDisplay () {
|
10 |
+
// Loading splash scene
|
11 |
+
var splash = document.getElementById('splash');
|
12 |
+
var progressBar = splash.querySelector('.progress-bar span');
|
13 |
+
onProgress = function (finish, total) {
|
14 |
+
var percent = 100 * finish / total;
|
15 |
+
if (progressBar) {
|
16 |
+
progressBar.style.width = percent.toFixed(2) + '%';
|
17 |
+
}
|
18 |
+
};
|
19 |
+
splash.style.display = 'block';
|
20 |
+
progressBar.style.width = '0%';
|
21 |
+
|
22 |
+
cc.director.once(cc.Director.EVENT_AFTER_SCENE_LAUNCH, function () {
|
23 |
+
splash.style.display = 'none';
|
24 |
+
});
|
25 |
+
}
|
26 |
+
|
27 |
+
var onStart = function () {
|
28 |
+
|
29 |
+
cc.view.enableRetina(true);
|
30 |
+
cc.view.resizeWithBrowserSize(true);
|
31 |
+
|
32 |
+
if (cc.sys.isBrowser) {
|
33 |
+
setLoadingDisplay();
|
34 |
+
}
|
35 |
+
|
36 |
+
if (cc.sys.isMobile) {
|
37 |
+
if (settings.orientation === 'landscape') {
|
38 |
+
cc.view.setOrientation(cc.macro.ORIENTATION_LANDSCAPE);
|
39 |
+
}
|
40 |
+
else if (settings.orientation === 'portrait') {
|
41 |
+
cc.view.setOrientation(cc.macro.ORIENTATION_PORTRAIT);
|
42 |
+
}
|
43 |
+
cc.view.enableAutoFullScreen([
|
44 |
+
cc.sys.BROWSER_TYPE_BAIDU,
|
45 |
+
cc.sys.BROWSER_TYPE_BAIDU_APP,
|
46 |
+
cc.sys.BROWSER_TYPE_WECHAT,
|
47 |
+
cc.sys.BROWSER_TYPE_MOBILE_QQ,
|
48 |
+
cc.sys.BROWSER_TYPE_MIUI,
|
49 |
+
cc.sys.BROWSER_TYPE_HUAWEI,
|
50 |
+
cc.sys.BROWSER_TYPE_UC,
|
51 |
+
].indexOf(cc.sys.browserType) < 0);
|
52 |
+
}
|
53 |
+
|
54 |
+
// Limit downloading max concurrent task to 2,
|
55 |
+
// more tasks simultaneously may cause performance draw back on some android system / browsers.
|
56 |
+
// You can adjust the number based on your own test result, you have to set it before any loading process to take effect.
|
57 |
+
if (cc.sys.isBrowser && cc.sys.os === cc.sys.OS_ANDROID) {
|
58 |
+
cc.assetManager.downloader.maxConcurrency = 2;
|
59 |
+
cc.assetManager.downloader.maxRequestsPerFrame = 2;
|
60 |
+
}
|
61 |
+
|
62 |
+
var launchScene = settings.launchScene;
|
63 |
+
var bundle = cc.assetManager.bundles.find(function (b) {
|
64 |
+
return b.getSceneInfo(launchScene);
|
65 |
+
});
|
66 |
+
|
67 |
+
bundle.loadScene(launchScene, null, onProgress,
|
68 |
+
function (err, scene) {
|
69 |
+
if (!err) {
|
70 |
+
cc.director.runSceneImmediate(scene);
|
71 |
+
if (cc.sys.isBrowser) {
|
72 |
+
// show canvas
|
73 |
+
var canvas = document.getElementById('GameCanvas');
|
74 |
+
canvas.style.visibility = '';
|
75 |
+
var div = document.getElementById('GameDiv');
|
76 |
+
if (div) {
|
77 |
+
div.style.backgroundImage = '';
|
78 |
+
}
|
79 |
+
console.log('Success to load scene: ' + launchScene);
|
80 |
+
}
|
81 |
+
}
|
82 |
+
}
|
83 |
+
);
|
84 |
+
|
85 |
+
};
|
86 |
+
|
87 |
+
var option = {
|
88 |
+
id: 'GameCanvas',
|
89 |
+
debugMode: settings.debug ? cc.debug.DebugMode.INFO : cc.debug.DebugMode.ERROR,
|
90 |
+
showFPS: settings.debug,
|
91 |
+
frameRate: 60,
|
92 |
+
groupList: settings.groupList,
|
93 |
+
collisionMatrix: settings.collisionMatrix,
|
94 |
+
};
|
95 |
+
|
96 |
+
cc.assetManager.init({
|
97 |
+
bundleVers: settings.bundleVers,
|
98 |
+
remoteBundles: settings.remoteBundles,
|
99 |
+
server: settings.server
|
100 |
+
});
|
101 |
+
|
102 |
+
var bundleRoot = [INTERNAL];
|
103 |
+
settings.hasResourcesBundle && bundleRoot.push(RESOURCES);
|
104 |
+
|
105 |
+
var count = 0;
|
106 |
+
function cb (err) {
|
107 |
+
if (err) return console.error(err.message, err.stack);
|
108 |
+
count++;
|
109 |
+
if (count === bundleRoot.length + 1) {
|
110 |
+
cc.assetManager.loadBundle(MAIN, function (err) {
|
111 |
+
if (!err) cc.game.run(option, onStart);
|
112 |
+
});
|
113 |
+
}
|
114 |
+
}
|
115 |
+
|
116 |
+
cc.assetManager.loadScript(settings.jsList.map(function (x) { return 'src/' + x;}), cb);
|
117 |
+
|
118 |
+
for (var i = 0; i < bundleRoot.length; i++) {
|
119 |
+
cc.assetManager.loadBundle(bundleRoot[i], cb);
|
120 |
+
}
|
121 |
+
};
|
122 |
+
|
123 |
+
if (window.jsb) {
|
124 |
+
var isRuntime = (typeof loadRuntime === 'function');
|
125 |
+
if (isRuntime) {
|
126 |
+
require('src/settings.6b2ba.js');
|
127 |
+
require('src/cocos2d-runtime.js');
|
128 |
+
if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) {
|
129 |
+
require('src/physics.js');
|
130 |
+
}
|
131 |
+
require('jsb-adapter/engine/index.js');
|
132 |
+
}
|
133 |
+
else {
|
134 |
+
require('src/settings.6b2ba.js');
|
135 |
+
require('src/cocos2d-jsb.js');
|
136 |
+
if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) {
|
137 |
+
require('src/physics.js');
|
138 |
+
}
|
139 |
+
require('jsb-adapter/jsb-engine.js');
|
140 |
+
}
|
141 |
+
|
142 |
+
cc.macro.CLEANUP_IMAGE_CACHE = true;
|
143 |
+
window.boot();
|
144 |
+
}
|
web-desktop/physics-min.941a2.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
web-desktop/splash.85cfd.png
ADDED
![]() |
web-desktop/src/settings.6b2ba.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
window._CCSettings={platform:"web-desktop",groupList:["default"],collisionMatrix:[[true]],hasResourcesBundle:true,hasStartSceneBundle:false,remoteBundles:[],subpackages:[],launchScene:"db://assets/Scene/main.fire",orientation:"landscape",jsList:[],bundleVers:{resources:"09ec0",internal:"d17e2",main:"f5ff0"}};
|
web-desktop/style-desktop.81ede.css
ADDED
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
body {
|
2 |
+
cursor: default;
|
3 |
+
padding: 0;
|
4 |
+
border: 0;
|
5 |
+
margin: 0;
|
6 |
+
|
7 |
+
text-align: center;
|
8 |
+
background-color: white;
|
9 |
+
font-family: Helvetica, Verdana, Arial, sans-serif;
|
10 |
+
}
|
11 |
+
|
12 |
+
body, canvas, div {
|
13 |
+
outline: none;
|
14 |
+
-moz-user-select: none;
|
15 |
+
-webkit-user-select: none;
|
16 |
+
-ms-user-select: none;
|
17 |
+
-khtml-user-select: none;
|
18 |
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
19 |
+
}
|
20 |
+
|
21 |
+
/* Remove spin of input type number */
|
22 |
+
input::-webkit-outer-spin-button,
|
23 |
+
input::-webkit-inner-spin-button {
|
24 |
+
/* display: none; <- Crashes Chrome on hover */
|
25 |
+
-webkit-appearance: none;
|
26 |
+
margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
|
27 |
+
}
|
28 |
+
|
29 |
+
#Cocos2dGameContainer {
|
30 |
+
position: absolute;
|
31 |
+
margin: 0;
|
32 |
+
overflow: hidden;
|
33 |
+
left: 0px;
|
34 |
+
top: 0px;
|
35 |
+
}
|
36 |
+
|
37 |
+
canvas {
|
38 |
+
background-color: rgba(0, 0, 0, 0);
|
39 |
+
}
|
40 |
+
|
41 |
+
a:link, a:visited {
|
42 |
+
color: #000;
|
43 |
+
}
|
44 |
+
|
45 |
+
a:active, a:hover {
|
46 |
+
color: #666;
|
47 |
+
}
|
48 |
+
|
49 |
+
p.header {
|
50 |
+
font-size: small;
|
51 |
+
}
|
52 |
+
|
53 |
+
p.footer {
|
54 |
+
font-size: x-small;
|
55 |
+
}
|
56 |
+
|
57 |
+
#splash {
|
58 |
+
position: absolute;
|
59 |
+
top: 0;
|
60 |
+
left: 0;
|
61 |
+
width: 100%;
|
62 |
+
height: 100%;
|
63 |
+
|
64 |
+
background: #171717 url(./splash.85cfd.png) no-repeat center;
|
65 |
+
background-size: 350px;
|
66 |
+
}
|
67 |
+
|
68 |
+
.progress-bar {
|
69 |
+
background-color: #1a1a1a;
|
70 |
+
position: absolute;
|
71 |
+
left: 50%;
|
72 |
+
top: 80%;
|
73 |
+
height: 5px;
|
74 |
+
width: 300px;
|
75 |
+
margin: 0 -150px;
|
76 |
+
border-radius: 5px;
|
77 |
+
box-shadow: 0 1px 5px #000 inset, 0 1px 0 #444;
|
78 |
+
}
|
79 |
+
|
80 |
+
.progress-bar span {
|
81 |
+
display: block;
|
82 |
+
height: 100%;
|
83 |
+
border-radius: 5px;
|
84 |
+
box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset;
|
85 |
+
transition: width .4s ease-in-out;
|
86 |
+
background-color: #3dc5de;
|
87 |
+
}
|
88 |
+
|
89 |
+
.stripes span {
|
90 |
+
background-size: 30px 30px;
|
91 |
+
background-image: linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
|
92 |
+
transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
|
93 |
+
transparent 75%, transparent);
|
94 |
+
|
95 |
+
animation: animate-stripes 1s linear infinite;
|
96 |
+
}
|
97 |
+
|
98 |
+
@keyframes animate-stripes {
|
99 |
+
0% {background-position: 0 0;} 100% {background-position: 60px 0;}
|
100 |
+
}
|
101 |
+
|
102 |
+
h1 {
|
103 |
+
color: #444;
|
104 |
+
text-shadow: 3px 3px 15px;
|
105 |
+
}
|
106 |
+
|
107 |
+
#GameDiv {
|
108 |
+
width: 800px;
|
109 |
+
height: 450px;
|
110 |
+
margin: 0 auto;
|
111 |
+
background: black;
|
112 |
+
position: relative;
|
113 |
+
border: 3px solid black;
|
114 |
+
border-radius: 6px;
|
115 |
+
box-shadow: 0 5px 40px #333
|
116 |
+
}
|
web-desktop/style-mobile.25fc5.css
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
html {
|
2 |
+
-ms-touch-action: none;
|
3 |
+
}
|
4 |
+
|
5 |
+
body, canvas, div {
|
6 |
+
display: block;
|
7 |
+
outline: none;
|
8 |
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
9 |
+
|
10 |
+
user-select: none;
|
11 |
+
-moz-user-select: none;
|
12 |
+
-webkit-user-select: none;
|
13 |
+
-ms-user-select: none;
|
14 |
+
-khtml-user-select: none;
|
15 |
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
16 |
+
}
|
17 |
+
|
18 |
+
/* Remove spin of input type number */
|
19 |
+
input::-webkit-outer-spin-button,
|
20 |
+
input::-webkit-inner-spin-button {
|
21 |
+
/* display: none; <- Crashes Chrome on hover */
|
22 |
+
-webkit-appearance: none;
|
23 |
+
margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
|
24 |
+
}
|
25 |
+
|
26 |
+
body {
|
27 |
+
position: absolute;
|
28 |
+
top: 0;
|
29 |
+
left: 0;
|
30 |
+
width: 100%;
|
31 |
+
height: 100%;
|
32 |
+
padding: 0;
|
33 |
+
border: 0;
|
34 |
+
margin: 0;
|
35 |
+
|
36 |
+
cursor: default;
|
37 |
+
color: #888;
|
38 |
+
background-color: #333;
|
39 |
+
|
40 |
+
text-align: center;
|
41 |
+
font-family: Helvetica, Verdana, Arial, sans-serif;
|
42 |
+
|
43 |
+
display: flex;
|
44 |
+
flex-direction: column;
|
45 |
+
|
46 |
+
/* fix bug: https://github.com/cocos-creator/2d-tasks/issues/791 */
|
47 |
+
/* overflow cannot be applied in Cocos2dGameContainer,
|
48 |
+
otherwise child elements will be hidden when Cocos2dGameContainer rotated 90 deg */
|
49 |
+
overflow: hidden;
|
50 |
+
}
|
51 |
+
|
52 |
+
#Cocos2dGameContainer {
|
53 |
+
position: absolute;
|
54 |
+
margin: 0;
|
55 |
+
left: 0px;
|
56 |
+
top: 0px;
|
57 |
+
|
58 |
+
display: -webkit-box;
|
59 |
+
-webkit-box-orient: horizontal;
|
60 |
+
-webkit-box-align: center;
|
61 |
+
-webkit-box-pack: center;
|
62 |
+
}
|
63 |
+
|
64 |
+
canvas {
|
65 |
+
background-color: rgba(0, 0, 0, 0);
|
66 |
+
}
|
67 |
+
|
68 |
+
a:link, a:visited {
|
69 |
+
color: #666;
|
70 |
+
}
|
71 |
+
|
72 |
+
a:active, a:hover {
|
73 |
+
color: #666;
|
74 |
+
}
|
75 |
+
|
76 |
+
p.header {
|
77 |
+
font-size: small;
|
78 |
+
}
|
79 |
+
|
80 |
+
p.footer {
|
81 |
+
font-size: x-small;
|
82 |
+
}
|
83 |
+
|
84 |
+
#splash {
|
85 |
+
position: absolute;
|
86 |
+
top: 0;
|
87 |
+
left: 0;
|
88 |
+
width: 100%;
|
89 |
+
height: 100%;
|
90 |
+
background: #171717 url(./splash.85cfd.png) no-repeat center;
|
91 |
+
background-size: 45%;
|
92 |
+
}
|
93 |
+
|
94 |
+
.progress-bar {
|
95 |
+
position: absolute;
|
96 |
+
left: 27.5%;
|
97 |
+
top: 80%;
|
98 |
+
height: 3px;
|
99 |
+
padding: 2px;
|
100 |
+
width: 45%;
|
101 |
+
border-radius: 7px;
|
102 |
+
box-shadow: 0 1px 5px #000 inset, 0 1px 0 #444;
|
103 |
+
}
|
104 |
+
|
105 |
+
.progress-bar span {
|
106 |
+
display: block;
|
107 |
+
height: 100%;
|
108 |
+
border-radius: 3px;
|
109 |
+
transition: width .4s ease-in-out;
|
110 |
+
background-color: #3dc5de;
|
111 |
+
}
|
112 |
+
|
113 |
+
.stripes span {
|
114 |
+
background-size: 30px 30px;
|
115 |
+
background-image: linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
|
116 |
+
transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
|
117 |
+
transparent 75%, transparent);
|
118 |
+
|
119 |
+
animation: animate-stripes 1s linear infinite;
|
120 |
+
}
|
121 |
+
|
122 |
+
@keyframes animate-stripes {
|
123 |
+
0% {background-position: 0 0;} 100% {background-position: 60px 0;}
|
124 |
+
}
|
web-mobile/assets/internal/config.d17e2.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
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-particle",1],"9":["materials/builtin-3d-trail",1],"11":["effects/builtin-unlit",0],"12":["materials/builtin-2d-base",1],"13":["materials/builtin-2d-spine",1],"14":["effects/builtin-3d-particle",0],"15":["materials/builtin-2d-graphics",1],"16":["effects/builtin-clear-stencil",0],"17":["materials/builtin-clear-stencil",1],"18":["materials/builtin-2d-label",1],"19":["materials/builtin-2d-sprite",1],"20":["effects/builtin-2d-label",0]},"types":["cc.EffectAsset","cc.Material"],"uuids":["02delMVqdBD70a/HSD99FK","0ek66qC1NOQLjgYmi04HvX","14TDKXr2NJ6LjvHPops74o","28dPjdQWxEQIG3VVl1Qm6T","2aKWBXJHxKHLvrBUi2yYZQ","2afAA24LNP4YmYiaVLiivs","30aC+Hnw1PF4pEcoY3kUYb","3ae7efMv1CLq2ilvUY/tQi","43L6CczwNM/6GGmCYEQIoH","46bU+b5fROqIXVPG6aZWWK","60AwGqM1dKELCGhPAR+jK6","6dkeWRTOBGXICfYQ7JUBnG","6fgBCSDDdPMInvyNlggls2","7a/QZLET9IDreTiBfRn2PD","82migssElAGb04Ws6NimQX","a1U5RdJRFMFL57BdJC9H1X","c0BAyVxX9JzZy8EjFrc9DU","cffgu4qBxEqa150o1DmRAy","e0LYfU5ZlNFoAB4UiRrGUG","ecpdLyjvZBwrvm+cedCcQy","f1h0LXVtJOta5JLZ1xCzfI"],"scenes":{},"redirect":[],"deps":[],"packs":{"0b6c4470e":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]},"name":"internal","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":false,"versions":{"import":["0b6c4470e","9537f"],"native":[0,"cea68",10,"c3a3a"]}}
|
web-mobile/assets/internal/import/0b/0b6c4470e.9537f.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
web-mobile/assets/internal/index.d17e2.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
(function r(e,n,t){function i(u,f){if(!n[u]){if(!e[u]){var _=u.split("/");if(_=_[_.length-1],!e[_]){var p="function"==typeof __require&&__require;if(!f&&p)return p(_,!0);if(o)return o(_,!0);throw new Error("Cannot find module '"+u+"'")}u=_}var a=n[u]={exports:{}};e[u][0].call(a.exports,function(r){return i(e[u][1][r]||r)},a,a.exports,r,e,n,t)}return n[u].exports}for(var o="function"==typeof __require&&__require,u=0;u<t.length;u++)i(t[u]);return i})({},{},[]);
|
web-mobile/assets/internal/native/02/0275e94c-56a7-410f-bd1a-fc7483f7d14a.cea68.png
ADDED
![]() |
web-mobile/assets/internal/native/60/600301aa-3357-4a10-b086-84f011fa32ba.c3a3a.png
ADDED
![]() |
web-mobile/assets/main/config.f5ff0.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"paths":{},"types":[],"uuids":["2dL3kvpAxJu6GJ7RdqJG5J","71VhFCTINJM6/Ky3oX9nBT","b4P/PCArtIdIH38t6mlw8Y","e8Ueib+qJEhL6mXAHdnwbi","ed0hW5J5ZKBar1gflskoHO","02delMVqdBD70a/HSD99FK","29FYIk+N1GYaeWH/q1NxQO","2dxuFSAjFLZqX00xlCehPY","3ae7efMv1CLq2ilvUY/tQi","41D7kWhyFGY7q4NDlzkazn","a2MjXRFdtLlYQ5ouAFv/+R","bdsyZlz4xBO5zfPDJQN+oo","bfWlSLZRpAGagZRXLAWXg9","d5IdoYIMREkI/uG5YwUWnI","e97GVMl6JHh5Ml5qEDdSGa","ecpdLyjvZBwrvm+cedCcQy","f0BIwQ8D5Ml7nTNQbh1YlS","ffDpHHVcZAhqOfy25Fe4w7"],"scenes":{"db://assets/Scene/main.fire":0},"redirect":[5,0,7,1,8,0,9,1,15,0],"deps":["internal","resources"],"packs":{"037822e4a":[1,2,3,4],"09ae089d6":[6,0,10,11,12,13,14,16,17]},"name":"main","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":false,"versions":{"import":["037822e4a","8ff53","09ae089d6","da42f"],"native":[1,"c06a9",2,"83fcc",3,"90cf4",4,"17df6"]}}
|
web-mobile/assets/main/import/03/037822e4a.8ff53.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"type":"cc.Texture2D","data":"0,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"}
|
web-mobile/assets/main/import/09/09ae089d6.da42f.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[1,["ecpdLyjvZBwrvm+cedCcQy","f0BIwQ8D5Ml7nTNQbh1YlS","a2MjXRFdtLlYQ5ouAFv/+R","41D7kWhyFGY7q4NDlzkazn","e97GVMl6JHh5Ml5qEDdSGa","29FYIk+N1GYaeWH/q1NxQO","71VhFCTINJM6/Ky3oX9nBT","2dxuFSAjFLZqX00xlCehPY","bfWlSLZRpAGagZRXLAWXg9","bdsyZlz4xBO5zfPDJQN+oo","d5IdoYIMREkI/uG5YwUWnI","02delMVqdBD70a/HSD99FK","ffDpHHVcZAhqOfy25Fe4w7","3ae7efMv1CLq2ilvUY/tQi","b4P/PCArtIdIH38t6mlw8Y","e8Ueib+qJEhL6mXAHdnwbi","ed0hW5J5ZKBar1gflskoHO"],["node","_spriteFrame","_textureSetter","_parent","_N$normalSprite","_N$pressedSprite","_N$hoverSprite","_N$disabledSprite","root","data","labelTips","nodeTips","labelDes","nodeRoot","labelResLabel","resultNode","nodeMenu","btnStart","scene","levelConfig","prefabSlot","prefabPop","prefabLineNode","EditBox","btnConfim","btnClose","labelName","_N$target","_normalMaterial","_grayMaterial"],[["cc.Node",["_name","_objFlags","_active","_id","_components","_contentSize","_parent","_color","_children","_prefab","_trs","_anchorPoint"],-1,9,5,1,5,2,4,7,5],["cc.Label",["_N$verticalAlign","_fontSize","_N$horizontalAlign","_N$overflow","_string","_lineHeight","_enableWrapText","_N$cacheMode","_styleFlags","node","_materials"],-6,1,3],["cc.Widget",["_alignFlags","_originalWidth","_originalHeight","_top","_left","alignMode","_right","_bottom","node"],-5,1],"cc.SpriteFrame",["cc.Node",["_name","_parent","_components","_contentSize","_children","_trs","_color","_prefab"],2,1,2,5,2,7,5,4],["cc.Node",["_name","_objFlags","_active","_parent","_components","_contentSize","_anchorPoint","_trs","_prefab"],0,1,12,5,5,7,4],["cc.Button",["_N$transition","zoomScale","node","_N$target","_N$normalColor","_N$pressedColor","_N$disabledColor","_N$normalSprite","_N$pressedSprite","_N$hoverSprite","_N$disabledSprite","_normalMaterial","_grayMaterial"],1,1,1,5,5,5,6,6,6,6,6,6],["cc.Sprite",["_sizeMode","_type","node","_materials","_spriteFrame"],1,1,3,6],["cc.PrefabInfo",["fileId","root","asset"],2,1,1],["cc.SceneAsset",["_name","asyncLoadAssets"],1],["cc.Canvas",["node","_designResolution"],3,1,5],["e1b90/rohdEk4SdmmEZANaD",["node","btnStart","nodeMenu","resultNode","labelResLabel","nodeRoot","labelDes","nodeTips","labelTips","levelConfig","prefabSlot","prefabPop","prefabLineNode"],3,1,1,1,1,1,1,1,1,1,6,6,6,6],["cc.BlockInputEvents",["node"],3,1],["cc.Scene",["_name","_active","_children","_anchorPoint","_trs"],1,2,5,7],["cc.Camera",["_clearFlags","_depth","node"],1,1],["cc.Prefab",["_name"],2],["1cf5eKDkQlAHZXQQ4wi21HN",["node","btnClose","btnConfim","EditBox"],3,1,1,1,1],["cc.EditBox",["maxLength","_N$inputMode","node","_N$textLabel","_N$placeholderLabel","_N$background"],1,1,1,1,1],["3feac2NXWpIho5/FIswFATz",["node","labelName"],3,1,1],["24346ODKttEbLBlEJMy7A+J",["node"],3,1]],[[8,0,1,2,2],[7,1,0,2,3,4,3],[2,5,0,1,2,8,5],[7,0,2,3,4,2],[4,0,1,4,2,7,3,5,2],[2,0,1,2,8,4],[12,0,1],[15,0,2],[8,1,2,1],[0,0,2,6,8,4,7,5,3],[0,0,1,8,4,5,3],[0,0,1,6,4,7,5,3],[0,0,8,4,9,7,5,10,2],[0,0,1,8,4,9,5,10,3],[0,0,6,4,9,5,2],[0,0,1,6,4,9,7,5,3],[2,5,0,4,1,2,8,6],[6,1,0,2,4,5,6,3,3],[1,4,1,6,2,0,3,7,9,10,8],[9,0,1,3],[0,0,3,8,4,7,5,10,3],[0,0,2,6,8,4,7,5,10,3],[0,0,6,4,7,5,2],[0,0,2,6,8,4,5,10,3],[0,0,6,4,2],[0,0,6,5,2],[0,0,6,4,9,7,5,2],[0,0,4,9,5,11,2],[5,0,3,4,5,6,7,2],[5,0,1,3,4,8,5,3],[5,0,1,2,3,4,8,5,6,7,4],[5,0,1,3,4,8,5,6,7,3],[4,0,1,4,2,3,5,2],[4,0,1,2,6,3,2],[4,0,1,2,3,2],[4,0,1,2,7,6,3,2],[10,0,1,1],[11,0,1,2,3,4,5,6,7,8,9,10,11,12,1],[2,0,8,2],[2,0,3,8,3],[2,0,4,6,3,1,8,6],[2,0,4,6,3,7,1,2,8,8],[7,1,0,2,3,3],[6,0,2,4,5,6,3,7,8,9,10,2],[6,0,2,4,5,6,3,2],[6,1,0,2,3,11,12,3],[13,0,1,2,3,4,3],[14,0,1,2,3],[1,1,5,8,2,3,9,10,6],[1,4,1,5,8,2,0,9,10,7],[1,4,2,0,9,10,4],[1,4,6,2,0,3,7,9,10,7],[1,4,1,5,6,2,0,3,7,9,10,9],[1,1,5,6,0,3,9,6],[1,4,1,5,6,0,3,9,10,7],[1,4,1,5,2,0,3,9,10,7],[16,0,1,2,3,1],[17,0,1,2,3,4,5,3],[18,0,1,1],[19,0,1]],[[[{"name":"default_btn_disabled","rect":[0,0,40,40],"offset":[0,0],"originalSize":[40,40],"capInsets":[12,12,12,12]}],[3],0,[0],[2],[6]],[[[19,"main",null],[20,"Canvas","a286bbGknJLZpRpxROV6M94",[-12,-13,-14,-15,-16,-17,-18,-19],[[36,-1,[5,1280,720]],[37,-10,-9,-8,-7,-6,-5,-4,-3,-2,21,22,23,24],[38,45,-11]],[4,4294769916],[5,1280,720],[640,360,0,0,0,0,1,1,1,1]],[9,"startMenu",false,1,[-23],[[3,0,-20,[13],14],[5,45,100,100,-21],[6,-22]],[4,4282729797],[5,1280,720]],[9,"resultNode",false,1,[-27],[[3,0,-24,[19],20],[5,45,100,100,-25],[6,-26]],[4,4282729797],[5,1280,720]],[10,"Background",512,[-30],[[1,1,0,-28,[4],5],[2,0,45,100,40,-29]],[5,100,60]],[10,"Background",512,[-33],[[1,1,0,-31,[11],12],[2,0,45,100,40,-32]],[5,200,80]],[21,"nodeTips",false,1,[-36],[[3,0,-34,[16],17],[39,1,106.989,-35]],[4,4293125091],[5,501,50],[0,228.011,0,0,0,0,1,1,1,1]],[22,"nodeBG",1,[[2,0,45,200,150,-37],[1,1,0,-38,[0],1]],[4,4281214491],[5,1280,720]],[28,"labeDes",1,[[-39,[40,41,306.5,306.5,35.79300000000002,1100,-40]],1,4],[5,1334,52.92],[0,0.5,1],[0,324.207,0,0,0,0,1,0.5,0.5,0.5]],[23,"btnBackpack",false,1,[4],[[43,2,-41,[4,4293322470],[4,4291348680],[4,3363338360],4,6,7,8,9]],[5,100,60],[-466.444,-322.541,0,0,0,0,1,1,1,1]],[32,"btnStart",2,[5],[-42],[5,200,80],[0,-176.772,0,0,0,0,1,1,1,1]],[46,"New Node",false,[1],[0,0,0],[0,0,0,0,0,0,1,1,1,1]],[24,"Main Camera",1,[[47,7,-1,-43]]],[25,"nodeRoot",1,[5,1280,720]],[48,42,42,1,1,3,8,[2]],[11,"Label",512,4,[[18,"口袋物品",20,false,1,1,1,1,-44,[3]]],[4,4278190080],[5,100,40]],[11,"Label",512,5,[[18,"开始",20,false,1,1,1,1,-45,[10]]],[4,4278190080],[5,100,40]],[44,2,10,[4,4293322470],[4,4291348680],[4,3363338360],5],[33,"labelTips",6,[-46],[4,4278190080],[5,64,45.36]],[49,"tips",36,36,1,1,1,18,[15]],[34,"labelResLabel",3,[-47],[5,411.11,50.4]],[50,"逃离成功,进入下一场景",1,1,20,[18]]],0,[0,0,1,0,10,19,0,11,6,0,12,14,0,13,13,0,14,21,0,15,3,0,16,2,0,17,17,0,0,1,0,0,1,0,-1,12,0,-2,7,0,-3,13,0,-4,8,0,-5,9,0,-6,2,0,-7,6,0,-8,3,0,0,2,0,0,2,0,0,2,0,-1,10,0,0,3,0,0,3,0,0,3,0,-1,20,0,0,4,0,0,4,0,-1,15,0,0,5,0,0,5,0,-1,16,0,0,6,0,0,6,0,-1,18,0,0,7,0,0,7,0,-1,14,0,0,8,0,0,9,0,-1,17,0,0,12,0,0,15,0,0,16,0,-1,19,0,-1,21,0,18,11,1,3,11,4,3,9,5,3,10,47],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,17,17,17],[-1,1,-1,-1,-1,1,4,5,6,7,-1,-1,1,-1,1,-1,-1,1,-1,-1,1,19,20,21,22,4,5,6,7],[0,3,0,0,0,1,1,4,1,5,0,0,1,0,2,0,0,2,0,0,2,7,8,9,10,1,4,1,5]],[[{"name":"default_sprite_splash","rect":[0,0,2,2],"offset":[0,0],"originalSize":[2,2],"capInsets":[0,0,0,0]}],[3],0,[0],[2],[11]],[[[7,"popviewNode"],[12,"nodeBG",[-8,-9,-10,-11,-12],[[56,-5,-4,-3,-2],[5,45,600,300,-6],[6,-7]],[8,-1,0],[4,4281214491],[5,1280,720],[640,360,0,0,0,0,1,1,1,1]],[13,"Background",512,[-15],[[1,1,0,-13,[5],6],[2,0,45,100,40,-14]],[0,"66u9KigztICY41vUKswSx4",1,0],[5,40,40],[0,0,0,0,0,0,1,1,1,0]],[13,"Background",512,[-18],[[1,1,0,-16,[8],9],[2,0,45,100,40,-17]],[0,"f46vhRyMhDELmaesHU3hQE",1,0],[5,120,40],[0,0,0,0,0,0,1,1,1,0]],[4,"EditBox",1,[-20,-21,-22],[-19],[0,"38pEGG2UlBgZkJ362pm65F",1,0],[5,345,41],[0,12,0,0,0,0,1,1,1,1]],[4,"btnClose",1,[2],[-23],[0,"a9js4/9MNEcJqLhmRM4bWT",1,0],[5,40,40],[289.373,136.795,0,0,0,0,1,1,1,1]],[4,"btnConfim",1,[3],[-24],[0,"e4vgUoxmpPV5d4AJW7u/cQ",1,0],[5,120,40],[0,-100,0,0,0,0,1,1,1,1]],[29,"BACKGROUND_SPRITE",512,4,[[-25,[2,0,45,160,40,-26]],1,4],[0,"34cP+gbdNI1KPyOCD0S3mT",1,0],[5,345,41]],[30,"TEXT_LABEL",512,false,4,[[-27,[16,0,45,2,158,40,-28]],1,4],[0,"d6WC3ccTdNBperuKesxeUs",1,0],[5,158,40],[0,0,1],[-78,20,0,0,0,0,1,1,1,1]],[31,"PLACEHOLDER_LABEL",512,4,[[-29,[16,0,45,2,158,40,-30]],1,4],[0,"adcoI9Gb1AUZD9OHHiefq1",1,0],[5,343,41],[0,0,1],[-170.5,20.5,0,0,0,0,1,1,1,1]],[14,"New Node",1,[[1,1,0,-31,[0],1]],[0,"651NJtElVAbINFCYWo9s0q",1,0],[5,610,310]],[26,"New Node",1,[[1,1,0,-32,[2],3]],[0,"00C26m/9pAabEP6UxEth1a",1,0],[4,4282727996],[5,600,300]],[15,"Label",512,2,[[51,"X",false,1,1,1,1,-33,[4]]],[0,"0baRBiVqlJeJrws+3ebOha",1,0],[4,4278190080],[5,100,40]],[17,0.95,3,5,[4,4293322470],[4,4291348680],[4,3363338360],2],[15,"Label",512,3,[[52,"确定",30,30,false,1,1,1,1,-34,[7]]],[0,"16ZkVtjy1I8KYHQp55McGd",1,0],[4,4278190080],[5,100,40]],[17,0.95,3,6,[4,4293322470],[4,4291348680],[4,3363338360],3],[42,1,0,7,[10]],[53,20,25,false,1,1,8],[54,"输入密码",20,25,false,1,1,9,[11]],[57,8,6,4,17,18,16]],0,[0,8,1,0,23,19,0,24,15,0,25,13,0,0,1,0,0,1,0,0,1,0,-1,10,0,-2,11,0,-3,5,0,-4,6,0,-5,4,0,0,2,0,0,2,0,-1,12,0,0,3,0,0,3,0,-1,14,0,-1,19,0,-1,7,0,-2,8,0,-3,9,0,-1,13,0,-1,15,0,-1,16,0,0,7,0,-1,17,0,0,8,0,-1,18,0,0,9,0,0,10,0,0,11,0,0,12,0,0,14,0,9,1,2,3,5,3,3,6,34],[0,0,0,0,0,0,0,0,0,0,0,0,13,13,13,13,15,15,15,15,16],[-1,1,-1,1,-1,-1,1,-1,-1,1,-1,-1,4,5,6,7,4,5,6,7,1],[0,3,0,3,0,0,1,0,0,1,0,0,1,4,1,5,1,4,1,5,12]],[[[7,"slotNode"],[12,"slotNode",[-7,-8],[[58,-3,-2],[1,1,0,-4,[3],4],[45,0.95,3,-6,-5,5,6]],[8,-1,0],[4,4278190080],[5,160,60],[0,0,0,0,0,0,1,1,1,0]],[14,"New Sprite(Splash)",1,[[3,0,-9,[0],1],[41,45,3,3,3,3,100,100,-10]],[0,"45X/sIT9NGsKvNXufthRQa",1,0],[5,154,54]],[35,"labelName",1,[-11],[0,"1cg8j/8FhFMpoMXMC+fZQ2",1,0],[4,4278190080],[5,153,51.2]],[55,"空",20,20,1,1,2,3,[2]]],0,[0,8,1,0,26,4,0,0,1,0,0,1,0,27,1,0,0,1,0,-1,2,0,-2,3,0,0,2,0,0,2,0,-1,4,0,9,1,11],[0,0,0,0,0,0,0],[-1,1,-1,-1,1,28,29],[0,2,0,0,3,0,13]],[[[7,"lineNode"],[27,"lineNode",[[3,0,-2,[0],1],[59,-3]],[8,-1,0],[5,2,2],[0,0.5,0]]],0,[0,8,1,0,0,1,0,0,1,0,9,1,3],[0,0],[-1,1],[0,2]],[[{"name":"default_btn_pressed","rect":[0,0,40,40],"offset":[0,0],"originalSize":[40,40],"capInsets":[12,12,12,12]}],[3],0,[0],[2],[14]],[[{"name":"default_btn_normal","rect":[0,0,40,40],"offset":[0,0],"originalSize":[40,40],"capInsets":[12,12,12,12]}],[3],0,[0],[2],[15]],[[{"name":"default_editbox_bg","rect":[0,0,40,40],"offset":[0,0],"originalSize":[40,40],"capInsets":[12,12,12,12]}],[3],0,[0],[2],[16]]]]
|
web-mobile/assets/main/index.f5ff0.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
window.__require=function e(t,o,n){function i(c,l){if(!o[c]){if(!t[c]){var a=c.split("/");if(a=a[a.length-1],!t[a]){var s="function"==typeof __require&&__require;if(!l&&s)return s(a,!0);if(r)return r(a,!0);throw new Error("Cannot find module '"+c+"'")}c=a}var p=o[c]={exports:{}};t[c][0].call(p.exports,function(e){return i(t[c][1][e]||e)},p,p.exports,e,t,o,n)}return o[c].exports}for(var r="function"==typeof __require&&__require,c=0;c<n.length;c++)i(n[c]);return i}({GameMain:[function(e,t,o){"use strict";cc._RF.push(t,"e1b90/rohdEk4SdmmEZANaD","GameMain");var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),r=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,c=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(c=(r<3?i(c):r>3?i(t,o,c):i(t,o))||c);return r>3&&c&&Object.defineProperty(t,o,c),c};Object.defineProperty(o,"__esModule",{value:!0}),o.InfoType=void 0;var c=e("./GloabData"),l=e("./LineNode"),a=e("./OneSlotNode"),s=e("./PopViewNode"),p=cc._decorator,d=p.ccclass,h=p.property;o.InfoType={Room:"room",Device:"device",Item:"item"};var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.levelConfig=null,t.btnStart=null,t.nodeMenu=null,t.resultNode=null,t.labelResLabel=null,t.nodeRoot=null,t.labelDes=null,t.nodeTips=null,t.labelTips=null,t.prefabSlot=null,t.prefabPop=null,t.prefabLineNode=null,t.slotNodeArr=[],t.lineNodeArr=[],t.curLevelArr=[],t.nLevel=1,t}return i(t,e),t.prototype.onLoad=function(){this.slotNodeArr=[]},t.prototype.start=function(){var e=this,t=this.levelConfig.json["level"+this.nLevel];this.curLevelArr=t,cc.log("=>>>>>>>",t),this.InitLevelByInfo(t),this.resultNode.active=!1,this.nodeMenu.active=!0,this.btnStart.node.on("click",function(){e.nodeMenu.active=!1},this),c.G_Event.on("Open_One_Slot",this.OpenOneSlot,this),c.G_Event.on("Show_Slot_Des",this.ShowSlotDes,this),c.G_Event.on("Show_Tips",this.ShowTips,this),c.G_Event.on("Show_Pop_View",this.ShowPopView,this),c.G_Event.on("Hide_One_Slot",this.HideOneSlot,this)},t.prototype.ShowPopView=function(e,t){var o=cc.instantiate(this.prefabPop);o.getComponent(s.default).InitPopViewByInfo(e,t),this.nodeRoot.addChild(o,999),o.position=cc.v3(0,0)},t.prototype.ShowSlotDes=function(e){this.labelDes.string=e},t.prototype.ShowTips=function(e){var t=this;this.nodeTips.active=!0,this.nodeTips.opacity=255,this.labelTips.string=e,cc.tween(this.nodeTips).delay(2).to(.3,{opacity:0}).call(function(){t.nodeTips.active=!1}).start()},t.prototype.OpenOneSlot=function(e,t){var o=this;t||(t=this.curLevelArr),this.labelDes.string=e.des;var n=e.to;if(cc.log("=OpenOneSlot===>>",n),n.indexOf(c.G_NEXT_LEVEL_ID)>=0)return this.resultNode.active=!0,this.labelResLabel.string="\u9003\u79bb\u6210\u529f,\u8fdb\u5165\u4e0b\u4e00\u573a\u666f",this.ClearAllSlots(),void cc.tween(this.resultNode).delay(2).call(function(){o.resultNode.active=!1,o.GotoNextLevel()}).start();if(n.indexOf(c.G_DEATH_LEVEL_ID)>=0)return this.resultNode.active=!0,this.labelResLabel.string="\u9003\u79bb\u5931\u8d25!!!!!",this.ClearAllSlots(),void cc.tween(this.resultNode).delay(2).call(function(){o.resultNode.active=!1,o.nodeMenu.active=!0,o.GotoNewLevel()}).start();if(n.indexOf(c.G_SUCCESS_ESC)>=0)return this.resultNode.active=!0,this.labelResLabel.string="\u606d\u559c\u4f60\u79bb\u5f00\u4e86\u623f\u5b50",this.ClearAllSlots(),void cc.tween(this.resultNode).delay(2).call(function(){o.resultNode.active=!1,o.nodeMenu.active=!0,o.GotoNewLevel()}).start();for(var i=0;i<n.length;i++)for(var r=0;r<t.length;r++)if(t[r].id==n[i]){this.CreateOneSlotNode(t[r],e);break}},t.prototype.InitLevelByInfo=function(e){for(var t=0,n=e;t<n.length;t++){var i=n[t];0==i.from.length&&i.type==o.InfoType.Room&&(this.CreateOneSlotNode(i,null),this.labelDes.string=i.des)}},t.prototype.CreateOneSlotNode=function(e,t){var o=cc.instantiate(this.prefabSlot);o.getComponent(a.default).InitByInfo(e,this),this.nodeRoot.addChild(o,c.G_Z_INDEX.nSlotZ),o.position=cc.v3(e.position[0],e.position[1]),o.scale=e.scale,this.slotNodeArr.push(o),t&&this.CreateOneLineNode(e,t)},t.prototype.ClearAllSlots=function(){for(var e=0;e<this.slotNodeArr.length;e++)(t=this.slotNodeArr[e]).isValid&&(t.removeFromParent(),t.destroy(),t=null);for(e=0;e<this.lineNodeArr.length;e++){var t;(t=this.lineNodeArr[e]).node.isValid&&(t.node.removeFromParent(),t.destroy(),t=null)}this.lineNodeArr=[],this.slotNodeArr=[]},t.prototype.GotoNextLevel=function(){this.nLevel+=1;var e=this.levelConfig.json["level"+this.nLevel];e&&e.length>0?(this.curLevelArr=e,cc.log("=>>>GotoNextLevel>>>>",e),this.InitLevelByInfo(e)):cc.error("=?>>>>>>>>>>>>>>this.nLevel=",this.nLevel)},t.prototype.GotoNewLevel=function(){this.nLevel=1;var e=this.levelConfig.json["level"+this.nLevel];e&&e.length>0?(this.curLevelArr=e,cc.log("=>>>GotoNextLevel>>>>",e),this.InitLevelByInfo(e)):cc.error("=?>>>>>>>>>>>>>>this.nLevel=",this.nLevel)},t.prototype.CreateOneLineNode=function(e,t){var o=cc.instantiate(this.prefabLineNode);this.nodeRoot.addChild(o,c.G_Z_INDEX.nLineZ),o.position=cc.v3(t.position[0],t.position[1]),o.getComponent(l.default).InitLineNodeByInfo(cc.v3(t.position[0],t.position[1]),e),this.lineNodeArr.push(o.getComponent(l.default))},t.prototype.HideOneSlot=function(e){for(var t=0;t<this.lineNodeArr.length;t++)this.lineNodeArr[t].cacheInfo.id==e.id&&(this.lineNodeArr[t].node.active=!1)},r([h(cc.JsonAsset)],t.prototype,"levelConfig",void 0),r([h(cc.Button)],t.prototype,"btnStart",void 0),r([h(cc.Node)],t.prototype,"nodeMenu",void 0),r([h(cc.Node)],t.prototype,"resultNode",void 0),r([h(cc.Label)],t.prototype,"labelResLabel",void 0),r([h(cc.Node)],t.prototype,"nodeRoot",void 0),r([h(cc.Label)],t.prototype,"labelDes",void 0),r([h(cc.Node)],t.prototype,"nodeTips",void 0),r([h(cc.Label)],t.prototype,"labelTips",void 0),r([h(cc.Prefab)],t.prototype,"prefabSlot",void 0),r([h(cc.Prefab)],t.prototype,"prefabPop",void 0),r([h(cc.Prefab)],t.prototype,"prefabLineNode",void 0),r([d],t)}(cc.Component);o.default=f,cc._RF.pop()},{"./GloabData":"GloabData","./LineNode":"LineNode","./OneSlotNode":"OneSlotNode","./PopViewNode":"PopViewNode"}],GloabData:[function(e,t,o){"use strict";cc._RF.push(t,"2088awR0URMv5xhMizOoBTm","GloabData"),Object.defineProperty(o,"__esModule",{value:!0}),o.G_Z_INDEX=o.G_SUCCESS_ESC=o.G_DEATH_LEVEL_ID=o.G_NEXT_LEVEL_ID=o.G_Event=void 0,o.G_Event=new cc.EventTarget,o.G_NEXT_LEVEL_ID=998877,o.G_DEATH_LEVEL_ID=998876,o.G_SUCCESS_ESC=998875,o.G_Z_INDEX={nSlotZ:9,nLineZ:8},cc._RF.pop()},{}],LineNode:[function(e,t,o){"use strict";cc._RF.push(t,"24346ODKttEbLBlEJMy7A+J","LineNode");var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),r=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,c=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(c=(r<3?i(c):r>3?i(t,o,c):i(t,o))||c);return r>3&&c&&Object.defineProperty(t,o,c),c};Object.defineProperty(o,"__esModule",{value:!0});var c=cc._decorator,l=c.ccclass,a=(c.property,function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cacheInfo=null,t}return i(t,e),t.prototype.InitLineNodeByInfo=function(e,t){this.cacheInfo=t;var o=cc.v3(t.position[0],t.position[1]).sub(e),n=o.mag();this.node.scaleY=n/2;var i=o.y/n,r=o.x/n,c=Math.asin(i)*(180/Math.PI),l=90-c;r>=0&&(l=-(90-c)),this.node.angle=l},r([l],t)}(cc.Component));o.default=a,cc._RF.pop()},{}],OneSlotNode:[function(e,t,o){"use strict";cc._RF.push(t,"3feac2NXWpIho5/FIswFATz","OneSlotNode");var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),r=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,c=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(c=(r<3?i(c):r>3?i(t,o,c):i(t,o))||c);return r>3&&c&&Object.defineProperty(t,o,c),c};Object.defineProperty(o,"__esModule",{value:!0});var c=e("./GameMain"),l=e("./GloabData"),a=e("./PlayerData"),s=cc._decorator,p=s.ccclass,d=s.property,h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.labelName=null,t.cachedInfo=null,t.gameMain=null,t.alreadyOpenNext=!1,t}return i(t,e),t.prototype.InitByInfo=function(e,t){this.cachedInfo=e,this.gameMain=t,this.labelName.string=e.name,this.node.scale=e.scale},t.prototype.start=function(){this.node.on("click",this.clickFunc,this)},t.prototype.clickFunc=function(){if(l.G_Event.emit("Show_Slot_Des",this.cachedInfo.des),this.alreadyOpenNext)cc.log("\u5df2\u7ecf\u6253\u5f00\u8fc7\u4e86");else{if(!(this.cachedInfo.passw.length>0))return this.cachedInfo.type==c.InfoType.Item?(this.alreadyOpenNext=!0,this.HideThisSlot(),a.mainPlayerData.backpackItems.push(this.cachedInfo.keyid),void l.G_Event.emit("Show_Tips","\u62fe\u53d6\u4e86["+this.cachedInfo.name+"]")):void(this.cachedInfo.lockid>0?a.mainPlayerData.backpackItems.indexOf(this.cachedInfo.lockid)>=0?(l.G_Event.emit("Open_One_Slot",this.cachedInfo),this.alreadyOpenNext=!0):l.G_Event.emit("Show_Tips","\u53ef\u80fd\u9700\u8981\u9053\u5177\u6253\u5f00"):(cc.log("=clickFunc===>",this.cachedInfo.to),l.G_Event.emit("Open_One_Slot",this.cachedInfo),this.alreadyOpenNext=!0));l.G_Event.emit("Show_Pop_View",this.cachedInfo,this)}},t.prototype.HideThisSlot=function(){this.node.active=!1,l.G_Event.emit("Hide_One_Slot",this.cachedInfo)},t.prototype.onDestroy=function(){this.cachedInfo=null,this.gameMain=null},r([d(cc.Label)],t.prototype,"labelName",void 0),r([p],t)}(cc.Component);o.default=h,cc._RF.pop()},{"./GameMain":"GameMain","./GloabData":"GloabData","./PlayerData":"PlayerData"}],PlayerData:[function(e,t,o){"use strict";cc._RF.push(t,"7920fEGrF5MsKQ0WoWu5TGD","PlayerData"),Object.defineProperty(o,"__esModule",{value:!0}),o.mainPlayerData=void 0;o.mainPlayerData=new function(){this.backpackItems=[]},cc._RF.pop()},{}],PopViewNode:[function(e,t,o){"use strict";cc._RF.push(t,"1cf5eKDkQlAHZXQQ4wi21HN","PopViewNode");var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),r=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,c=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(c=(r<3?i(c):r>3?i(t,o,c):i(t,o))||c);return r>3&&c&&Object.defineProperty(t,o,c),c};Object.defineProperty(o,"__esModule",{value:!0});var c=e("./GloabData"),l=cc._decorator,a=l.ccclass,s=l.property,p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.btnClose=null,t.btnConfim=null,t.EditBox=null,t.cachedInfo=null,t.cachedsNode=null,t}return i(t,e),t.prototype.start=function(){var e=this;this.btnClose.node.on("click",function(){e.ClosePop()},this),this.btnConfim.node.on("click",function(){e.cachedInfo&&e.EditBox.string==e.cachedInfo.passw?(c.G_Event.emit("Open_One_Slot",e.cachedInfo),e.ClosePop(),e.cachedsNode.alreadyOpenNext=!0):(cc.log("\u5bc6\u7801\u9519\u8bef"),c.G_Event.emit("Show_Tips","\u5bc6\u7801\u9519\u8bef"),e.cachedsNode.alreadyOpenNext=!1)},this)},t.prototype.ClosePop=function(){this.node.removeFromParent(),this.node.destroy(),this.destroy()},t.prototype.InitPopViewByInfo=function(e,t){this.cachedInfo=e,t&&(this.cachedsNode=t)},r([s(cc.Button)],t.prototype,"btnClose",void 0),r([s(cc.Button)],t.prototype,"btnConfim",void 0),r([s(cc.EditBox)],t.prototype,"EditBox",void 0),r([a],t)}(cc.Component);o.default=p,cc._RF.pop()},{"./GloabData":"GloabData"}]},{},["GameMain","GloabData","LineNode","OneSlotNode","PlayerData","PopViewNode"]);
|
web-mobile/assets/main/native/71/71561142-4c83-4933-afca-cb7a17f67053.c06a9.png
ADDED
![]() |
web-mobile/assets/main/native/b4/b43ff3c2-02bb-4874-81f7-f2dea6970f18.83fcc.png
ADDED
![]() |
web-mobile/assets/main/native/e8/e851e89b-faa2-4484-bea6-5c01dd9f06e2.90cf4.png
ADDED
![]() |
web-mobile/assets/main/native/ed/edd215b9-2796-4a05-aaf5-81f96c9281ce.17df6.png
ADDED
![]() |
web-mobile/assets/resources/config.09ec0.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"paths":{"0":["img/HelloWorld",2],"1":["img/singleColor",2],"2":["configs/level",0],"3":["img/HelloWorld",1,1],"4":["img/singleColor",1,1]},"types":["cc.JsonAsset","cc.SpriteFrame","cc.Texture2D"],"uuids":["6aoKpq6+5BVaCIpoemqt7E","a8Anh32NZGRZegUtSgEj26","2dxuFSAjFLZqX00xlCehPY","31vIlawANFZqnzLlSuHBfc","41D7kWhyFGY7q4NDlzkazn"],"scenes":{},"redirect":[],"deps":[],"packs":{"0cfd22b7a":[0,1]},"name":"resources","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":false,"versions":{"import":["0cfd22b7a","b2b05",2,"eb0db",3,"c0670",4,"afc36"],"native":[0,"a4b27",1,"cea68"]}}
|
web-mobile/assets/resources/import/0c/0cfd22b7a.b2b05.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"type":"cc.Texture2D","data":"0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1"}
|
web-mobile/assets/resources/import/2d/2dc6e152-0231-4b66-a5f4-d319427a13d8.eb0db.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[1,0,0,[["cc.JsonAsset",["_name","json"],1]],[[0,0,1,3]],[[0,"level",{"参数详情0":"level1, level2, level3.... 表示大关卡","参数详情1":"1,type:分为三类[room,device,item], room是大场景,每关只有一个. device是可交互的设备,不限数量. item是可拾取的道具,拾取后会进入背包并从场上消失","参数详情2":"2,id:关卡内道具的唯一标记, 每个level内的id禁止重复, 不同level的id可以相同","参数详情3":"3,name:显示在屏幕上的交互点名字","参数详情4":"4,from:这个交互点从哪里进入的, 可以是空数组, 暂时没什么用","参数详情5":"5,to:这个交互点可以进入哪些交互点,可以是空数组,也可以填多个,填的本关的唯一id,{998877表示进入下一关,998876表示触发死亡,998875表示完全通关}","参数详情6":"6,lockid:如果这是一个上锁的交互点,必须填上锁的id, 和下面的keyid对应,玩家拿到keyid相同的道具后才能打开","参数详情7":"7,keyid:如果这是一把钥匙类型的道具,必须填上钥匙id,用来控制这把钥匙可以打开什么id的锁","参数详情8":"8,passw:如果这是密码锁的交互点,填入字符串密码,密码的线索可以写在各处交互点的des中","参数详情9":"9,des:点击这个交互点,屏幕上出现的提示,可以用来奖背景故事,也可以提供解密线索","参数详情10":"10,position:这个交互点在屏幕的位置, 屏幕中心为[0,0]点, ","参数详情11":"11,scale:这个交互点的大小, 默认为1","level1":[{"type":"room","id":1,"name":"卧室","lockid":-1,"keyid":-1,"passw":"","des":"一个陌生的卧室,连个窗户都没有,我得赶紧离开这个房间","scale":2,"from":[],"to":[2,4,5,7],"position":[0,0]},{"type":"device","id":2,"name":"衣柜","lockid":-1,"keyid":-1,"passw":"6548","des":"一个衣柜,需要密码打开","scale":1,"from":[1],"to":[10,11,12],"position":[260,90]},{"type":"device","id":4,"name":"卧室门(出口)","lockid":1,"keyid":-1,"passw":"","des":"卧室门,但是被锁住了,应该需要钥匙","scale":1,"from":[1],"to":[998877],"position":[-420,-20]},{"type":"device","id":5,"name":"床头柜","lockid":-1,"keyid":-1,"passw":"","des":"一个普通的床头柜,上面有张撕坏的纸条","scale":1,"from":[1],"to":[6,9],"position":[-340,100]},{"type":"device","id":6,"name":"撕毁的纸条(1)","lockid":-1,"keyid":-1,"passw":"","des":"爸爸说衣柜很危险,小孩子不能碰,所以他上锁了,密码好像是13096的...(后面的内容被撕毁了)","scale":0.7,"from":[5],"to":[],"position":[-510,100]},{"type":"device","id":7,"name":"红色的地毯","lockid":3,"keyid":-1,"passw":"","des":"红色的地毯,地毯有明显缝过的痕迹,可能用剪刀可以剪开","scale":1,"from":[1],"to":[8],"position":[0,-190]},{"type":"device","id":8,"name":"撕毁的纸条(2)","lockid":-1,"keyid":-1,"passw":"","des":"今天爸爸教我数学,说除以二的意思就是分一半,4的一半是2,2的一半是1,人的一半是...(后面的内容被撕毁了)","scale":0.7,"from":[7],"to":[],"position":[0,-270]},{"type":"item","id":9,"name":"剪刀","lockid":-1,"keyid":3,"passw":"","des":"可以剪开某些东西","scale":0.7,"from":[7],"to":[],"position":[-510,200]},{"type":"device","id":10,"name":"一张合照","lockid":-1,"keyid":-1,"passw":"","des":"一张父母加女儿三人的全家福合照,面部全部被黑灰色遮盖住了,无法看清三人的长相,照片背后写着[0639,0417,1496]","scale":0.7,"from":[2],"to":[],"position":[510,200]},{"type":"device","id":11,"name":"沾血的信","lockid":-1,"keyid":-1,"passw":"","des":"孩子,实在是没想到情况会变成这样子,你是无辜的,如果你看到这封信,就表示你已经恢复意识了,并且[ta]也消停了一会,请赶紧离开这个房子,卧室钥匙就在旁边的铁盒里,密码我写在照片背面,是你的生日,尽快尽快,爸爸对不起你","scale":0.7,"from":[2],"to":[],"position":[510,0]},{"type":"device","id":12,"name":"上锁的小盒子","lockid":-1,"keyid":-1,"passw":"0417","des":"上锁的铁盒子,拿起晃了晃,发出了哐啷哐啷的声音","scale":0.7,"from":[2],"to":[3],"position":[510,-100]},{"type":"item","id":3,"name":"卧室门钥匙","lockid":-1,"keyid":1,"passw":"","des":"","scale":0.7,"from":[12],"to":[],"position":[420,-200]}],"level2":[{"type":"room","id":1,"name":"走廊","lockid":-1,"keyid":-1,"passw":"","des":"从主卧来到了走廊,还是不知道这里是什么地方,我是这家人的女儿吗?我得赶紧离开这个房子去外面求助!","scale":1.4,"from":[],"to":[8],"position":[-300,-300]},{"type":"device","id":2,"name":"次卧","lockid":-1,"keyid":-1,"passw":"","des":"","scale":1,"from":[1],"to":[],"position":[-200,100]},{"type":"device","id":4,"name":"储物间","lockid":2,"keyid":-1,"passw":"","des":"","scale":1,"from":[1],"to":[],"position":[-10,100]},{"type":"device","id":5,"name":"卫生间","lockid":-1,"keyid":-1,"passw":"","des":"","scale":1,"from":[1],"to":[],"position":[-10,-100]},{"type":"device","id":6,"name":"盆栽装饰","lockid":-1,"keyid":-1,"passw":"","des":"","scale":1,"from":[1],"to":[998876],"position":[190,-300]},{"type":"device","id":7,"name":"楼梯铁门(出口)","lockid":-1,"keyid":-1,"passw":"98769876","des":"楼梯口有个铁门,用密码锁锁住了,通过缝隙可以看到下楼的台阶","scale":1,"from":[1],"to":[998875],"position":[300,100]},{"type":"device","id":8,"name":"卧室门上的纸条","lockid":-1,"keyid":-1,"passw":"","des":"孩子,你已经离开了主卧来到了二楼走廊,之前为了防止[ta]伤害你,我把楼梯安装了铁门和密码锁.\n现在整个房子都陷入了诡异的事情,几乎任何地方都是不安全的,你一定要牢记以下规则:\n1:房子只有两层,如果在二楼还看见上楼的梯子,请立刻远离上楼的梯子.\n2:因为你对花粉过敏,所以家里没有任何绿植.\n3:[楼梯门]密码是6745,如果发现密码打不开门,就表示[ta]曾经来过并且换掉了密码,你需要去[储物间]找到电箱将电梯门的密码随机成新的","scale":0.7,"from":[1],"to":[2,4,5,6,7],"position":[-450,-160]}]}]],0,0,[],[],[]]
|
web-mobile/assets/resources/import/31/31bc895a-c003-4566-a9f3-2e54ae1c17dc.c0670.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[1,["6aoKpq6+5BVaCIpoemqt7E"],["_textureSetter"],["cc.SpriteFrame"],0,[{"name":"HelloWorld","rect":[44,14,175,226],"offset":[3.5,1],"originalSize":[256,256],"capInsets":[0,0,0,0]}],[0],0,[0],[0],[0]]
|
web-mobile/assets/resources/import/41/410fb916-8721-4663-bab8-34397391ace7.afc36.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[1,["a8Anh32NZGRZegUtSgEj26"],["_textureSetter"],["cc.SpriteFrame"],0,[{"name":"singleColor","rect":[0,0,2,2],"offset":[0,0],"originalSize":[2,2],"capInsets":[0,0,0,0]}],[0],0,[0],[0],[0]]
|
web-mobile/assets/resources/index.09ec0.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
(function r(e,n,t){function i(u,f){if(!n[u]){if(!e[u]){var _=u.split("/");if(_=_[_.length-1],!e[_]){var p="function"==typeof __require&&__require;if(!f&&p)return p(_,!0);if(o)return o(_,!0);throw new Error("Cannot find module '"+u+"'")}u=_}var a=n[u]={exports:{}};e[u][0].call(a.exports,function(r){return i(e[u][1][r]||r)},a,a.exports,r,e,n,t)}return n[u].exports}for(var o="function"==typeof __require&&__require,u=0;u<t.length;u++)i(t[u]);return i})({},{},[]);
|
web-mobile/assets/resources/native/6a/6aa0aa6a-ebee-4155-a088-a687a6aadec4.a4b27.png
ADDED
![]() |