yangqiwen 2 months ago
parent bbb23c7a28
commit 9b27c4861c
  1. 528
      assets/DH/DH_1/DH_1.prefab
  2. 132
      assets/DH/DH_1/spine/场景2.atlas
  3. 2
      assets/DH/DH_1/spine/场景2.atlas.meta
  4. 1
      assets/DH/DH_1/spine/场景2.json
  5. 4
      assets/DH/DH_1/spine/场景2.json.meta
  6. BIN
      assets/DH/DH_1/spine/场景2.png
  7. 24
      assets/DH/DH_1/spine/场景2.png.meta
  8. 139
      assets/DH/DH_1/spine/女儿站.atlas
  9. 2429
      assets/DH/DH_1/spine/女儿站.json
  10. BIN
      assets/DH/DH_1/spine/女儿站.png
  11. 20
      assets/DH/DH_1/spine/开门.atlas
  12. 6
      assets/DH/DH_1/spine/开门.atlas.meta
  13. 1
      assets/DH/DH_1/spine/开门.json
  14. 10
      assets/DH/DH_1/spine/开门.json.meta
  15. BIN
      assets/DH/DH_1/spine/开门.png
  16. 38
      assets/DH/DH_1/spine/开门.png.meta
  17. 76
      assets/DH/DH_1/spine/打耳光特写.atlas
  18. 6
      assets/DH/DH_1/spine/打耳光特写.atlas.meta
  19. 1
      assets/DH/DH_1/spine/打耳光特写.json
  20. 10
      assets/DH/DH_1/spine/打耳光特写.json.meta
  21. BIN
      assets/DH/DH_1/spine/打耳光特写.png
  22. 38
      assets/DH/DH_1/spine/打耳光特写.png.meta
  23. 902
      assets/DH/DH_3/DH_3.prefab
  24. 13
      assets/DH/DH_3/spine.meta
  25. 20
      assets/DH/DH_3/spine/女儿.atlas
  26. 6
      assets/DH/DH_3/spine/女儿.atlas.meta
  27. 1
      assets/DH/DH_3/spine/女儿.json
  28. 10
      assets/DH/DH_3/spine/女儿.json.meta
  29. BIN
      assets/DH/DH_3/spine/女儿.png
  30. 38
      assets/DH/DH_3/spine/女儿.png.meta
  31. 34
      assets/DH/DH_3/spine/绑匪.atlas
  32. 6
      assets/DH/DH_3/spine/绑匪.atlas.meta
  33. 1
      assets/DH/DH_3/spine/绑匪.json
  34. 10
      assets/DH/DH_3/spine/绑匪.json.meta
  35. BIN
      assets/DH/DH_3/spine/绑匪.png
  36. 38
      assets/DH/DH_3/spine/绑匪.png.meta
  37. 69
      assets/DH/DH_3/spine/门.atlas
  38. 6
      assets/DH/DH_3/spine/门.atlas.meta
  39. 1
      assets/DH/DH_3/spine/门.json
  40. 10
      assets/DH/DH_3/spine/门.json.meta
  41. BIN
      assets/DH/DH_3/spine/门.png
  42. 38
      assets/DH/DH_3/spine/门.png.meta
  43. 541
      assets/DH/DH_5/DH_5.prefab
  44. 13
      assets/DH/DH_5/res.meta
  45. BIN
      assets/DH/DH_5/res/场景.jpg
  46. 38
      assets/DH/DH_5/res/场景.jpg.meta
  47. BIN
      assets/DH/DH_5/res/桌子 拷贝.png
  48. 38
      assets/DH/DH_5/res/桌子 拷贝.png.meta
  49. BIN
      assets/DH/DH_5/res/椅子 拷贝.png
  50. 38
      assets/DH/DH_5/res/椅子 拷贝.png.meta
  51. 13
      assets/DH/DH_5/spine.meta
  52. 76
      assets/DH/DH_5/spine/任务11.atlas
  53. 6
      assets/DH/DH_5/spine/任务11.atlas.meta
  54. 1
      assets/DH/DH_5/spine/任务11.json
  55. 10
      assets/DH/DH_5/spine/任务11.json.meta
  56. BIN
      assets/DH/DH_5/spine/任务11.png
  57. 38
      assets/DH/DH_5/spine/任务11.png.meta
  58. 10
      assets/FrameWork/Config/AppConfig.ts
  59. 1
      assets/FrameWork/Event/EventEnum.ts
  60. 12
      assets/FrameWork/User/User.ts
  61. 26
      assets/GameRes/JuQingChat/prefab/taskInfoNode.prefab
  62. BIN
      assets/GameRes/JuQingChat/texture1/弹框.png
  63. 8
      assets/GameRes/JuQingChat/texture1/弹框.png.meta
  64. 878
      assets/GameRoomRes/Room2/prefab/Room2.prefab
  65. 41
      assets/GameRoomRes/Room2/spine/场景1.atlas
  66. 6
      assets/GameRoomRes/Room2/spine/场景1.atlas.meta
  67. 1
      assets/GameRoomRes/Room2/spine/场景1.json
  68. 10
      assets/GameRoomRes/Room2/spine/场景1.json.meta
  69. BIN
      assets/GameRoomRes/Room2/spine/场景1.png
  70. 38
      assets/GameRoomRes/Room2/spine/场景1.png.meta
  71. 4970
      assets/MainHall/prefab/MainHall.prefab
  72. BIN
      assets/MainHall/texture/升级.png
  73. 12
      assets/MainHall/texture/升级.png.meta
  74. BIN
      assets/MainHall/texture/头像.png
  75. 8
      assets/MainHall/texture/头像.png.meta
  76. BIN
      assets/MainHall/texture/对话弹窗.png
  77. 38
      assets/MainHall/texture/对话弹窗.png.meta
  78. BIN
      assets/MainHall/texture/手机.png
  79. 8
      assets/MainHall/texture/手机.png.meta
  80. BIN
      assets/MainHall/texture/收入提升.png
  81. 38
      assets/MainHall/texture/收入提升.png.meta
  82. BIN
      assets/MainHall/texture/早餐.png
  83. 38
      assets/MainHall/texture/早餐.png.meta
  84. 71
      assets/Scripts/DH/DH_1.ts
  85. 45
      assets/Scripts/DH/DH_3.ts
  86. 13
      assets/Scripts/DH/DH_5.ts
  87. 20
      assets/Scripts/GameRoomRes/Room2/Room2.ts
  88. 2
      assets/Scripts/JuQingChat/TaskInfoView.ts
  89. 4
      assets/Scripts/JuQingChat/TaskManager.ts
  90. 130
      assets/Scripts/MainHall/MainHall.ts
  91. 15
      assets/Scripts/MainHall/MainHallBtn.ts
  92. 4
      assets/Scripts/MainScene/MainScene.ts
  93. 3
      assets/Scripts/Manager/InterfaceManager.ts
  94. 27
      assets/Scripts/Manager/UserManager.ts
  95. 322
      assets/Scripts/Manager/ZaoCanManager.ts
  96. 43
      assets/Scripts/Mishu/MishuGame.ts
  97. 2
      assets/Scripts/PrefabManager/PrefabManage.ts
  98. 21
      assets/Scripts/ZaoCanDian/ZaoCanDian.ts
  99. 30
      assets/Scripts/ZaoCanDian/ZaoCanDianYeWu.ts
  100. 71
      assets/Scripts/ZaoCanDian/ZaoCanDianYeWuitemNode.ts
  101. Some files were not shown because too many files have changed in this diff Show More

File diff suppressed because it is too large Load Diff

@ -0,0 +1,132 @@
场景2.png
size: 1575,1033
format: RGBA8888
filter: Linear,Linear
repeat: none
rotate: true
xy: 844, 358
size: 232, 485
orig: 233, 487
offset: 1, 1
index: -1
男主摔倒
rotate: false
xy: 328, 600
size: 523, 431
orig: 523, 431
offset: 0, 0
index: -1
男主摔倒阴影
rotate: true
xy: 1468, 175
size: 524, 97
orig: 540, 114
offset: 7, 8
index: -1
踢门上半身
rotate: true
xy: 853, 592
size: 439, 463
orig: 439, 463
offset: 0, 0
index: -1
踢门关
rotate: true
xy: 328, 341
size: 257, 514
orig: 257, 514
offset: 0, 0
index: -1
踢门大腿
rotate: false
xy: 1338, 134
size: 91, 282
orig: 91, 282
offset: 0, 0
index: -1
踢门小腿
rotate: false
xy: 2, 15
size: 293, 161
orig: 293, 161
offset: 0, 0
index: -1
踢门小腿残影
rotate: true
xy: 1331, 418
size: 281, 135
orig: 285, 151
offset: 1, 15
index: -1
踢门开
rotate: true
xy: 297, 64
size: 105, 596
orig: 105, 596
offset: 0, 0
index: -1
踢门支撑腿
rotate: true
xy: 328, 171
size: 168, 580
orig: 168, 580
offset: 0, 0
index: -1
踢门效果1
rotate: true
xy: 1318, 701
size: 330, 255
orig: 332, 257
offset: 1, 1
index: -1
踢门效果2
rotate: true
xy: 910, 73
size: 283, 345
orig: 286, 347
offset: 2, 1
index: -1
踢门阴影
rotate: false
xy: 895, 2
size: 280, 69
orig: 313, 91
offset: 32, 9
index: -1
黑社会
rotate: false
xy: 2, 178
size: 324, 853
orig: 324, 853
offset: 0, 0
index: -1
黑社会张嘴
rotate: false
xy: 1177, 49
size: 25, 22
orig: 26, 23
offset: 1, 0
index: -1
黑社会往下看
rotate: true
xy: 1338, 48
size: 84, 90
orig: 85, 91
offset: 1, 0
index: -1
黑社会闭眼
rotate: false
xy: 297, 43
size: 50, 19
orig: 52, 20
offset: 1, 1
index: -1
黑社会阴影
rotate: true
xy: 1257, 59
size: 297, 79
orig: 298, 95
offset: 1, 6
index: -1

@ -1,6 +1,6 @@
{
"ver": "1.0.3",
"uuid": "41cf210b-bdb8-413a-85e2-f5572c615c10",
"uuid": "105bc651-d300-4f82-8e0d-57aa69e61eb9",
"importer": "asset",
"subMetas": {}
}

File diff suppressed because one or more lines are too long

@ -1,9 +1,9 @@
{
"ver": "1.2.5",
"uuid": "ece05145-df06-44ab-bb9a-b8765c91dc7f",
"uuid": "80c494cc-58ea-4abb-b350-c75ab45aaa3f",
"importer": "spine",
"textures": [
"8e5cb7f7-6537-4b89-af7e-005f2f7b616d"
"d8f04122-3160-4a4e-a5a4-91b98e940373"
],
"scale": 1,
"subMetas": {}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

@ -1,6 +1,6 @@
{
"ver": "2.3.7",
"uuid": "8e5cb7f7-6537-4b89-af7e-005f2f7b616d",
"uuid": "d8f04122-3160-4a4e-a5a4-91b98e940373",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
@ -8,26 +8,26 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1277,
"height": 401,
"width": 1575,
"height": 1033,
"platformSettings": {},
"subMetas": {
"女儿站": {
"场景2": {
"ver": "1.0.6",
"uuid": "437f9c59-f8c0-4d35-9093-ecdebcbabd61",
"uuid": "f7d931b8-2235-498b-adbc-012655387cba",
"importer": "sprite-frame",
"rawTextureUuid": "8e5cb7f7-6537-4b89-af7e-005f2f7b616d",
"rawTextureUuid": "d8f04122-3160-4a4e-a5a4-91b98e940373",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0.5,
"trimX": 3,
"offsetY": 0,
"trimX": 2,
"trimY": 2,
"width": 1271,
"height": 396,
"rawWidth": 1277,
"rawHeight": 401,
"width": 1571,
"height": 1029,
"rawWidth": 1575,
"rawHeight": 1033,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,

@ -1,139 +0,0 @@
女儿站.png
size: 1277,401
format: RGBA8888
filter: Linear,Linear
repeat: none
啤酒瓶
rotate: true
xy: 810, 14
size: 237, 263
orig: 237, 263
offset: 0, 0
index: -1
女儿
rotate: true
xy: 325, 259
size: 140, 484
orig: 169, 484
offset: 29, 0
index: -1
女儿哭泣
rotate: true
xy: 811, 253
size: 146, 464
orig: 146, 464
offset: 0, 0
index: -1
女儿哭泣手
rotate: false
xy: 1075, 162
size: 101, 89
orig: 101, 89
offset: 0, 0
index: -1
女儿哭泣手臂
rotate: false
xy: 1178, 192
size: 72, 59
orig: 72, 59
offset: 0, 0
index: -1
女儿被划伤
rotate: true
xy: 325, 121
size: 136, 483
orig: 167, 483
offset: 31, 0
index: -1
男主手
rotate: false
xy: 2, 2
size: 321, 397
orig: 321, 397
offset: 0, 0
index: -1
男主手指
rotate: true
xy: 617, 23
size: 96, 154
orig: 97, 154
offset: 0, 0
index: -1
碎玻璃
rotate: true
xy: 1075, 100
size: 60, 65
orig: 62, 67
offset: 1, 1
index: -1
碎玻璃10
rotate: true
xy: 1178, 143
size: 47, 85
orig: 49, 87
offset: 1, 1
index: -1
碎玻璃2
rotate: true
xy: 773, 2
size: 49, 35
orig: 52, 37
offset: 2, 1
index: -1
碎玻璃3
rotate: true
xy: 1209, 96
size: 45, 50
orig: 47, 52
offset: 1, 1
index: -1
碎玻璃4
rotate: true
xy: 1075, 50
size: 48, 54
orig: 50, 56
offset: 1, 1
index: -1
碎玻璃5
rotate: false
xy: 1131, 44
size: 59, 37
orig: 61, 39
offset: 1, 1
index: -1
碎玻璃6
rotate: false
xy: 1075, 11
size: 48, 37
orig: 50, 39
offset: 1, 1
index: -1
碎玻璃7
rotate: false
xy: 1209, 51
size: 51, 43
orig: 53, 45
offset: 1, 1
index: -1
碎玻璃8
rotate: true
xy: 1142, 83
size: 58, 65
orig: 60, 67
offset: 1, 1
index: -1
碎玻璃9
rotate: true
xy: 773, 53
size: 66, 35
orig: 68, 37
offset: 1, 1
index: -1
阴影
rotate: false
xy: 325, 7
size: 290, 112
orig: 298, 120
offset: 4, 4
index: -1

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

@ -0,0 +1,20 @@
开门.png
size: 581,427
format: RGBA8888
filter: Linear,Linear
repeat: none
开门手
rotate: true
xy: 2, 2
size: 423, 456
orig: 429, 466
offset: 0, 10
index: -1
门把手
rotate: true
xy: 460, 130
size: 295, 119
orig: 298, 121
offset: 2, 1
index: -1

@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "ca438632-5196-4a23-992c-6c479f7305b0",
"importer": "asset",
"subMetas": {}
}

@ -0,0 +1 @@
{"skeleton":{"hash":"aDkPr94E9l9piiL7GaPTtyg1My4","spine":"3.8.75","x":-107.17,"y":-58.64,"width":298,"height":121},"bones":[{"name":"root"},{"name":"骨骼","parent":"root","x":-51.17},{"name":"骨骼3","parent":"骨骼","x":377.81,"y":-280.78}],"slots":[{"name":"门把手","bone":"骨骼","attachment":"门把手"},{"name":"开门手","bone":"骨骼"}],"skins":[{"name":"default","attachments":{"开门手":{"开门手":{"type":"mesh","uvs":[0.49301,0,0.55777,0.16869,0.59916,0.27649,0.63413,0.32713,0.6629,0.36531,0.68484,0.39444,0.98473,0.79245,0.95805,0.89069,0.80538,0.97668,0.62507,0.96026,0.41925,0.51909,0.40291,0.48407,0.38782,0.45174,0.20354,0.4283,0,0.28927,1.0E-5,0.13956,0.04952,0,0.52276,0.38999,0.54558,0.42054,0.55803,0.45588],"triangles":[7,8,6,10,19,9,6,8,9,6,9,19,6,19,5,10,11,19,11,18,19,11,17,18,11,12,17,5,18,4,5,19,18,18,3,4,18,17,3,17,2,3,15,0,1,17,12,1,1,12,13,13,15,1,14,15,13,16,0,15,17,1,2],"vertices":[1,1,257.5,87.36,1,2,1,285.28,8.75,0.8493,2,-92.53,289.53,0.1507,2,1,303.04,-41.49,0.75114,2,-74.77,239.29,0.24886,2,1,318.04,-65.09,0.27201,2,-59.77,215.69,0.72799,1,2,-47.43,197.9,1,1,2,-38.02,184.33,1,1,2,90.64,-1.15,1,1,2,79.19,-46.93,1,1,2,13.7,-87,1,1,2,-63.66,-79.35,1,1,2,-151.96,126.24,1,2,1,218.85,-138.22,0.21937,2,-158.97,142.56,0.78063,2,1,212.38,-123.16,0.5409,2,-165.44,157.62,0.4591,1,1,133.32,-112.23,1,1,1,46,-47.44,1,1,1,46,22.32,1,1,1,67.24,87.35,1,2,1,270.26,-94.38,0.32436,2,-107.55,186.4,0.67564,1,2,-97.76,172.16,1,1,2,-92.42,155.7,1],"hull":17}},"门把手":{"门把手":{"x":93,"y":1.86,"width":298,"height":121}}}}],"animations":{"开门":{"slots":{"开门手":{"color":[{"time":0.6667,"color":"ffffffff","curve":0.25,"c3":0.75},{"time":0.8333,"color":"ffffff00"}],"attachment":[{"name":"开门手"}]}},"bones":{"骨骼":{"rotate":[{"curve":0.25,"c3":0.75},{"time":0.3333,"angle":-23.57,"curve":0.25,"c3":0.75},{"time":0.6667}]},"骨骼3":{"rotate":[{"curve":0.25,"c3":0.75},{"time":0.3333,"angle":18.04,"curve":0.25,"c3":0.75},{"time":0.6667}],"translate":[{"curve":0.25,"c3":0.75},{"time":0.3333,"x":55,"y":38.78,"curve":0.25,"c3":0.75},{"time":0.6667}]}}},"把手":{}}}

@ -0,0 +1,10 @@
{
"ver": "1.2.5",
"uuid": "1125b9f5-763f-42d0-bd85-507e53271877",
"importer": "spine",
"textures": [
"9246b477-32e1-4499-842f-754df809472d"
],
"scale": 1,
"subMetas": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "9246b477-32e1-4499-842f-754df809472d",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 581,
"height": 427,
"platformSettings": {},
"subMetas": {
"开门": {
"ver": "1.0.6",
"uuid": "e2fac09d-74bc-40f0-af21-6e620e12ed35",
"importer": "sprite-frame",
"rawTextureUuid": "9246b477-32e1-4499-842f-754df809472d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0.5,
"offsetY": 0,
"trimX": 3,
"trimY": 2,
"width": 576,
"height": 423,
"rawWidth": 581,
"rawHeight": 427,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

@ -0,0 +1,76 @@
打耳光特写.png
size: 1996,896
format: RGBA8888
filter: Linear,Linear
repeat: none
漫画线
rotate: true
xy: 2, 340
size: 554, 915
orig: 554, 915
offset: 0, 0
index: -1
特写背景
rotate: false
xy: 919, 2
size: 564, 517
orig: 647, 517
offset: 36, 0
index: -1
男主挨巴掌头1
rotate: true
xy: 1681, 179
size: 132, 192
orig: 132, 192
offset: 0, 0
index: -1
男主挨巴掌头2
rotate: true
xy: 1670, 43
size: 134, 194
orig: 134, 194
offset: 0, 0
index: -1
男主挨巴掌身体
rotate: true
xy: 2, 21
size: 317, 915
orig: 317, 915
offset: 0, 0
index: -1
黑社会耳光上臂
rotate: true
xy: 1872, 372
size: 147, 118
orig: 147, 118
offset: 0, 0
index: -1
黑社会耳光小臂1
rotate: false
xy: 1485, 6
size: 183, 257
orig: 183, 257
offset: 0, 0
index: -1
黑社会耳光小臂2
rotate: false
xy: 1485, 265
size: 194, 254
orig: 194, 254
offset: 0, 0
index: -1
黑社会耳光小臂3
rotate: false
xy: 1681, 313
size: 189, 206
orig: 189, 206
offset: 0, 0
index: -1
黑社会耳光身体
rotate: true
xy: 919, 521
size: 373, 1075
orig: 373, 1075
offset: 0, 0
index: -1

@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "8f3ba34a-3474-499f-95b3-cbfa95f9dad3",
"importer": "asset",
"subMetas": {}
}

File diff suppressed because one or more lines are too long

@ -0,0 +1,10 @@
{
"ver": "1.2.5",
"uuid": "bd7250a1-2d25-463b-b482-8b3ac0b41697",
"importer": "spine",
"textures": [
"96ccea37-de03-4149-b7e3-7f4c38e6e037"
],
"scale": 1,
"subMetas": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "96ccea37-de03-4149-b7e3-7f4c38e6e037",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1996,
"height": 896,
"platformSettings": {},
"subMetas": {
"打耳光特写": {
"ver": "1.0.6",
"uuid": "d95e73ed-3d74-4fc8-9228-e0953771151a",
"importer": "sprite-frame",
"rawTextureUuid": "96ccea37-de03-4149-b7e3-7f4c38e6e037",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -2,
"trimX": 2,
"trimY": 6,
"width": 1992,
"height": 888,
"rawWidth": 1996,
"rawHeight": 896,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,13 @@
{
"ver": "1.1.3",
"uuid": "ac2c8635-07f1-4294-ae9f-50438815d9aa",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

@ -0,0 +1,20 @@
女儿.png
size: 572,374
format: RGBA8888
filter: Linear,Linear
repeat: none
女儿
rotate: true
xy: 2, 2
size: 370, 308
orig: 370, 308
offset: 0, 0
index: -1
女儿阴影
rotate: true
xy: 312, 7
size: 365, 258
orig: 365, 258
offset: 0, 0
index: -1

@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "ad0c3e62-d86e-478b-a578-4c6a3cc5fc6b",
"importer": "asset",
"subMetas": {}
}

File diff suppressed because one or more lines are too long

@ -0,0 +1,10 @@
{
"ver": "1.2.5",
"uuid": "a18fccbc-d7ec-401d-b1d6-0f55fe0e7460",
"importer": "spine",
"textures": [
"c78b19ae-edeb-42a5-979d-f98865e3bd10"
],
"scale": 1,
"subMetas": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "c78b19ae-edeb-42a5-979d-f98865e3bd10",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 572,
"height": 374,
"platformSettings": {},
"subMetas": {
"女儿": {
"ver": "1.0.6",
"uuid": "f67d7c3b-d7fc-4402-9a94-0883b8c1d920",
"importer": "sprite-frame",
"rawTextureUuid": "c78b19ae-edeb-42a5-979d-f98865e3bd10",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 3,
"trimY": 3,
"width": 566,
"height": 368,
"rawWidth": 572,
"rawHeight": 374,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

@ -0,0 +1,34 @@
绑匪.png
size: 940,240
format: RGBA8888
filter: Linear,Linear
repeat: none
绑匪
rotate: true
xy: 2, 2
size: 236, 856
orig: 236, 856
offset: 0, 0
index: -1
绑匪张嘴
rotate: false
xy: 909, 17
size: 21, 10
orig: 23, 12
offset: 1, 1
index: -1
绑匪闭眼
rotate: false
xy: 860, 15
size: 47, 12
orig: 49, 14
offset: 1, 1
index: -1
绑匪阴影
rotate: true
xy: 860, 29
size: 209, 78
orig: 215, 99
offset: 1, 10
index: -1

@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "397a1579-b7ad-449f-9b22-c872397b9652",
"importer": "asset",
"subMetas": {}
}

File diff suppressed because one or more lines are too long

@ -0,0 +1,10 @@
{
"ver": "1.2.5",
"uuid": "4a105500-246c-41a3-a0a8-c27c8697a9a3",
"importer": "spine",
"textures": [
"6e8e480c-39c4-4ac5-ace3-2b13d8cea272"
],
"scale": 1,
"subMetas": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "6e8e480c-39c4-4ac5-ace3-2b13d8cea272",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 940,
"height": 240,
"platformSettings": {},
"subMetas": {
"绑匪": {
"ver": "1.0.6",
"uuid": "58b294c9-c6f3-4ab9-942b-1a12edb4502c",
"importer": "sprite-frame",
"rawTextureUuid": "6e8e480c-39c4-4ac5-ace3-2b13d8cea272",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0.5,
"offsetY": -0.5,
"trimX": 3,
"trimY": 3,
"width": 935,
"height": 235,
"rawWidth": 940,
"rawHeight": 240,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

@ -0,0 +1,69 @@
门.png
size: 2023,518
format: RGBA8888
filter: Linear,Linear
repeat: none
把手
rotate: false
xy: 1678, 193
size: 194, 27
orig: 199, 30
offset: 3, 2
index: -1
砸锁光
rotate: false
xy: 1914, 408
size: 107, 108
orig: 113, 114
offset: 3, 3
index: -1
砸锁手
rotate: false
xy: 1678, 222
size: 234, 294
orig: 234, 294
offset: 0, 0
index: -1
砸锁线
rotate: false
xy: 1820, 17
size: 177, 174
orig: 181, 176
offset: 2, 1
index: -1
rotate: false
xy: 1659, 2
size: 159, 154
orig: 160, 154
offset: 0, 0
index: -1
门关1
rotate: true
xy: 840, 158
size: 358, 836
orig: 359, 836
offset: 0, 0
index: -1
门关2
rotate: true
xy: 2, 122
size: 394, 836
orig: 394, 836
offset: 0, 0
index: -1
门开1
rotate: true
xy: 840, 18
size: 138, 817
orig: 138, 817
offset: 0, 0
index: -1
门开2
rotate: true
xy: 2, 7
size: 113, 823
orig: 113, 823
offset: 0, 0
index: -1

@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "45d01da6-5bd0-4f2a-8e8c-1567f05994ef",
"importer": "asset",
"subMetas": {}
}

File diff suppressed because one or more lines are too long

@ -0,0 +1,10 @@
{
"ver": "1.2.5",
"uuid": "a7fbe8d3-f582-4030-8ced-8b70b292011a",
"importer": "spine",
"textures": [
"b77cfc9f-4228-4b01-afcf-d894d468e53f"
],
"scale": 1,
"subMetas": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 791 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "b77cfc9f-4228-4b01-afcf-d894d468e53f",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2023,
"height": 518,
"platformSettings": {},
"subMetas": {
"门": {
"ver": "1.0.6",
"uuid": "edbae2ab-4cc7-412a-aa37-32d07ac6f709",
"importer": "sprite-frame",
"rawTextureUuid": "b77cfc9f-4228-4b01-afcf-d894d468e53f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0.5,
"offsetY": -0.5,
"trimX": 3,
"trimY": 3,
"width": 2018,
"height": 513,
"rawWidth": 2023,
"rawHeight": 518,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

@ -24,26 +24,26 @@
"__id__": 5
},
{
"__id__": 43
"__id__": 52
},
{
"__id__": 49
"__id__": 58
}
],
"_active": true,
"_components": [
{
"__id__": 63
"__id__": 72
},
{
"__id__": 64
"__id__": 73
},
{
"__id__": 65
"__id__": 74
}
],
"_prefab": {
"__id__": 66
"__id__": 75
},
"_opacity": 255,
"_color": {
@ -189,20 +189,29 @@
"__id__": 6
},
{
"__id__": 10
"__id__": 9
},
{
"__id__": 30
"__id__": 12
},
{
"__id__": 15
},
{
"__id__": 19
},
{
"__id__": 39
}
],
"_active": true,
"_components": [
{
"__id__": 41
"__id__": 50
}
],
"_prefab": {
"__id__": 42
"__id__": 51
},
"_opacity": 255,
"_color": {
@ -251,6 +260,337 @@
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "椅子 拷贝",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 7
}
],
"_prefab": {
"__id__": 8
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 296,
"height": 316
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-43.191,
-60.975,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "ad3463f6-7cee-44b4-b2f4-d5ffc954892a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "98kv30Ni5LD5+BaK594ikv",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "桌子 拷贝",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
}
],
"_prefab": {
"__id__": 11
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 766,
"height": 544
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
75.012,
-143.156,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c5fb9e1f-777f-45ad-8f97-de7d27927cf5"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "d0glWcglZGaa+lXYOCKOW0",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "任务11",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
}
],
"_prefab": {
"__id__": 14
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1102,
"height": 1669
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
33.304,
-73.092,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "sp.Skeleton",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": true,
"_materials": [
{
"__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3"
}
],
"paused": false,
"defaultSkin": "default",
"defaultAnimation": "提箱待机",
"_preCacheMode": 0,
"_cacheMode": 0,
"loop": true,
"premultipliedAlpha": true,
"timeScale": 1,
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_skeletonCache": null,
"_animationName": "提箱待机",
"_animationQueue": [],
"_headAniInfo": null,
"_playTimes": 0,
"_isAniComplete": true,
"_N$skeletonData": {
"__uuid__": "43f0efeb-2a50-408a-b9dc-3b85dc17e24b"
},
"_N$_defaultCacheMode": 0,
"_N$debugSlots": false,
"_N$debugBones": false,
"_N$debugMesh": false,
"_N$useTint": false,
"_N$enableBatch": false,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "72jvdjE3hGYJsnqXQ4aUfa",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "镜头移动节点",
@ -260,13 +600,13 @@
},
"_children": [
{
"__id__": 7
"__id__": 16
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 9
"__id__": 18
},
"_opacity": 255,
"_color": {
@ -320,13 +660,13 @@
"_name": "男主",
"_objFlags": 0,
"_parent": {
"__id__": 6
"__id__": 15
},
"_children": [],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 8
"__id__": 17
},
"_opacity": 255,
"_color": {
@ -406,19 +746,19 @@
},
"_children": [
{
"__id__": 11
"__id__": 20
},
{
"__id__": 17
"__id__": 26
},
{
"__id__": 23
"__id__": 32
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 29
"__id__": 38
},
"_opacity": 255,
"_color": {
@ -472,21 +812,21 @@
"_name": "qipao1",
"_objFlags": 0,
"_parent": {
"__id__": 10
"__id__": 19
},
"_children": [
{
"__id__": 12
"__id__": 21
}
],
"_active": false,
"_components": [
{
"__id__": 15
"__id__": 24
}
],
"_prefab": {
"__id__": 16
"__id__": 25
},
"_opacity": 255,
"_color": {
@ -540,17 +880,17 @@
"_name": "str",
"_objFlags": 0,
"_parent": {
"__id__": 11
"__id__": 20
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
"__id__": 22
}
],
"_prefab": {
"__id__": 14
"__id__": 23
},
"_opacity": 255,
"_color": {
@ -604,7 +944,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
"__id__": 21
},
"_enabled": true,
"_materials": [
@ -648,7 +988,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
"__id__": 20
},
"_enabled": true,
"_materials": [
@ -691,21 +1031,21 @@
"_name": "qipao2",
"_objFlags": 0,
"_parent": {
"__id__": 10
"__id__": 19
},
"_children": [
{
"__id__": 18
"__id__": 27
}
],
"_active": false,
"_components": [
{
"__id__": 21
"__id__": 30
}
],
"_prefab": {
"__id__": 22
"__id__": 31
},
"_opacity": 255,
"_color": {
@ -729,8 +1069,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
38.288,
175.205,
-90.733,
163.203,
0,
0,
0,
@ -759,17 +1099,17 @@
"_name": "str",
"_objFlags": 0,
"_parent": {
"__id__": 17
"__id__": 26
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 19
"__id__": 28
}
],
"_prefab": {
"__id__": 20
"__id__": 29
},
"_opacity": 255,
"_color": {
@ -823,7 +1163,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 18
"__id__": 27
},
"_enabled": true,
"_materials": [
@ -867,7 +1207,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
"__id__": 26
},
"_enabled": true,
"_materials": [
@ -910,21 +1250,21 @@
"_name": "qipao3",
"_objFlags": 0,
"_parent": {
"__id__": 10
"__id__": 19
},
"_children": [
{
"__id__": 24
"__id__": 33
}
],
"_active": false,
"_components": [
{
"__id__": 27
"__id__": 36
}
],
"_prefab": {
"__id__": 28
"__id__": 37
},
"_opacity": 255,
"_color": {
@ -978,17 +1318,17 @@
"_name": "str",
"_objFlags": 0,
"_parent": {
"__id__": 23
"__id__": 32
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 25
"__id__": 34
}
],
"_prefab": {
"__id__": 26
"__id__": 35
},
"_opacity": 255,
"_color": {
@ -1042,7 +1382,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
"__id__": 33
},
"_enabled": true,
"_materials": [
@ -1086,7 +1426,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
"__id__": 32
},
"_enabled": true,
"_materials": [
@ -1144,23 +1484,23 @@
},
"_children": [
{
"__id__": 31
"__id__": 40
},
{
"__id__": 34
"__id__": 43
}
],
"_active": false,
"_components": [
{
"__id__": 37
"__id__": 46
},
{
"__id__": 38
"__id__": 47
}
],
"_prefab": {
"__id__": 40
"__id__": 49
},
"_opacity": 255,
"_color": {
@ -1184,8 +1524,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
23.362,
376.774,
-92.157,
234.251,
0,
0,
0,
@ -1214,17 +1554,17 @@
"_name": "按钮交付",
"_objFlags": 0,
"_parent": {
"__id__": 30
"__id__": 39
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 32
"__id__": 41
}
],
"_prefab": {
"__id__": 33
"__id__": 42
},
"_opacity": 255,
"_color": {
@ -1278,7 +1618,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 31
"__id__": 40
},
"_enabled": true,
"_materials": [
@ -1321,17 +1661,17 @@
"_name": "spFrame",
"_objFlags": 0,
"_parent": {
"__id__": 30
"__id__": 39
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 35
"__id__": 44
}
],
"_prefab": {
"__id__": 36
"__id__": 45
},
"_opacity": 255,
"_color": {
@ -1385,7 +1725,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 34
"__id__": 43
},
"_enabled": true,
"_materials": [
@ -1428,7 +1768,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 30
"__id__": 39
},
"_enabled": true,
"scaleStart": 1,
@ -1441,7 +1781,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 30
"__id__": 39
},
"_enabled": true,
"_normalMaterial": null,
@ -1450,7 +1790,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 39
"__id__": 48
}
],
"_N$interactable": true,
@ -1544,7 +1884,9 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_spriteFrame": {
"__uuid__": "3c1e77e1-6237-4a5c-b696-fa9bef270b63"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
@ -1579,17 +1921,17 @@
},
"_children": [
{
"__id__": 44
"__id__": 53
}
],
"_active": false,
"_components": [
{
"__id__": 47
"__id__": 56
}
],
"_prefab": {
"__id__": 48
"__id__": 57
},
"_opacity": 255,
"_color": {
@ -1643,17 +1985,17 @@
"_name": "str",
"_objFlags": 0,
"_parent": {
"__id__": 43
"__id__": 52
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 45
"__id__": 54
}
],
"_prefab": {
"__id__": 46
"__id__": 55
},
"_opacity": 255,
"_color": {
@ -1707,7 +2049,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
"__id__": 53
},
"_enabled": true,
"_materials": [
@ -1751,7 +2093,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 43
"__id__": 52
},
"_enabled": true,
"_materials": [
@ -1798,23 +2140,23 @@
},
"_children": [
{
"__id__": 50
"__id__": 59
},
{
"__id__": 53
"__id__": 62
},
{
"__id__": 57
"__id__": 66
}
],
"_active": false,
"_components": [
{
"__id__": 60
"__id__": 69
}
],
"_prefab": {
"__id__": 62
"__id__": 71
},
"_opacity": 255,
"_color": {
@ -1868,17 +2210,17 @@
"_name": "语音播放",
"_objFlags": 0,
"_parent": {
"__id__": 49
"__id__": 58
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 51
"__id__": 60
}
],
"_prefab": {
"__id__": 52
"__id__": 61
},
"_opacity": 255,
"_color": {
@ -1932,7 +2274,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
"__id__": 59
},
"_enabled": true,
"_materials": [
@ -1985,20 +2327,20 @@
"_name": "lab",
"_objFlags": 0,
"_parent": {
"__id__": 49
"__id__": 58
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 54
"__id__": 63
},
{
"__id__": 55
"__id__": 64
}
],
"_prefab": {
"__id__": 56
"__id__": 65
},
"_opacity": 255,
"_color": {
@ -2052,7 +2394,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
"__id__": 62
},
"_enabled": true,
"_materials": [
@ -2085,7 +2427,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
"__id__": 62
},
"_enabled": true,
"_color": {
@ -2114,17 +2456,17 @@
"_name": "头像",
"_objFlags": 0,
"_parent": {
"__id__": 49
"__id__": 58
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 58
"__id__": 67
}
],
"_prefab": {
"__id__": 59
"__id__": 68
},
"_opacity": 255,
"_color": {
@ -2178,7 +2520,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
"__id__": 66
},
"_enabled": true,
"_materials": [
@ -2219,7 +2561,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 49
"__id__": 58
},
"_enabled": true,
"_normalMaterial": null,
@ -2228,7 +2570,7 @@
"zoomScale": 1.1,
"clickEvents": [
{
"__id__": 61
"__id__": 70
}
],
"_N$interactable": true,
@ -2284,7 +2626,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 49
"__id__": 58
},
"_id": ""
},
@ -2354,13 +2696,14 @@
"__id__": 1
},
"_enabled": true,
"nanzhu": null,
"heishehui": null,
"nanzhu": {
"__id__": 13
},
"m_bg": {
"__id__": 5
},
"MoveNodes": {
"__id__": 6
"__id__": 15
},
"_id": ""
},

@ -0,0 +1,13 @@
{
"ver": "1.1.3",
"uuid": "83e9dce9-11ed-4b0e-94bb-5ffe1bc86a01",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "b8b0b2a6-2a1b-4892-a7d3-eca57ff3b6ea",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1100,
"height": 1667,
"platformSettings": {},
"subMetas": {
"场景": {
"ver": "1.0.6",
"uuid": "3c1e77e1-6237-4a5c-b696-fa9bef270b63",
"importer": "sprite-frame",
"rawTextureUuid": "b8b0b2a6-2a1b-4892-a7d3-eca57ff3b6ea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1100,
"height": 1667,
"rawWidth": 1100,
"rawHeight": 1667,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "72e2b0be-1f03-456d-aa91-b3f304292ba4",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 766,
"height": 544,
"platformSettings": {},
"subMetas": {
"桌子 拷贝": {
"ver": "1.0.6",
"uuid": "c5fb9e1f-777f-45ad-8f97-de7d27927cf5",
"importer": "sprite-frame",
"rawTextureUuid": "72e2b0be-1f03-456d-aa91-b3f304292ba4",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 766,
"height": 544,
"rawWidth": 766,
"rawHeight": 544,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "f3c3e718-fbcd-47fb-a664-405179fbc71a",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 296,
"height": 316,
"platformSettings": {},
"subMetas": {
"椅子 拷贝": {
"ver": "1.0.6",
"uuid": "ad3463f6-7cee-44b4-b2f4-d5ffc954892a",
"importer": "sprite-frame",
"rawTextureUuid": "f3c3e718-fbcd-47fb-a664-405179fbc71a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 296,
"height": 316,
"rawWidth": 296,
"rawHeight": 316,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

@ -0,0 +1,13 @@
{
"ver": "1.1.3",
"uuid": "997d12d7-9195-43a8-b9d3-73cd7fc28c27",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

@ -0,0 +1,76 @@
任务11.png
size: 1217,215
format: RGBA8888
filter: Linear,Linear
repeat: none
主角头
rotate: false
xy: 1131, 98
size: 84, 115
orig: 86, 117
offset: 1, 1
index: -1
主角张嘴
rotate: false
xy: 1145, 87
size: 16, 9
orig: 18, 11
offset: 1, 1
index: -1
主角手拿手提箱
rotate: true
xy: 833, 39
size: 174, 180
orig: 176, 182
offset: 1, 1
index: -1
主角身体
rotate: true
xy: 2, 7
size: 206, 602
orig: 206, 602
offset: 0, 0
index: -1
主角闭眼
rotate: true
xy: 1131, 55
size: 41, 12
orig: 43, 14
offset: 1, 1
index: -1
主角阴影
rotate: false
xy: 833, 2
size: 167, 35
orig: 174, 42
offset: 4, 4
index: -1
钱箱
rotate: true
xy: 1015, 31
size: 182, 114
orig: 184, 116
offset: 1, 1
index: -1
黑社会张嘴
rotate: false
xy: 1131, 42
size: 20, 11
orig: 23, 13
offset: 2, 1
index: -1
黑社会身体
rotate: true
xy: 606, 22
size: 191, 225
orig: 191, 225
offset: 0, 0
index: -1
黑社会闭眼
rotate: true
xy: 1002, 3
size: 34, 11
orig: 36, 13
offset: 1, 1
index: -1

@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "d9cdd519-5b1c-4c15-aeda-c00f8402e8d8",
"importer": "asset",
"subMetas": {}
}

File diff suppressed because one or more lines are too long

@ -0,0 +1,10 @@
{
"ver": "1.2.5",
"uuid": "43f0efeb-2a50-408a-b9dc-3b85dc17e24b",
"importer": "spine",
"textures": [
"5249fc9d-23ae-49fb-a1f3-800855ab8bad"
],
"scale": 1,
"subMetas": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "5249fc9d-23ae-49fb-a1f3-800855ab8bad",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1217,
"height": 215,
"platformSettings": {},
"subMetas": {
"任务11": {
"ver": "1.0.6",
"uuid": "e570fd27-d446-4e95-a0b7-f61e290e0bbf",
"importer": "sprite-frame",
"rawTextureUuid": "5249fc9d-23ae-49fb-a1f3-800855ab8bad",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0.5,
"offsetY": 0,
"trimX": 3,
"trimY": 2,
"width": 1212,
"height": 211,
"rawWidth": 1217,
"rawHeight": 215,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

@ -38,11 +38,11 @@ export default class AppConfig {
//--设置各自游戏的 资源服务器地址
public static TT_ResServer_custom: string = "https://dycdn.ioe-times.com/tzrsdf/remoteRes_1.0.2/";
public static WX_ResServer_custom: string = "https://dycdn.ioe-times.com/tzrsdf/remoteRes_1.0.2/";//资源服务器地址
public static QQ_ResServer_custom: string = "https://dycdn.ioe-times.com/tzrsdf/remoteRes_1.0.2/";//资源服务器地址
public static VIVO_ResServer_custom: string = "https://dycdn.ioe-times.com/tzrsdf/remoteRes_1.0.2/";//资源服务器地址
public static OPPO_ResServer_custom: string = "https://dycdn.ioe-times.com/tzrsdf/remoteRes_1.0.2/";//资源服务器地址
public static TT_ResServer_custom: string = "https://dycdn.ioe-times.com/xianyudefanji/remoteRes/";
public static WX_ResServer_custom: string = "https://dycdn.ioe-times.com/xianyudefanji/remoteRes/";//资源服务器地址
public static QQ_ResServer_custom: string = "https://dycdn.ioe-times.com/xianyudefanji/remoteRes/";//资源服务器地址
public static VIVO_ResServer_custom: string = "https://dycdn.ioe-times.com/xianyudefanji/remoteRes/";//资源服务器地址
public static OPPO_ResServer_custom: string = "https://dycdn.ioe-times.com/xianyudefanji/remoteRes/";//资源服务器地址
public static APK_ResServer_custom: string = "";//资源服务器地址
//--各自游戏的版本

@ -383,6 +383,7 @@ export enum ryw_Event {
updateZuanShi = 4322,
freshGuanQiaProgress = 4323,
RefreshJieDao = 4324,
refreshZaoCan = 4325,
//找茬1209密码
Check1209Mima = 9004,
Check1303Mima = 9005,

@ -226,6 +226,7 @@ export class UserGameData {
public duiyouList: { mishuId: number, mishuLevel: number, isLock: boolean, is20Reward: boolean }[] = []
public shiPuArray: { id: number, isLock: boolean; level: number }[] = []
public tanweiArray: { id: number, isLock: boolean; level: number }[] = []
public zaoCanArray: { id: number, isLock: boolean; }[] = []
public onlineTime = 0
public zhuanPanFree = true
@ -865,6 +866,9 @@ export default class User {
if (null != data.tanweiArray) {
User._gameData_custom.tanweiArray = data.tanweiArray;
}
if (null != data.zaoCanArray) {
User._gameData_custom.zaoCanArray = data.zaoCanArray;
}
if (null != data.paihangbangReward) {
User._gameData_custom.paihangbangReward = data.paihangbangReward;
}
@ -2719,6 +2723,13 @@ export default class User {
return User._gameData_custom.tanweiArray;
}
public static setzaoCanArray(array) {
User._gameData_custom.zaoCanArray = array;
}
public static getzaoCanArray() {
return User._gameData_custom.zaoCanArray;
}
public static setPaihangbangReward(array) {
User._gameData_custom.paihangbangReward = array;
}
@ -3180,6 +3191,7 @@ export default class User {
User._gameData_custom.shiPuArray = []
User._gameData_custom.tanweiArray = []
User._gameData_custom.zaoCanArray = []
User._gameData_custom.paihangbangReward = [-1, 0]
User._gameData_custom.onlineTime = 0
User._gameData_custom.levelupJieSuoArray = [

@ -326,8 +326,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 665,
"height": 223
"width": 419,
"height": 83
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -371,7 +371,7 @@
"__id__": 6
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 8
@ -543,8 +543,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 116,
"height": 39.28
"width": 112,
"height": 35.28
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -556,7 +556,7 @@
"ctor": "Float64Array",
"array": [
288.54,
-34.338,
-59.936,
0,
0,
0,
@ -620,7 +620,7 @@
"node": {
"__id__": 12
},
"_enabled": true,
"_enabled": false,
"_color": {
"__type__": "cc.Color",
"r": 130,
@ -662,14 +662,14 @@
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 139,
"g": 121,
"b": 84,
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 500,
"width": 400,
"height": 37.8
},
"_anchorPoint": {
@ -682,7 +682,7 @@
"ctor": "Float64Array",
"array": [
290.716,
-111.516,
-93.445,
0,
0,
0,
@ -882,7 +882,7 @@
"__id__": 1
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 25

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

@ -24,10 +24,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 665,
"height": 223,
"rawWidth": 665,
"rawHeight": 223,
"width": 419,
"height": 83,
"rawWidth": 419,
"rawHeight": 83,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,

File diff suppressed because it is too large Load Diff

@ -0,0 +1,41 @@
场景1.png
size: 352,462
format: RGBA8888
filter: Linear,Linear
repeat: none
小女孩
rotate: true
xy: 2, 190
size: 145, 330
orig: 145, 330
offset: 0, 0
index: -1
小女孩嘴巴
rotate: false
xy: 2, 454
size: 8, 6
orig: 10, 8
offset: 1, 1
index: -1
小女孩睁眼
rotate: false
xy: 12, 438
size: 40, 22
orig: 42, 25
offset: 1, 2
index: -1
床覆盖
rotate: true
xy: 54, 337
size: 123, 296
orig: 458, 296
offset: 335, 0
index: -1
敲门
rotate: true
xy: 2, 2
size: 186, 341
orig: 188, 343
offset: 1, 1
index: -1

@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "0fb22d8a-5f36-4e2b-8e6f-8e81b26c70f3",
"importer": "asset",
"subMetas": {}
}

File diff suppressed because one or more lines are too long

@ -0,0 +1,10 @@
{
"ver": "1.2.5",
"uuid": "5874dbb7-20c2-485e-a6c7-fdae533c3c4e",
"importer": "spine",
"textures": [
"a1711fc0-d908-4773-a085-76d752c50e7d"
],
"scale": 1,
"subMetas": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "a1711fc0-d908-4773-a085-76d752c50e7d",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 352,
"height": 462,
"platformSettings": {},
"subMetas": {
"场景1": {
"ver": "1.0.6",
"uuid": "4ec440ca-46bd-4823-999d-272d2690e8b7",
"importer": "sprite-frame",
"rawTextureUuid": "a1711fc0-d908-4773-a085-76d752c50e7d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 0,
"trimX": 2,
"trimY": 2,
"width": 347,
"height": 458,
"rawWidth": 352,
"rawHeight": 462,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

@ -8,8 +8,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 170,
"height": 72,
"width": 183,
"height": 163,
"platformSettings": {},
"subMetas": {
"升级": {
@ -24,10 +24,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 170,
"height": 72,
"rawWidth": 170,
"rawHeight": 72,
"width": 183,
"height": 163,
"rawWidth": 183,
"rawHeight": 163,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

@ -24,10 +24,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 413,
"height": 179,
"rawWidth": 413,
"rawHeight": 179,
"width": 355,
"height": 135,
"rawWidth": 355,
"rawHeight": 135,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "0fecc99c-905b-4b3e-bd40-aa0554fe07e2",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 457,
"height": 189,
"platformSettings": {},
"subMetas": {
"对话弹窗": {
"ver": "1.0.6",
"uuid": "6b34d49a-c29b-4650-99be-c6ff5f6817ae",
"importer": "sprite-frame",
"rawTextureUuid": "0fecc99c-905b-4b3e-bd40-aa0554fe07e2",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 457,
"height": 189,
"rawWidth": 457,
"rawHeight": 189,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

@ -24,10 +24,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 81,
"height": 92,
"rawWidth": 81,
"rawHeight": 92,
"width": 110,
"height": 134,
"rawWidth": 110,
"rawHeight": 134,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "fe5b7a63-f601-41de-b35f-2ccf4e55f7e4",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 349,
"height": 109,
"platformSettings": {},
"subMetas": {
"收入提升": {
"ver": "1.0.6",
"uuid": "87d987f2-ffdd-4088-954f-6523646bcd04",
"importer": "sprite-frame",
"rawTextureUuid": "fe5b7a63-f601-41de-b35f-2ccf4e55f7e4",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 349,
"height": 109,
"rawWidth": 349,
"rawHeight": 109,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "2ec7fcac-1c03-4ff6-ba3a-155408fe67db",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 81,
"height": 86,
"platformSettings": {},
"subMetas": {
"早餐": {
"ver": "1.0.6",
"uuid": "699b85c5-b31b-48a7-a1a5-7043272dd369",
"importer": "sprite-frame",
"rawTextureUuid": "2ec7fcac-1c03-4ff6-ba3a-155408fe67db",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 81,
"height": 86,
"rawWidth": 81,
"rawHeight": 86,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

@ -14,18 +14,22 @@ const { ccclass, property, disallowMultiple, menu } = cc._decorator;
@menu('对话剧情/DH_1')
export default class DH_1 extends DHBase {
chatConfig = [
{ effectUrl: 'DH/DH_1/sound/这是夏芸家吗?', delayTime: 6.21, str: '这是夏芸家吗?', posi: 'qipao1' },
{ effectUrl: 'DH/DH_1/sound/是的,我是夏芸前夫,你是?', delayTime: 4.59, str: '是的,我是夏芸前夫,你是?', posi: '-1' },
{ effectUrl: 'DH/DH_1/sound/管你什么前夫后夫,夏芸用这房子抵押借了500万高利贷。', delayTime: 4.59, str: '管你什么前夫后夫,夏芸用这房子抵押借了500万高利贷。', posi: '-1' },
{ effectUrl: 'DH/DH_1/sound/现在找不到她人,我们是过来收房子的。', delayTime: 4.59, str: '现在找不到她人,我们是过来收房子的。', posi: '-1' },
{ effectUrl: 'DH/DH_1/sound/这是夏芸家吗?', delayTime: 3.21, str: '这是夏芸家吗?', posi: 'qipao2' },
{ effectUrl: 'DH/DH_1/sound/是的,我是夏芸前夫,你是?', delayTime: 3.59, str: '是的,我是夏芸前夫,你是?', posi: '-1' },
{ effectUrl: 'DH/DH_1/sound/管你什么前夫后夫,夏芸用这房子抵押借了500万高利贷。', delayTime: 4.59, str: '管你什么前夫后夫,夏芸用这房子抵押借了500万高利贷。', posi: 'qipao2' },
{ effectUrl: 'DH/DH_1/sound/现在找不到她人,我们是过来收房子的。', delayTime: 4.59, str: '现在找不到她人,我们是过来收房子的。', posi: 'qipao2' },
{ effectUrl: 'DH/DH_1/sound/什么?500万?我跟她已经离婚了,房子跟她没一毛钱关系。', delayTime: 4.59, str: '什么?500万?我跟她已经离婚了,房子跟她没一毛钱关系。', posi: '-1' },
{ effectUrl: 'DH/DH_1/sound/三天内拿不出500万,就乖乖把房子交出来。', delayTime: 4.59, str: '三天内拿不出500万,就乖乖把房子交出来。', posi: '-1' },
{ effectUrl: 'DH/DH_1/sound/三天内拿不出500万,就乖乖把房子交出来。', delayTime: 4.59, str: '三天内拿不出500万,就乖乖把房子交出来。', posi: 'qipao1' },
]
@property(sp.Skeleton)
nanzhu: sp.Skeleton = null
@property(sp.Skeleton)
openDoor: sp.Skeleton = null
@property(sp.Skeleton)
heishehui: sp.Skeleton = null
daerguang: sp.Skeleton = null
@property(cc.Node)
m_bg: cc.Node = null
@ -53,20 +57,38 @@ export default class DH_1 extends DHBase {
// this.nanzhu.setAnimation(0, "下面持续", true)
// this.heishehui.setAnimation(0, "小弟待机", true)
const dialogEvents = [
(func) => {
this.openDoor.node.active = true
this.openDoor.setAnimation(0, "开门", false)
this.openDoor.setCompleteListener(() => {
this.openDoor.setCompleteListener(null)
this.openDoor.node.active = false
func()
})
},
(func) => {
this.m_bg.getChildByName("关门").active = false
this.nanzhu.node.active = true
this.nanzhu.setAnimation(0, "踢门", false)
this.nanzhu.setCompleteListener(() => {
this.nanzhu.setCompleteListener(null)
this.nanzhu.setAnimation(0, "黑社会待机", true)
func()
})
},
(func) => {
this.showQiPao(this.chatConfig[this.dialogIndex++], func, () => {
// this.heishehui.setAnimation(0, "小弟说话", true)
this.nanzhu.setAnimation(0, "黑社会说话", true)
});
},
(func) => {
// this.heishehui.setAnimation(0, "小弟待机", true)
this.nanzhu.setAnimation(0, "黑社会待机", true)
this.showClickDialog(this.chatConfig[this.dialogIndex++], func, () => {
// this.nanzhu.setAnimation(0, "侧头笑说话", true)
});
},
(func) => {
this.showQiPao(this.chatConfig[this.dialogIndex++], func, () => {
// this.heishehui.setAnimation(0, "小弟说话", true)
this.nanzhu.setAnimation(0, "黑社会说话", true)
});
},
(func) => {
@ -74,34 +96,33 @@ export default class DH_1 extends DHBase {
});
},
(func) => {
// this.heishehui.setAnimation(0, "小弟待机", true)
this.nanzhu.setAnimation(0, "黑社会待机", true)
this.showClickDialog(this.chatConfig[this.dialogIndex++], func, () => {
// this.nanzhu.setAnimation(0, "侧头笑说话", true)
});
},
(func) => {
this.nanzhu.node.active = false
this.daerguang.node.active = true
this.daerguang.setAnimation(0, "打耳光", false)
this.daerguang.setCompleteListener(() => {
this.daerguang.setCompleteListener(null)
this.daerguang.node.active = false
func()
})
},
(func) => {
this.nanzhu.node.active = true
this.showQiPao(this.chatConfig[this.dialogIndex++], func, () => {
// this.heishehui.setAnimation(0, "小弟说话", true)
this.nanzhu.setAnimation(0, "倒地黑社会说话", true)
});
},
// (func) => {
// this.xiaojiuzi.setAnimation(0, "撞人", false)
// this.xiaojiuzi.setCompleteListener(() => {
// this.xiaojiuzi.setCompleteListener(null)
// this.heiping.node.active = true
// this.heiping.setAnimation(0, "animation", false)
// this.xiaojiuzi.setCompleteListener(() => {
// this.xiaojiuzi.setCompleteListener(null)
// func()
// })
// })
// },
]
const dialogCallFunc = (logEvents: any[]) => {
logEvents.shift()(() => {
if (logEvents.length > 0) {
dialogCallFunc(logEvents);
} else {
this.nanzhu.setAnimation(0, "倒地", true)
TaskManager.finishCurMainTask(MainTaskIdEnum.MainTask_501)
TaskManager.setCurTask(MainTaskIdEnum.MainTask_502)
PrefabManage.showBlackGuoDu(() => {

@ -22,7 +22,7 @@ export default class DH_3 extends DHBase {
]
@property(sp.Skeleton)
nanzhu: sp.Skeleton = null
door: sp.Skeleton = null
@property(sp.Skeleton)
heishehui: sp.Skeleton = null
@ -43,7 +43,10 @@ export default class DH_3 extends DHBase {
if (mainId == MainTaskIdEnum.MainTask_605) {
this.continueStory();
} else {
this.m_bg.getChildByName("背景1").active = true
this.door.setAnimation(0, "有锁门", false)
this.m_bg.getChildByName("砸").active = true
this.heishehui.node.active = false
}
// this.scheduleOnce(() => {
// PrefabManage.preloadPrefabByType(GameType.DH_39)
@ -58,10 +61,11 @@ export default class DH_3 extends DHBase {
const dialogEvents = [
(func) => {
this.showQiPao(this.chatConfig[this.dialogIndex++], func, () => {
// this.heishehui.setAnimation(0, "小弟说话", true)
this.heishehui.setAnimation(0, "说话", true)
});
},
(func) => {
this.heishehui.setAnimation(0, "待机", true)
this.m_bg.getChildByName("needGoodNode_605").active = true
// this.heishehui.setAnimation(0, "小弟待机", true)
// this.showClickDialog(this.chatConfig[this.dialogIndex++], func, () => {
@ -106,34 +110,45 @@ export default class DH_3 extends DHBase {
onTouch() {
this.m_bg.getChildByName("needGoodNode_605").active = false
UserManager.subMoney(20000000)
this.showQiPao(this.chatConfig[this.dialogIndex++], () => {
this.showQiPao(this.chatConfig[this.dialogIndex++], () => {
cc.tween(this.heishehui.node)
.to(0.5, { opacity: 0 })
.start()
UserManager.subMoney(20000000)
this.m_bg.getChildByName("背景1").active = true
this.door.setAnimation(0, "有锁门", false)
this.m_bg.getChildByName("砸").active = true
TaskManager.finishCurMainTask(MainTaskIdEnum.MainTask_605)
TaskManager.setCurTask(MainTaskIdEnum.MainTask_606)
}, () => {
// this.heishehui.setAnimation(0, "小弟说话", true)
this.heishehui.setAnimation(0, "说话", true)
});
}, () => {
// this.heishehui.setAnimation(0, "小弟说话", true)
});
}
onTouchZaSuo() {
this.progress.progress += 0.1
this.door.setAnimation(0, "砸锁", true)
if (this.progress.progress >= 1) {
this.m_bg.getChildByName("砸").active = false
this.m_bg.getChildByName("背景1").active = true
this.showQiPao(this.chatConfig[this.dialogIndex++], ()=>{
User.setStatistics("zhangJie", 6)
TaskManager.finishCurMainTask(MainTaskIdEnum.MainTask_606)
TaskManager.setCurTask(MainTaskIdEnum.MainTask_701)
this.m_bg.getChildByName("前往医院").active = true
}, () => {
// this.heishehui.setAnimation(0, "小弟说话", true)
});
this.door.setAnimation(0, "打开门", false)
this.door.setCompleteListener(() => {
this.door.setCompleteListener(null)
this.door.node.active = false
this.showQiPao(this.chatConfig[this.dialogIndex++], () => {
User.setStatistics("zhangJie", 6)
TaskManager.finishCurMainTask(MainTaskIdEnum.MainTask_606)
TaskManager.setCurTask(MainTaskIdEnum.MainTask_701)
this.m_bg.getChildByName("前往医院").active = true
}, () => {
// this.heishehui.setAnimation(0, "小弟说话", true)
});
})
}
}

@ -17,14 +17,12 @@ const { ccclass, property, disallowMultiple, menu } = cc._decorator;
@menu('对话剧情/DH_5')
export default class DH_5 extends DHBase {
chatConfig = [
{ effectUrl: 'DH/DH_5/sound/怎么样?是还钱还是交房啊?', delayTime: 3.91, str: '怎么样?是还钱还是交房啊?', posi: 'qipao1' },
{ effectUrl: 'DH/DH_5/sound/怎么样?是还钱还是交房啊?', delayTime: 3.91, str: '怎么样?是还钱还是交房啊?', posi: 'qipao2' },
{ effectUrl: 'DH/DH_5/sound/债务两清了', delayTime: 3.91, str: '债务两清了', posi: '-1' },
]
@property(sp.Skeleton)
nanzhu: sp.Skeleton = null
@property(sp.Skeleton)
heishehui: sp.Skeleton = null
@property(cc.Node)
m_bg: cc.Node = null
@ -51,11 +49,11 @@ export default class DH_5 extends DHBase {
const dialogEvents = [
(func) => {
this.showQiPao(this.chatConfig[this.dialogIndex++], func, () => {
// this.heishehui.setAnimation(0, "小弟说话", true)
this.nanzhu.setAnimation(0, "提箱黑社会说话", true)
});
},
(func) => {
// this.heishehui.setAnimation(0, "小弟待机", true)
this.nanzhu.setAnimation(0, "提箱待机", true)
this.m_bg.getChildByName("needGoodNode_503").active = true
},
]
@ -83,8 +81,9 @@ export default class DH_5 extends DHBase {
onTouch() {
this.m_bg.getChildByName("needGoodNode_503").active = false
UserManager.subMoney(5000000)
this.nanzhu.setAnimation(0, "放箱待机", true)
this.showClickDialog(this.chatConfig[this.dialogIndex++], () => {
this.nanzhu.setAnimation(0, "放箱待机", true)
User.setStatistics("zhangJie", 5)
TaskManager.finishCurMainTask(MainTaskIdEnum.MainTask_503)
TaskManager.setCurTask(MainTaskIdEnum.MainTask_601)
@ -95,7 +94,7 @@ export default class DH_5 extends DHBase {
this.node.destroy()
})
}, () => {
// this.nanzhu.setAnimation(0, "侧头笑说话", true)
this.nanzhu.setAnimation(0, "放箱男主说话", true)
});
}

@ -87,7 +87,7 @@ let ChadianConfig = {
chadianLog402: [
{
str: "爸爸,妈妈怎么跟丑叔叔走了。",
qiPaoPos: 2,
qiPaoPos: 3,
delay: 2,
effectUrl: "GameRoomRes/sound/Room2/爸爸,妈妈怎么跟丑叔叔走了。"
},
@ -240,15 +240,23 @@ export default class Room2 extends cc.Component {
this.node.getChildByName('mainNode').getChildByName('老婆').getComponent(sp.Skeleton).setAnimation(0, '待机', true)
});
} else if (mainId == MainTaskIdEnum.MainTask_402) {
PrefabManage.preloadPrefabByType(GameType.DH_1)
this.node.getChildByName('mainNode').getChildByName('女儿坐床上').getComponent(sp.Skeleton).setAnimation(0, '女孩说话', true)
this.showQiPao(ChadianConfig.chadianLog402[0], () => {
this.node.getChildByName('mainNode').getChildByName('女儿坐床上').getComponent(sp.Skeleton).setAnimation(0, '女孩待机', true)
this.showQiPao(ChadianConfig.chadianLog402[1], () => {
this.node.getChildByName('mainNode').getChildByName('敲门').active = true
this.node.getChildByName('mainNode').getChildByName('敲门').getComponent(sp.Skeleton).setAnimation(0, '敲门', true)
this.showQiPao(ChadianConfig.chadianLog402[2], () => {
this.node.getChildByName('mainNode').getChildByName('敲门').active = false
User.setStatistics("zhangJie", 4)
TaskManager.finishCurMainTask(MainTaskIdEnum.MainTask_402)
TaskManager.setCurTask(MainTaskIdEnum.MainTask_501)
PrefabManage.loadPrefabByType(GameType.DH_1)
this.node.removeFromParent()
this.node.destroy()
this.scheduleOnce(() => {
this.node.removeFromParent()
this.node.destroy()
}, 1)
})
})
})
@ -284,7 +292,7 @@ export default class Room2 extends cc.Component {
} if (mainId == MainTaskIdEnum.MainTask_303 || mainId == MainTaskIdEnum.MainTask_401) {
this.node.getChildByName('mainNode').getChildByName('老板').active = true
this.node.getChildByName('mainNode').getChildByName('老婆').active = true
this.node.getChildByName('mainNode').getChildByName('女儿').active = true
this.node.getChildByName('mainNode').getChildByName('女儿坐床上').active = true
// this.node.getChildByName('mainNode').getChildByName('touchArea_化妆品').active = true
// this.node.getChildByName('mainNode').getChildByName('touchArea_衣服').active = true
// this.node.getChildByName('mainNode').getChildByName('touchArea_钱').active = true
@ -307,8 +315,8 @@ export default class Room2 extends cc.Component {
let chuMen = this.node.getChildByName('出门')
chuMen.active = false
} else if (mainId == MainTaskIdEnum.MainTask_402) {
this.node.getChildByName('mainNode').getChildByName('女儿').active = true
this.node.getChildByName('mainNode').getChildByName('女儿').getComponent(sp.Skeleton).setAnimation(0, '女儿哭泣', true)
this.node.getChildByName('mainNode').getChildByName('女儿坐床上').active = true
this.node.getChildByName('mainNode').getChildByName('女儿坐床上').getComponent(sp.Skeleton).setAnimation(0, '女孩待机', true)
} else if (mainId == MainTaskIdEnum.MainTask_203 || mainId == MainTaskIdEnum.MainTask_204 || mainId == MainTaskIdEnum.MainTask_205
|| mainId == MainTaskIdEnum.MainTask_206 || mainId == MainTaskIdEnum.MainTask_207) {
if (mainId == MainTaskIdEnum.MainTask_207) {

@ -37,7 +37,7 @@ export default class TaskInfoView extends cc.Component {
.to(0.3,{x:-288.5},{easing:'backInOut'})
.call(()=>{
this.isCanTouch = true
this.node.getChildByName('收起按钮').active = true
// this.node.getChildByName('收起按钮').active = true
})
.delay(3.0)
.call(()=>{

@ -236,13 +236,13 @@ let TaskListConfig = [
/**第4章 **/
{
TaskId: MainTaskIdEnum.MainTask_401, includeSubTaskId: [], needFinishSubTaskId: SubTaskIdEnum.SubTask_None,
TaskTittle: '恩断义绝', TaskDesc: '清理前妻的东西赶出家门', TaskNeedMoney: 0, finishUnLockJuQingIndex: '',
TaskTittle: '恩断义绝', TaskDesc: '清理前妻的东西赶出家门', TaskNeedMoney: 0, finishUnLockJuQingIndex: '',wanFaRuKouTip: ['rk_chuZuChe'],
subtitle: 7, isAutoTanChu: false
},
{
TaskId: MainTaskIdEnum.MainTask_402, includeSubTaskId: [], needFinishSubTaskId: SubTaskIdEnum.SubTask_None,
TaskTittle: '恩断义绝', TaskDesc: '安慰女儿', TaskNeedMoney: 0, finishUnLockJuQingIndex: '',
TaskTittle: '恩断义绝', TaskDesc: '安慰女儿', TaskNeedMoney: 0, finishUnLockJuQingIndex: '',wanFaRuKouTip: ['rk_chuZuChe'],
subtitle: 8, isAutoTanChu: true
},

@ -80,26 +80,26 @@ export default class MainHall extends UiBase {
guideArr = []
chatConfig = [
{ effectUrl: 'DH/MainHall/sound/哥哥,建议你试下升级哦!', delayTime: 2.21, str: '哥哥,建议你试下升级哦', posi: 'qipao2' },
{ effectUrl: 'DH/MainHall/sound/等级越高,每次点击赚钱越多哦', delayTime: 2.83, str: '等级越高,每次点击赚钱越多哦', posi: 'qipao2' },
{ effectUrl: 'DH/MainHall/sound/接下来我们试下升级后的点击收益吧', delayTime: 2.68, str: '接下来我们试下升级后的点击收益吧', posi: 'qipao2' },
{ effectUrl: 'DH/MainHall/sound/汉升哥哥,人太多忙不过来了,我们招个助理吧', delayTime: 4.35, str: '汉升哥哥,人太多忙不过来了,我们招个助理吧', posi: 'qipao2' },
{ effectUrl: 'DH/MainHall/sound/升级可以获得永久点击收益提升哦', delayTime: 3, str: '升级可以获得永久点击收益提升哦', posi: 'qipao3' },
{ effectUrl: 'DH/MainHall/sound/(我记得前世柳家对付别的竞争对手喜欢从原材料下手。)', delayTime: 3.98, str: '(我记得前世柳家对付别的竞争对手喜欢从原材料下手。)', posi: '-1' },
{ effectUrl: 'DH/MainHall/sound/(得先去收购一个农贸市场,不然到时候就被柳家父子打脸了)', delayTime: 4.74, str: '(得先去收购一个农贸市场,不然到时候就被柳家父子打脸了)', posi: '-1' },
{ effectUrl: 'DH/MainHall/sound/(柳家豪,竟然如此没有底线,那就别怪我不客气了。)', delayTime: 4.66, str: '(柳家豪,竟然如此没有底线,那就别怪我不客气了。)', posi: '-1' },
{ effectUrl: 'DH/MainHall/sound/(等我达到一级面点师,再来收拾你们。)', delayTime: 2.57, str: '(等我达到一级面点师,再来收拾你们。)', posi: '-1' },
{ effectUrl: 'DH/MainHall/sound/哥哥,点击这个按钮可以抽取点击收益和秒赚收益的翻倍哦!', delayTime: 4.95, str: '哥哥,点击这个按钮可以抽取点击收益和秒赚收益的翻倍哦!', posi: 'qipao2' },
{ effectUrl: 'DH/MainHall/sound/哥哥,解锁面点可以将秒赚收益翻倍哦!', delayTime: 3.59, str: '哥哥,解锁面点可以将秒赚收益翻倍哦!', posi: 'qipao2' },
{ effectUrl: 'DH/MainHall/sound/哥哥,解锁摊位物品可以增加点击收益翻倍哦!', delayTime: 3.91, str: '哥哥,解锁摊位物品可以增加点击收益翻倍哦!', posi: 'qipao2' },
{ effectUrl: 'DH/MainHall/sound/哥哥,点击这个掉落物品,打开可以获得高品质面点和摊位物品,还有神秘七彩龙珠物品哦!', delayTime: 7.2, str: '哥哥,点击这个掉落物品,打开可以获得高品质面点和摊位物品,还有神秘七彩龙珠物品哦!', posi: 'qipao2' },
{ effectUrl: 'DH/MainHall/sound/哥哥,在这里达到成就可以用领取丰厚奖励哦!', delayTime: 3.67, str: '哥哥,在这里达到成就可以用领取丰厚奖励哦!', posi: 'qipao2' },
{ effectUrl: 'DH/MainHall/sound/哥哥,点击这个按钮可以升级点击收益翻倍哦!', delayTime: 3.65, str: '哥哥,点击这个按钮可以升级点击收益翻倍哦!', posi: 'qipao2' },
{ effectUrl: 'DH/MainHall/sound/哥哥,点击这个可以进行自动点击哦,这样你就可以去干点别的啦!', delayTime: 5.74, str: '哥哥,点击这个可以进行自动点击哦,这样你就可以去干点别的啦!', posi: 'qipao2' },
{ effectUrl: 'DH/MainHall/sound/哥哥,购买资产可以增加点击收益和秒赚收益倍数哦!', delayTime: 4.69, str: '哥哥,购买资产可以增加点击收益和秒赚收益倍数哦!', posi: 'qipao2' },
{ effectUrl: 'DH/MainHall/sound/哥哥,缺钱可以投资房产进行买卖,赚取差价哦!', delayTime: 4.35, str: '哥哥,缺钱可以投资房产进行买卖,赚取差价哦!', posi: 'qipao2' },
{ effectUrl: 'DH/MainHall/sound/哥哥,努力提升等级获取高级称号可以提升你的排名哦,排名越高领取的奖励越丰厚哦!', delayTime: 8.56, str: '哥哥,努力提升等级获取高级称号可以提升你的排名哦,排名越高领取的奖励越丰厚哦!', posi: 'qipao2' },
{ effectUrl: 'DH/MainHall/sound/哥哥,点击这里进入里面有多种小游戏可以赚钱哦!', delayTime: 4.56, str: '哥哥,点击这里进入里面有多种小游戏可以赚钱哦!', posi: 'qipao2' },
{ effectUrl: 'DH/MainHall/sound/老板你终于来了,顾客都在排队等着买早餐呢!', delayTime: 2.21, str: '老板你终于来了,顾客都在排队等着买早餐呢!', posi: '员工对话' },
{ effectUrl: 'DH/MainHall/sound/客人都等着急', delayTime: 2.83, str: '客人都等着急', posi: '员工对话' },
{ effectUrl: 'DH/MainHall/sound/油条出锅了,快点击油条递给客人吧!', delayTime: 2.68, str: '油条出锅了,快点击油条递给客人吧!', posi: '员工对话' },
{ effectUrl: 'DH/MainHall/sound/接下来我们来升级摊位,能提升早餐售卖单价哦!', delayTime: 4.35, str: '接下来我们来升级摊位,能提升早餐售卖单价哦!', posi: '员工对话' },
// { effectUrl: 'DH/MainHall/sound/升级可以获得永久点击收益提升哦', delayTime: 3, str: '升级可以获得永久点击收益提升哦', posi: 'qipao3' },
// { effectUrl: 'DH/MainHall/sound/(我记得前世柳家对付别的竞争对手喜欢从原材料下手。)', delayTime: 3.98, str: '(我记得前世柳家对付别的竞争对手喜欢从原材料下手。)', posi: '-1' },
// { effectUrl: 'DH/MainHall/sound/(得先去收购一个农贸市场,不然到时候就被柳家父子打脸了)', delayTime: 4.74, str: '(得先去收购一个农贸市场,不然到时候就被柳家父子打脸了)', posi: '-1' },
// { effectUrl: 'DH/MainHall/sound/(柳家豪,竟然如此没有底线,那就别怪我不客气了。)', delayTime: 4.66, str: '(柳家豪,竟然如此没有底线,那就别怪我不客气了。)', posi: '-1' },
// { effectUrl: 'DH/MainHall/sound/(等我达到一级面点师,再来收拾你们。)', delayTime: 2.57, str: '(等我达到一级面点师,再来收拾你们。)', posi: '-1' },
// { effectUrl: 'DH/MainHall/sound/哥哥,点击这个按钮可以抽取点击收益和秒赚收益的翻倍哦!', delayTime: 4.95, str: '哥哥,点击这个按钮可以抽取点击收益和秒赚收益的翻倍哦!', posi: 'qipao2' },
// { effectUrl: 'DH/MainHall/sound/哥哥,解锁面点可以将秒赚收益翻倍哦!', delayTime: 3.59, str: '哥哥,解锁面点可以将秒赚收益翻倍哦!', posi: 'qipao2' },
// { effectUrl: 'DH/MainHall/sound/哥哥,解锁摊位物品可以增加点击收益翻倍哦!', delayTime: 3.91, str: '哥哥,解锁摊位物品可以增加点击收益翻倍哦!', posi: 'qipao2' },
// { effectUrl: 'DH/MainHall/sound/哥哥,点击这个掉落物品,打开可以获得高品质面点和摊位物品,还有神秘七彩龙珠物品哦!', delayTime: 7.2, str: '哥哥,点击这个掉落物品,打开可以获得高品质面点和摊位物品,还有神秘七彩龙珠物品哦!', posi: 'qipao2' },
// { effectUrl: 'DH/MainHall/sound/哥哥,在这里达到成就可以用领取丰厚奖励哦!', delayTime: 3.67, str: '哥哥,在这里达到成就可以用领取丰厚奖励哦!', posi: 'qipao2' },
// { effectUrl: 'DH/MainHall/sound/哥哥,点击这个按钮可以升级点击收益翻倍哦!', delayTime: 3.65, str: '哥哥,点击这个按钮可以升级点击收益翻倍哦!', posi: 'qipao2' },
// { effectUrl: 'DH/MainHall/sound/哥哥,点击这个可以进行自动点击哦,这样你就可以去干点别的啦!', delayTime: 5.74, str: '哥哥,点击这个可以进行自动点击哦,这样你就可以去干点别的啦!', posi: 'qipao2' },
// { effectUrl: 'DH/MainHall/sound/哥哥,购买资产可以增加点击收益和秒赚收益倍数哦!', delayTime: 4.69, str: '哥哥,购买资产可以增加点击收益和秒赚收益倍数哦!', posi: 'qipao2' },
// { effectUrl: 'DH/MainHall/sound/哥哥,缺钱可以投资房产进行买卖,赚取差价哦!', delayTime: 4.35, str: '哥哥,缺钱可以投资房产进行买卖,赚取差价哦!', posi: 'qipao2' },
// { effectUrl: 'DH/MainHall/sound/哥哥,努力提升等级获取高级称号可以提升你的排名哦,排名越高领取的奖励越丰厚哦!', delayTime: 8.56, str: '哥哥,努力提升等级获取高级称号可以提升你的排名哦,排名越高领取的奖励越丰厚哦!', posi: 'qipao2' },
// { effectUrl: 'DH/MainHall/sound/哥哥,点击这里进入里面有多种小游戏可以赚钱哦!', delayTime: 4.56, str: '哥哥,点击这里进入里面有多种小游戏可以赚钱哦!', posi: 'qipao2' },
]
guideZiChan: any;
curStayTime: number;
@ -156,6 +156,7 @@ export default class MainHall extends UiBase {
this.refreshChengHao()
this.refreshView()
this.updateTaskJinDu()
this.refreshShouYiTiSheng()
}, this)
@ -295,6 +296,10 @@ export default class MainHall extends UiBase {
// PrefabManage.loadPrefabByType(GameType.GetDiaoLuo)
EventMgr.onEvent_custom(ryw_Event.RefreshJieDao, () => {
this.refreshChengHao()
this.refreshView()
}, this)
}
My_Guide() {
@ -305,20 +310,24 @@ export default class MainHall extends UiBase {
} else if (index == 1000) {
this.scheduleOnce(() => {
let zhuanpan = User.getZhuanPanFree()
if (zhuanpan) {
Common5.ReportDY("inLevel", "任务" + TaskManager.getCurUnLockMainTaskId() + '-引导收益翻倍');
let node = this.node.getChildByName('UINode').getChildByName('多倍收益')
// this.showQiPao(this.chatConfig[9], "qipao_people", () => {
// })
this.guideView([node], 150, this.chatConfig[9], "多倍收益引导")
}
}, 5)
this.showYuanGongChat(0)
User.setFirstStepIndex(1001)
}, 1)
// this.scheduleOnce(() => {
// let zhuanpan = User.getZhuanPanFree()
// if (zhuanpan) {
// Common5.ReportDY("inLevel", "任务" + TaskManager.getCurUnLockMainTaskId() + '-引导收益翻倍');
// let node = this.node.getChildByName('UINode').getChildByName('多倍收益')
// // this.showQiPao(this.chatConfig[9], "qipao_people", () => {
// // })
// this.guideView([node], 150, this.chatConfig[9], "多倍收益引导")
// }
// }, 1)
} else if (index == 1001 && this.node.getChildByName('UINode').getChildByName('diaoLuoNode').children[0].active) {
let node = this.node.getChildByName('UINode').getChildByName('diaoLuoNode').getChildByName('礼盒')
// this.showQiPao(this.chatConfig[12], "qipao_people", () => {
// })
this.guideView([node], 150, this.chatConfig[12], "掉落引导")
// let node = this.node.getChildByName('UINode').getChildByName('diaoLuoNode').getChildByName('礼盒')
// // this.showQiPao(this.chatConfig[12], "qipao_people", () => {
// // })
// this.guideView([node], 150, this.chatConfig[12], "掉落引导")
} else if (index == 1002) {
let node = this.node.getChildByName('UINode').getChildByName('成就')
// this.showQiPao(this.chatConfig[13], "qipao_people", () => {
@ -527,14 +536,14 @@ export default class MainHall extends UiBase {
if (mainId == MainTaskIdEnum.MainTask_301 && money >= config.taskNum) {
TaskManager.finishCurMainTask(MainTaskIdEnum.MainTask_301)
TaskManager.setCurTask(MainTaskIdEnum.MainTask_302)
}else if (mainId == MainTaskIdEnum.MainTask_502 && money >= config.taskNum) {
} else if (mainId == MainTaskIdEnum.MainTask_502 && money >= config.taskNum) {
TaskManager.finishCurMainTask(MainTaskIdEnum.MainTask_502)
TaskManager.setCurTask(MainTaskIdEnum.MainTask_503)
}else if (mainId == MainTaskIdEnum.MainTask_604 && money >= config.taskNum) {
} else if (mainId == MainTaskIdEnum.MainTask_604 && money >= config.taskNum) {
TaskManager.finishCurMainTask(MainTaskIdEnum.MainTask_604)
TaskManager.setCurTask(MainTaskIdEnum.MainTask_605)
}
}
guideStep() {
@ -676,6 +685,10 @@ export default class MainHall extends UiBase {
let levelUpSpned = LevelUpManager.levelUpSpned()
money.getComponent(cc.Label).string = `${Common5.getNumberChangeHanzi(levelUpSpned)}`
let danjia = node.getChildByName('单价')
let danjianum = ZaoCanManager.getDanJia()
danjia.getComponent(cc.Label).string = `${Common5.getNumberChangeHanzi(danjianum)}/个`
// let mainTaskInfo: any = TaskManager.getCurUnLockMainTaskInfo()
// let mainId = mainTaskInfo.Id
// let config = TaskManager.getTaskConfigById(mainId)
@ -726,8 +739,6 @@ export default class MainHall extends UiBase {
let node = this.node.getChildByName('UINode').getChildByName('bottom').getChildByName('升级')
let dianji = node.getChildByName('点击收益').getChildByName('str')
dianji.getComponent(cc.Label).string = `点击收益:${Common5.getNumberChangeHanzi(clickNum)}` + '/次'
//解锁
}
//
update(dt) {
@ -737,7 +748,7 @@ export default class MainHall extends UiBase {
this.dtTime += dt
if (this.dtTime >= 25) {
this.isUpdate = true
this.playCSAnim()
// this.playCSAnim()
this.dtTime = 0
}
}
@ -1087,8 +1098,8 @@ export default class MainHall extends UiBase {
let mainId = mainTaskInfo.Id
let ziChanData = User.getZiChanData()
let config = TaskManager.getTaskConfigById(mainId)
if (mainId == MainTaskIdEnum.MainTask_514_2) {
// User.setFirstStepIndex(1101)
if (mainId == MainTaskIdEnum.MainTask_301) {
// User.setFirstStepIndex(1000)
// this.My_Guide()
} else if (mainId == MainTaskIdEnum.MainTask_532 && ziChanData.unLockNum[1] >= 1) {
// TaskManager.finishCurMainTask(MainTaskIdEnum.MainTask_532)
@ -1169,4 +1180,41 @@ export default class MainHall extends UiBase {
// }
}
refreshShouYiTiSheng() {
//收入提升
this.node.getChildByName('收入提升').active = true
let uplab = this.node.getChildByName('收入提升').getChildByName('提升').getChildByName("lab")
let addlab = this.node.getChildByName('收入提升').getChildByName('提升').getChildByName("addlab")
let cha = ZaoCanManager.getDanJia() - ZaoCanManager.getLastDanJia()
uplab.getComponent(cc.Label).string = `${Common5.getNumberChangeHanzi(ZaoCanManager.getDanJia())}`
addlab.getComponent(cc.Label).string = `+${0}`
cc.Tween.stopAllByTarget(this.node.getChildByName('收入提升'))
cc.tween(this.node.getChildByName('收入提升'))
.sequence(
cc.tween().delay(0.3),
cc.tween().call(() => {
addlab.getComponent(cc.Label).string = `+${cha}`
}),
cc.tween().delay(1),
cc.tween().call(() => {
this.node.getChildByName('收入提升').active = false
}),
)
.start()
}
showYuanGongChat(index) {
let lab = this.node.getChildByName("员工对话").getChildByName("lab")
this.node.getChildByName("员工对话").active = true
let chat = this.chatConfig[index]
lab.getComponent(cc.Label).string = chat.str
if (chat.effectUrl && chat.effectUrl.length > 0) {
Common5.playRemoteAudioEffect(chat.effectUrl);
}
this.scheduleOnce(()=>{
this.node.getChildByName("员工对话").active = false
},chat.delayTime)
}
}

@ -1121,10 +1121,13 @@ export default class MainHallBtn extends cc.Component {
}
clickCityBtnEvent() {
//Common5.playEffect("sound/按键点击")
Common5.stopMusic()
this.node.removeFromParent()
this.node.destroy()
PrefabManage.loadPrefabByType(GameType.CityPrefab)
// Common5.stopMusic()
// this.node.removeFromParent()
// this.node.destroy()
// PrefabManage.loadPrefabByType(GameType.CityPrefab)
PrefabManage.showTextTips('敬请期待')
}
clickZaiXianBtnEvent() {
@ -1485,5 +1488,9 @@ export default class MainHallBtn extends cc.Component {
onTouchSmallGame() {
PrefabManage.loadPrefabByType(GameType.smallgame)
}
onTouchZaoCan() {
PrefabManage.loadPrefabByType(GameType.ZaoCanDianYeWu)
}
// update (dt) {}
}

@ -90,8 +90,8 @@ export default class MainScene extends cc.Component {
// this.getServerData()
// })
// return
// User.setFirstStepIndex(6000000)
TaskManager.setCurTask(MainTaskIdEnum.MainTask_701)
// User.setFirstStepIndex(1000)
// TaskManager.setCurTask(MainTaskIdEnum.MainTask_605)
// User.setCurGameLevelIndex(1)
// for (let i = 0; i < 18; i++) {
// MiShuManager.setMishuLock(i, true, false)

@ -27,6 +27,7 @@ import ChaChangManager from "./ChaChangManager";
import XiuXianNongZhuangManager from "./XiuXianNongZhuangManager";
import BaiCaoJiManager from "./BaiCaoJiManager";
import BuyShopManager from "./BuyShopManager";
import ZaoCanManager from "./ZaoCanManager";
export default class InterfaceManager {
@ -35,7 +36,7 @@ export default class InterfaceManager {
TanWeiManager.initManager()
ShipuManager.initManager()
MiShuManager.initManager()
ZaoCanManager.initManager()
InterfaceManager.loadAllJson()

@ -447,6 +447,14 @@ export default class UserManager{
});
TanweiArrayStr += ';'
let zaoCanArray = User.getzaoCanArray()
let zaoCanArrayStr = 'zaoCanArrayStr:'
Object.keys(zaoCanArray).forEach((key) => {
let data = zaoCanArray[key].id+'&'+zaoCanArray[key].isLock
zaoCanArrayStr += data + '?'
});
zaoCanArrayStr += ';'
let FirstInNew = 'FirstInNew:'+ User.getFirstInNew() +';'
@ -479,7 +487,7 @@ export default class UserManager{
let newStr = shouyiFanbeiNum+shouyiFanbeiTime+autoClickTime+clickIncomeNum+
curChallengeId+mishuPeiXunLevel+duiyouPeiXunLevel+myLevel+FangchanListStr+FangchanShouyiStr+SignListStr+
MishuListStr+DuiyouListStr+ShiPuArrayStr+TanweiArrayStr
MishuListStr+DuiyouListStr+ShiPuArrayStr+TanweiArrayStr+zaoCanArray
+showAdNum+dengLuDayNum+saveDay+ziChanData_1+ziChanData_unLockNum+curGameLevelIndex+ChuShiXieHuiLevelStr+DiaoLuoAllGet+zhuanPanFree+allStatistics
let sendData = moneyStr+userIQ+dayStr+bagGoodIdStrA+roomGoodStatusA+fengweiStrA+canInterStrA+hetongDataA+curJuQingUnLockIndexStr+
@ -1205,6 +1213,23 @@ export default class UserManager{
if(isHaveData){
User.setTanweiArray(tempArr)
}
}else if(keyName == 'zaoCanArrayStr'){
let array1 = keyValue.split("?");
let tempArr = []
let isHaveData = false
for(let i = 0; i <array1.length;i++){
if(array1[i]!=''){
isHaveData = true
let array2 = array1[i].split("&")
let id = Number(array2[0] ||0)
let isLock = (array2[1] == 'true')?true:false
let tempTab = {id:id,isLock:isLock}
tempArr.push(tempTab)
}
}
if(isHaveData){
User.setzaoCanArray(tempArr)
}
}else if(keyName == 'FirstInNew'){
if(keyValue == 'false'){
User.setFirstInNew(false)

@ -8,93 +8,98 @@
import { ryw_Event } from "../../FrameWork/Event/EventEnum"
import EventMgr from "../../FrameWork/Event/EventMgr"
import User from "../../FrameWork/User/User"
import Common5 from "../../Platform/th/Common5"
import BagManager from "./BagManager"
import JieDaoManager from "./JieDaoManager"
// let zaocanConfig = [
// { id: 0, zaocan: ['馒头', '肉包', '烧卖', '红薯'], needLevel: [1, 5, 10, 20], initPrice: 100, jiacheng: [1, 2, 3, 4] },
// { id: 0, zaocan: ['馒头', '肉包', '烧卖', '红薯'], needLevel: [1, 5, 10, 20], initPrice: 100, jiacheng: [1, 2, 3, 4] },
// { id: 1, zaocan: ['鸡蛋', '茶叶蛋', '玉米', '西兰花'], needLevel: [1, 5, 10, 20], initPrice: 100, jiacheng: [1, 2, 3, 4] },
// { id: 2, zaocan: ['饺子', '韭菜盒子', '鸡蛋饼', '牛排'], needLevel: [1, 5, 10, 20], initPrice: 100, jiacheng: [1, 2, 3, 4] },
// { id: 3, zaocan: ['油条', '麻球', '油饼', '鸡腿'], needLevel: [1, 5, 10, 20], initPrice: 100, jiacheng: [1, 2, 3, 4] },
// { id: 4, zaocan: ['豆浆', '小米粥', '燕麦', '咖啡机'], needLevel: [1, 5, 10, 20], initPrice: 100, jiacheng: [1, 2, 3, 4] },
// ]
let zaocanConfig = [
{ id: 0, zaocan: ['馒头', '肉包', '烧卖', '红薯'], needLevel: [1, 5, 10, 20], initPrice: 100, jiacheng: [1, 2, 3, 4] },
{ id: 1, zaocan: ['鸡蛋', '茶叶蛋', '玉米', '西兰花'], needLevel: [1, 5, 10, 20], initPrice: 100, jiacheng: [1, 2, 3, 4] },
{ id: 2, zaocan: ['饺子', '韭菜盒子', '鸡蛋饼', '牛排'], needLevel: [1, 5, 10, 20], initPrice: 100, jiacheng: [1, 2, 3, 4] },
{ id: 3, zaocan: ['油条', '麻球', '油饼', '鸡腿'], needLevel: [1, 5, 10, 20], initPrice: 100, jiacheng: [1, 2, 3, 4] },
{ id: 4, zaocan: ['豆浆', '小米粥', '燕麦', '咖啡机'], needLevel: [1, 5, 10, 20], initPrice: 100, jiacheng: [1, 2, 3, 4] },
{ id: 0, type: 0, zaocan: '馒头', needLevel: 1, jiacheng: 1 },
{ id: 1, type: 1, zaocan: '鸡蛋', needLevel: 1, jiacheng: 1 },
{ id: 3, type: 2, zaocan: '煎饺', needLevel: 1, jiacheng: 1 },
{ id: 3, type: 3, zaocan: '油条', needLevel: 1, jiacheng: 1 },
{ id: 4, type: 4, zaocan: '豆浆', needLevel: 1, jiacheng: 1 },
{ id: 5, type: 0, zaocan: '肉包', needLevel: 100, jiacheng: 2 },
{ id: 6, type: 1, zaocan: '茶叶蛋', needLevel: 150, jiacheng: 2 },
{ id: 7, type: 2, zaocan: '韭菜盒子', needLevel: 200, jiacheng: 2 },
{ id: 8, type: 3, zaocan: '麻球', needLevel: 250, jiacheng: 2 },
{ id: 9, type: 4, zaocan: '小米粥', needLevel: 300, jiacheng: 2 },
{ id: 10, type: 0, zaocan: '烧卖', needLevel: 350, jiacheng: 3 },
{ id: 11, type: 1, zaocan: '玉米', needLevel: 400, jiacheng: 3 },
{ id: 12, type: 2, zaocan: '鸡蛋饼', needLevel: 450, jiacheng: 3 },
{ id: 13, type: 3, zaocan: '油饼', needLevel: 500, jiacheng: 3 },
{ id: 14, type: 4, zaocan: '燕麦', needLevel: 550, jiacheng: 3 },
{ id: 15, type: 0, zaocan: '红薯', needLevel: 600, jiacheng: 4 },
{ id: 16, type: 1, zaocan: '西兰花', needLevel: 650, jiacheng: 4 },
{ id: 17, type: 2, zaocan: '牛排', needLevel: 700, jiacheng: 4 },
{ id: 18, type: 3, zaocan: '鸡腿', needLevel: 750, jiacheng: 4 },
{ id: 19, type: 4, zaocan: '咖啡', needLevel: 800, jiacheng: 4 },
]
//食谱
export default class ZaoCanManager {
public static getManagerConfigDate() {
return zaocanConfig
}
public static initManager() {
let array = User.getzaoCanArray()
if (array.length == 0) {
//插入数据
let tempArray = []
for (let i = 0; i < zaocanConfig.length; i++) {
let obj = { id: 0, isLock: true }
obj.id = zaocanConfig[i].id
obj.isLock = true
//最开始0-4的五个默认早餐默认已解锁
if (obj.id <= 4) {
obj.isLock = false
}
tempArray[tempArray.length] = obj
}
User.setzaoCanArray(tempArray)
} else {
public static getDanJia() {
let price = 0
for (let i = 0; i < zaocanConfig.length; i++) {
let config = zaocanConfig[i]
let level = User.getMyLevel()
price += config.initPrice + level
}
let danjia = Math.floor(price / zaocanConfig.length)
return danjia
}
public static getCurPriceById(id) {
let config = zaocanConfig[id]
let level = User.getMyLevel()
let price = config.initPrice + level
return price
}
public static getNextPriceById(id) {
let config = zaocanConfig[id]
let level = User.getMyLevel() + 1
let price = config.initPrice + level
return price
}
public static isCanLevelUpById(id) {
let config = zaocanConfig[id]
let level = User.getMyLevel() + 1
let isCan = false
for (let i = 0; i < config.needLevel.length; i++) {
let _needLevel = config.needLevel[i];
if (level == _needLevel) {
isCan = true
}
}
return isCan
public static getManagerConfigDate() {
return zaocanConfig
}
public static getCurNameById(id) {
let config = zaocanConfig[id]
let level = User.getMyLevel()
let name = config.zaocan[0]
for (let i = 0; i < config.needLevel.length; i++) {
let _needLevel = config.needLevel[i];
if (level >= _needLevel) {
name = config.zaocan[i]
}
}
//大于最大的
if (level >= config.needLevel[config.needLevel.length - 1]) {
name = config.zaocan[config.zaocan.length - 1]
/**
* 5
* @returns
*/
public static getManagerConfigDateHaveJiaCheng() {
let configs = []
for (let i = 5; i < zaocanConfig.length; i++) {
configs.push(Common5.deepClone(zaocanConfig[i]))
}
return name
return configs
}
/**
*
* 5
*/
public static getAllZaoCanJiaCheng() {
let jiacheng = 0
let level = User.getMyLevel()
for (let i = 0; i < zaocanConfig.length; i++) {
let _needLevel = zaocanConfig[i].needLevel
for (let j = 0; j < _needLevel.length; j++) {
if (level >= _needLevel[j]) {
jiacheng += zaocanConfig[i].jiacheng[j]
}
let getzaoCanArray = User.getzaoCanArray()
for (let i = 5; i < getzaoCanArray.length; i++) {
let obj = getzaoCanArray[i];
if (!obj.isLock) {
//已解锁
jiacheng += zaocanConfig[i].jiacheng
}
}
// 没有加成就是1倍加成
@ -105,56 +110,175 @@ export default class ZaoCanManager {
}
/**
*
* id获取解锁状态012
*/
public static getAllZaoCan() {
let all = []
for (let i = 0; i < zaocanConfig.length; i++) {
let _zaocan = zaocanConfig[i].zaocan
// 初始的早餐不计入
for (let j = 1; j < _zaocan.length; j++) {
all.push({ name: zaocanConfig[i].zaocan[j], addPercent: zaocanConfig[i].jiacheng[j] })
public static getIsLockById(id) {
let lockType = 0
let level = User.getMyLevel()
let getzaoCanArray = User.getzaoCanArray()
for (let i = 0; i < getzaoCanArray.length; i++) {
let obj = getzaoCanArray[i];
if (obj.id == id && !obj.isLock) {
lockType = 2
break
} else if (obj.id == id && obj.isLock) {
if (level >= zaocanConfig[i].needLevel) {
lockType = 1
} else {
lockType = 0
}
break
}
}
return all
return lockType
}
/**
*
*
*/
public static isUnLockByName(name) {
let level = User.getMyLevel()
let lockState = false
for (let i = 0; i < zaocanConfig.length; i++) {
let _zaocan = zaocanConfig[i].zaocan
let _needLevel = zaocanConfig[i].needLevel
for (let j = 0; j < _zaocan.length; j++) {
//是当前早餐并且等级已经到了自动解锁
if (name == _zaocan[j] && level >= _needLevel[j]) {
lockState = true
public static setUnLock(id) {
let lockType = this.getIsLockById(id)
//是不是等待解锁的状态
if (lockType == 1) {
let getzaoCanArray = User.getzaoCanArray()
for (let i = 0; i < getzaoCanArray.length; i++) {
let obj = getzaoCanArray[i];
if (id == obj.id) {
obj.isLock = false
break
}
}
User.setzaoCanArray(getzaoCanArray)
}
return lockState
}
/**
*
*/
public static getZaoCanNeedLevelByName(name) {
let needLevel = 0
for (let i = 0; i < zaocanConfig.length; i++) {
let _zaocan = zaocanConfig[i].zaocan
let _needLevel = zaocanConfig[i].needLevel
for (let j = 0; j < _zaocan.length; j++) {
//是当前早餐
if (name == _zaocan[j]) {
needLevel = _needLevel[j]
break
}
public static getDanJia() {
let price = User.getMyLevel()
// let jiedaoJiacheng = JieDaoManager.getJieDaoBeiShu()
// return Math.ceil(price * jiedaoJiacheng)
return price
}
public static getLastDanJia() {
let price = User.getMyLevel() - 1
// let jiedaoJiacheng = JieDaoManager.getJieDaoBeiShu()
// return Math.ceil(price * jiedaoJiacheng)
return price
}
public static getCurNameByType(type) {
let name
let getzaoCanArray = User.getzaoCanArray()
for (let i = 0; i < getzaoCanArray.length; i++) {
let obj = getzaoCanArray[i];
if (zaocanConfig[i].type == type && !obj.isLock) {
name = zaocanConfig[i].zaocan
}
}
return needLevel
return name
}
// public static getCurPriceById(id) {
// let config = zaocanConfig[id]
// let level = User.getMyLevel()
// let price = config.initPrice + level
// return price
// }
// public static getNextPriceById(id) {
// let config = zaocanConfig[id]
// let level = User.getMyLevel() + 1
// let price = config.initPrice + level
// return price
// }
// public static isCanLevelUpById(id) {
// let config = zaocanConfig[id]
// let level = User.getMyLevel() + 1
// let isCan = false
// for (let i = 0; i < config.needLevel.length; i++) {
// let _needLevel = config.needLevel[i];
// if (level == _needLevel) {
// isCan = true
// }
// }
// return isCan
// }
// /**
// * 获取所有已解锁的早餐加成
// */
// public static getAllZaoCanJiaCheng() {
// let jiacheng = 0
// let level = User.getMyLevel()
// for (let i = 0; i < zaocanConfig.length; i++) {
// let _needLevel = zaocanConfig[i].needLevel
// for (let j = 0; j < _needLevel.length; j++) {
// if (level >= _needLevel[j]) {
// jiacheng += zaocanConfig[i].jiacheng[j]
// }
// }
// }
// // 没有加成就是1倍加成
// if (jiacheng == 0) {
// jiacheng = 1
// }
// return jiacheng
// }
// /**
// * 获取所有需要解锁的早餐,初始的早餐不计入
// */
// public static getAllZaoCan() {
// let all = []
// for (let i = 0; i < zaocanConfig.length; i++) {
// let _zaocan = zaocanConfig[i].zaocan
// // 初始的早餐不计入
// for (let j = 1; j < _zaocan.length; j++) {
// all.push({ name: zaocanConfig[i].zaocan[j], addPercent: zaocanConfig[i].jiacheng[j] })
// }
// }
// return all
// }
// /**
// * 获取早餐是否解锁
// */
// public static isUnLockByName(name) {
// let level = User.getMyLevel()
// let lockState = false
// for (let i = 0; i < zaocanConfig.length; i++) {
// let _zaocan = zaocanConfig[i].zaocan
// let _needLevel = zaocanConfig[i].needLevel
// for (let j = 0; j < _zaocan.length; j++) {
// //是当前早餐并且等级已经到了自动解锁
// if (name == _zaocan[j] && level >= _needLevel[j]) {
// lockState = true
// break
// }
// }
// }
// return lockState
// }
// /**
// * 获取早餐解锁等级要求
// */
// public static getZaoCanNeedLevelByName(name) {
// let needLevel = 0
// for (let i = 0; i < zaocanConfig.length; i++) {
// let _zaocan = zaocanConfig[i].zaocan
// let _needLevel = zaocanConfig[i].needLevel
// for (let j = 0; j < _zaocan.length; j++) {
// //是当前早餐
// if (name == _zaocan[j]) {
// needLevel = _needLevel[j]
// break
// }
// }
// }
// return needLevel
// }
}

@ -96,29 +96,30 @@ export default class MishuGame extends UiBase {
this.checkFinishTask()
EventMgr.onEvent_custom(ryw_Event.exitMishuReward, () => {
this.checkFinishTask()
let index = User.getFirstStepIndex()
if (index == 10) {
User.setFirstStepIndex(11)
let nodeArray = [this.node.getChildByName('guideBtn')]
this.guideView(nodeArray, false, 0)
this.showQiPao(this.chatConfig[1])
Common5.ReportDY("inLevel", "任务" + TaskManager.getCurUnLockMainTaskId() + '-引导升级秘书');
}
// let index = User.getFirstStepIndex()
// if (index == 10) {
// User.setFirstStepIndex(11)
// let nodeArray = [this.node.getChildByName('guideBtn')]
// this.guideView(nodeArray, false, 0)
// this.showQiPao(this.chatConfig[1])
// Common5.ReportDY("inLevel", "任务" + TaskManager.getCurUnLockMainTaskId() + '-引导升级秘书');
// }
}, this)
let index = User.getFirstStepIndex()
let isNeedGuide = cc.sys.localStorage.getItem("首次非引导主动进秘书界面") ?? 0
if (index == 10) {
Common5.ReportDY("inLevel", "任务" + TaskManager.getCurUnLockMainTaskId() + '-引导招募秘书');
let nodeArray = [this.node.getChildByName('guideBtn')]
this.guideView(nodeArray, false, 0)
this.showQiPao(this.chatConfig[0])
} else if (!isNeedGuide) {
cc.sys.localStorage.setItem("首次非引导主动进秘书界面", '1')
let nodeArray = [this.node.getChildByName('guideBtn')]
this.guideView(nodeArray, false, 0)
this.showQiPao(this.chatConfig[3])
}
// let index = User.getFirstStepIndex()
// let isNeedGuide = cc.sys.localStorage.getItem("首次非引导主动进秘书界面") ?? 0
// if (index == 10) {
// Common5.ReportDY("inLevel", "任务" + TaskManager.getCurUnLockMainTaskId() + '-引导招募秘书');
// let nodeArray = [this.node.getChildByName('guideBtn')]
// this.guideView(nodeArray, false, 0)
// this.showQiPao(this.chatConfig[0])
// } else if (!isNeedGuide) {
// cc.sys.localStorage.setItem("首次非引导主动进秘书界面", '1')
// let nodeArray = [this.node.getChildByName('guideBtn')]
// this.guideView(nodeArray, false, 0)
// this.showQiPao(this.chatConfig[3])
// }
// let nodeArray = [this.node.getChildByName('guideBtn')]
// this.guideView(nodeArray, false, 150)
// this.showQiPao(this.chatConfig[1])

@ -223,6 +223,7 @@ export enum GameType {
JieDao,
ZaoCanDian,
ZaoCanDianYeWu,
KaiChangGuanQia1Gai,
GameStory2,
@ -508,6 +509,7 @@ let AllPrefabConfig = [
{ desc: "街道", gameType: GameType.JieDao, bundleName: "JieDao", prefabUrl: "prefab/JieDao", dadianTag: '街道-进入', wanJiaDaDianTag: "街道-玩家", isNeedLoading: true },
{ desc: "早餐店", gameType: GameType.ZaoCanDian, bundleName: "ZaoCanDian", prefabUrl: "prefab/ZaoCanDian", dadianTag: '早餐店-进入', wanJiaDaDianTag: "早餐店-玩家", isNeedLoading: true },
{ desc: "早餐业务", gameType: GameType.ZaoCanDianYeWu, bundleName: "ZaoCanDian", prefabUrl: "prefab/ZaoCanDianYeWu", dadianTag: '早餐业务-进入', wanJiaDaDianTag: "早餐业务-玩家", isNeedLoading: true },
{ desc: "开场关卡1", gameType: GameType.KaiChangGuanQia1Gai, bundleName: "KaiChangGuanQia1Gai", prefabUrl: "prefab/KaiChangGuanQia1Gai", dadianTag: '开场关卡1-进入', wanJiaDaDianTag: "开场关卡1-玩家", isNeedLoading: true },
{ desc: "游戏文字剧情2", gameType: GameType.GameStory2, bundleName: "GameStory2", prefabUrl: "prefab/GameStory2", dadianTag: '游戏文字剧情2-进入', wanJiaDaDianTag: "游戏文字剧情2-玩家", isNeedLoading: true },

@ -64,25 +64,24 @@ export default class ZaoCanDian extends cc.Component {
// return
// }
if (config.wanFaRuKouTip.includes('rk_chuZuChe')) {
if (config && config.wanFaRuKouTip && config.wanFaRuKouTip.includes('rk_chuZuChe')) {
this.car.node.active = true
}else{
} else {
this.car.node.active = false
}
//刷新早餐种类
this.refreshZaoCan()
EventMgr.onEvent_custom(ryw_Event.levelUpChange, () => {
//人物升级会变更早餐
EventMgr.onEvent_custom(ryw_Event.refreshZaoCan, () => {
//解锁会变更早餐
this.refreshZaoCan()
}, this)
}
refreshZaoCan() {
//刷新当前摊位的早餐样式
let config = ZaoCanManager.getManagerConfigDate()
let names = ['馒头', '鸡蛋', '饺子', '油条', '豆浆']
for (let i = 0; i < config.length; i++) {
let name = ZaoCanManager.getCurNameById(i)
for (let i = 0; i < 5; i++) {
let name = ZaoCanManager.getCurNameByType(i)
this.ZaoCanArr[i] = name
let tanwei = this.node.getChildByName(names[i] + "摊位")
@ -143,7 +142,7 @@ export default class ZaoCanDian extends cc.Component {
return
}
let target = event.target
let zaoCanStr = ZaoCanManager.getCurNameById(custom)
let zaoCanStr = ZaoCanManager.getCurNameByType(custom)
let _npc = this.getNpcByNeedStr(zaoCanStr)
let children = target.children
let names = ['馒头', '鸡蛋', '饺子', '油条', '豆浆']
@ -285,8 +284,12 @@ export default class ZaoCanDian extends cc.Component {
this.car.setCompleteListener(null)
let mainTaskInfo: any = TaskManager.getCurUnLockMainTaskInfo()
let mainId = mainTaskInfo.Id
if (mainId == MainTaskIdEnum.MainTask_503) {
if (mainId == MainTaskIdEnum.MainTask_303 || mainId == MainTaskIdEnum.MainTask_401 || mainId == MainTaskIdEnum.MainTask_402) {
PrefabManage.loadPrefabByType(GameType.Room2)
} else if (mainId == MainTaskIdEnum.MainTask_503) {
PrefabManage.loadPrefabByType(GameType.DH_5)
} else if (mainId == MainTaskIdEnum.MainTask_602) {
PrefabManage.loadPrefabByType(GameType.GameStory4)
} else if (mainId == MainTaskIdEnum.MainTask_605 || mainId == MainTaskIdEnum.MainTask_606) {
PrefabManage.loadPrefabByType(GameType.DH_3)
} else if (mainId == MainTaskIdEnum.MainTask_701 || mainId == MainTaskIdEnum.MainTask_702) {

@ -5,15 +5,24 @@
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/2.4/manual/en/scripting/life-cycle-callbacks.html
import { ryw_Event } from "../../FrameWork/Event/EventEnum";
import EventMgr from "../../FrameWork/Event/EventMgr";
import Common5 from "../../Platform/th/Common5";
import List from "../../Platform/th/List";
import LevelUpManager from "../Manager/LevelUpManager";
import ZaoCanManager from "../Manager/ZaoCanManager";
import { Npc_Direct } from "./ZaoCanDian";
import ZaoCanDianYeWuitemNode from "./ZaoCanDianYeWuitemNode";
const { ccclass, property } = cc._decorator;
@ccclass
export default class ZaoCanDianYeWu extends cc.Component {
@property(cc.Label)
dp_name: cc.Label = null;
@property(cc.Label)
jcLabel: cc.Label = null;
@property(List)
listZc: List = null; //早餐
@ -25,12 +34,20 @@ export default class ZaoCanDianYeWu extends cc.Component {
// onLoad () {}
start() {
this.init()
EventMgr.onEvent_custom(ryw_Event.refreshZaoCan, () => {
this.init()
}, this)
}
init() {
// this.dp_name.string = LevelUpManager.getChengHao()
this.jcLabel.string = `${Math.ceil(ZaoCanManager.getAllZaoCanJiaCheng() * 100)}%`
this.setListZaoCan()
}
setListZaoCan() {
let zaocanConfig = ZaoCanManager.getManagerConfigDate()
let zaocanConfig = ZaoCanManager.getManagerConfigDateHaveJiaCheng()
this.dataListZc = []
for (let i = 0; i < zaocanConfig.length; i++) {
this.dataListZc.push(i)
@ -41,10 +58,15 @@ export default class ZaoCanDianYeWu extends cc.Component {
onListZaoCanGridRender(item: cc.Node, idx: number) {
let index = this.dataListZc[idx]
let zaocanConfig = ZaoCanManager.getManagerConfigDate()
let _zaocanItem: zaocanItem = item.getComponent(zaocanItem)
let zaocanConfig = ZaoCanManager.getManagerConfigDateHaveJiaCheng()
let _zaocanItem: ZaoCanDianYeWuitemNode = item.getComponent(ZaoCanDianYeWuitemNode)
_zaocanItem.setViewDate(zaocanConfig[index])
}
onTouchClose() {
this.node.removeFromParent()
this.node.destroy()
}
// update (dt) {}
}

@ -5,6 +5,9 @@
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/2.4/manual/en/scripting/life-cycle-callbacks.html
import { ryw_Event } from "../../FrameWork/Event/EventEnum";
import EventMgr from "../../FrameWork/Event/EventMgr";
import User from "../../FrameWork/User/User";
import Common5 from "../../Platform/th/Common5";
import ZaoCanManager from "../Manager/ZaoCanManager";
@ -24,6 +27,12 @@ export default class ZaoCanDianYeWuitemNode extends cc.Component {
@property(cc.Label)
levelLabel: cc.Label = null;
@property(cc.ProgressBar)
levelProgress: cc.ProgressBar = null;
@property(cc.Label)
levelPercentLabel: cc.Label = null;
// LIFE-CYCLE CALLBACKS:
config = null
// onLoad () {}
@ -31,29 +40,55 @@ export default class ZaoCanDianYeWuitemNode extends cc.Component {
start() {
}
setViewDate(config, gameType) {
setViewDate(config) {
this.config = config
this.refreshView()
}
refreshView() {
let str = Common5.getNumberChangeHanzi(this.config.addPercent * 100)
this.jiachengPercent.string = str + '%'
this.nameLabel.string = this.config.name
let name = this.config.name
// Common5.addUrlSprite_custom('tanweiTexture/icon/' + this.config.name, this.headImg)
let lockState = ZaoCanManager.isUnLockByName(name)
if (lockState) {
this.nameLabel.node.active = true
this.jiachengPercent.node.parent.active = true
this.levelLabel.node.active = false
Common5.getSpriteFrameFromBundle("ZaoCanDian", 'res/' + '炸球', this.headImg)
} else {
this.nameLabel.node.active = false
this.jiachengPercent.node.parent.active = false
this.levelLabel.node.active = true
this.levelLabel.string = `摊位${ZaoCanManager.getZaoCanNeedLevelByName(name)}级解锁`
let lockType = ZaoCanManager.getIsLockById(this.config.id)
if (lockType == 0) {
//未解锁
this.node.getChildByName("未解锁").active = true
this.node.getChildByName("已解锁").active = false
this.node.getChildByName("等待解锁").active = false
this.node.getComponent(cc.Sprite).enabled = false
this.node.getChildByName("闪光框").active = false
} else if (lockType == 1) {
//待解锁
this.node.getChildByName("等待解锁").active = true
this.node.getComponent(cc.Sprite).enabled = true
this.node.getChildByName("闪光框").active = true
this.node.getChildByName("未解锁").active = false
this.node.getChildByName("已解锁").active = false
} else if (lockType == 2) {
//已解锁
this.node.getChildByName("已解锁").active = true
this.node.getChildByName("未解锁").active = false
this.node.getChildByName("等待解锁").active = false
this.node.getComponent(cc.Sprite).enabled = false
this.node.getChildByName("闪光框").active = false
}
let str = Common5.getNumberChangeHanzi(this.config.jiacheng * 100)
this.jiachengPercent.string = str + '%'
this.nameLabel.string = this.config.zaocan
let zaocan = this.config.zaocan
Common5.getSpriteFrameFromBundle("ZaoCanDian", 'res/icon/' + zaocan, this.headImg)
this.levelLabel.string = `店铺${this.config.needLevel}级解锁`
let level = User.getMyLevel()
this.levelProgress.progress = level / this.config.needLevel
this.levelPercentLabel.string = `${level}/${this.config.needLevel}`
}
onTouchUnLock() {
ZaoCanManager.setUnLock(this.config.id)
// this.refreshView()
EventMgr.emitEvent_custom(ryw_Event.refreshZaoCan)
}
// update (dt) {}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save