yangqiwen 3 months ago
parent f48422d3ee
commit 82c46a7370
  1. 436
      assets/CommonRes/prefab/GuideMskNode_NoSwallow.prefab
  2. 9
      assets/CommonRes/prefab/GuideMskNode_NoSwallow.prefab.meta
  3. BIN
      assets/CommonRes/sound/点击.mp3
  4. 2
      assets/CommonRes/sound/点击.mp3.meta
  5. 215
      assets/DH/DH_3/DH_3.prefab
  6. 358
      assets/GameRes/侧边栏/prefab/Cebianlan.prefab
  7. BIN
      assets/GameRes/侧边栏/自动营业.png
  8. 20
      assets/GameRes/侧边栏/自动营业.png.meta
  9. BIN
      assets/GameRes/侧边栏/连点器.png
  10. 419
      assets/GameRoomRes/Room2/prefab/Room2.prefab
  11. 2226
      assets/MainHall/prefab/MainHall.prefab
  12. 151
      assets/Scripts/MainHall/MainHall.ts
  13. 4
      assets/Scripts/MainHall/MainHallBtn.ts
  14. 4
      assets/Scripts/MainScene/MainScene.ts
  15. 2
      assets/Scripts/Manager/UserManager.ts
  16. 186
      assets/Scripts/NewGuide/NewGuideScript_NoSwallow.ts
  17. 10
      assets/Scripts/NewGuide/NewGuideScript_NoSwallow.ts.meta
  18. 4
      assets/Scripts/PrefabManager/PrefabManage.ts
  19. 159
      assets/Scripts/ZaoCanDian/ZaoCanDian.ts
  20. 3717
      assets/ZaoCanDian/prefab/ZaoCanDian.prefab
  21. BIN
      assets/ZaoCanDian/sound/通用/抛物线.mp3
  22. 8
      assets/ZaoCanDian/sound/通用/抛物线.mp3.meta
  23. 13
      assets/ZaoCanDian/spine/获取光效.meta
  24. 1
      assets/ZaoCanDian/spine/获取光效/.WeDrive
  25. 20
      assets/ZaoCanDian/spine/获取光效/获取光效.atlas
  26. 6
      assets/ZaoCanDian/spine/获取光效/获取光效.atlas.meta
  27. 362
      assets/ZaoCanDian/spine/获取光效/获取光效.json
  28. 10
      assets/ZaoCanDian/spine/获取光效/获取光效.json.meta
  29. BIN
      assets/ZaoCanDian/spine/获取光效/获取光效.png
  30. 38
      assets/ZaoCanDian/spine/获取光效/获取光效.png.meta

@ -0,0 +1,436 @@
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false,
"readonly": false
},
{
"__type__": "cc.Node",
"_name": "GuideMskNode_NoSwallow",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 8
}
],
"_active": true,
"_components": [
{
"__id__": 11
}
],
"_prefab": {
"__id__": 12
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1100,
"height": 2000
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
15.737,
-44.578,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "guide",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 3
}
],
"_active": true,
"_components": [
{
"__id__": 6
}
],
"_prefab": {
"__id__": 7
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "maskNode",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
}
],
"_prefab": {
"__id__": 5
},
"_opacity": 0,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 3000,
"height": 4000
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_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": "0cd5Q3QDxO6I6OcNsgKKJW",
"sync": false
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": null,
"_type": 1,
"_segments": 64,
"_N$alphaThreshold": 0,
"_N$inverted": true,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "0fSso80sxBorINhm7VJzjD",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "skeleton",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
}
],
"_prefab": {
"__id__": 10
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 213.93,
"height": 246.61
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "sp.Skeleton",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": true,
"_materials": [
{
"__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3"
}
],
"paused": false,
"defaultSkin": "default",
"defaultAnimation": "dianji",
"_preCacheMode": 0,
"_cacheMode": 0,
"loop": true,
"premultipliedAlpha": true,
"timeScale": 1,
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_skeletonCache": null,
"_animationName": "dianji",
"_animationQueue": [],
"_headAniInfo": null,
"_playTimes": 0,
"_isAniComplete": true,
"_N$skeletonData": {
"__uuid__": "ffa2200b-5e12-4bdc-8f29-813153429b6b"
},
"_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": "67pm8RDW1NLbsk/QDNlfoh",
"sync": false
},
{
"__type__": "eecabCjcOtDzYpObX4eGzWe",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"maskNode": {
"__id__": 6
},
"shouzhiNode": {
"__id__": 8
},
"maskBlackNode": {
"__id__": 3
},
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "",
"sync": false
}
]

@ -0,0 +1,9 @@
{
"ver": "1.3.2",
"uuid": "c028d3a6-7694-4740-8d85-aed8f4edbc23",
"importer": "prefab",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}

Binary file not shown.

@ -3,6 +3,6 @@
"uuid": "926c6368-3f97-4731-9550-240f2c43369b",
"importer": "audio-clip",
"downloadMode": 0,
"duration": 0.365714,
"duration": 0.235102,
"subMetas": {}
}

@ -24,29 +24,29 @@
"__id__": 5
},
{
"__id__": 73
"__id__": 76
},
{
"__id__": 79
"__id__": 82
},
{
"__id__": 85
"__id__": 88
}
],
"_active": true,
"_components": [
{
"__id__": 99
"__id__": 102
},
{
"__id__": 100
"__id__": 103
},
{
"__id__": 101
"__id__": 104
}
],
"_prefab": {
"__id__": 102
"__id__": 105
},
"_opacity": 255,
"_color": {
@ -213,11 +213,11 @@
"_active": true,
"_components": [
{
"__id__": 71
"__id__": 74
}
],
"_prefab": {
"__id__": 72
"__id__": 75
},
"_opacity": 255,
"_color": {
@ -2259,19 +2259,22 @@
},
{
"__id__": 64
},
{
"__id__": 67
}
],
"_active": false,
"_components": [
{
"__id__": 67
"__id__": 70
},
{
"__id__": 68
"__id__": 71
}
],
"_prefab": {
"__id__": 70
"__id__": 73
},
"_opacity": 255,
"_color": {
@ -2467,7 +2470,7 @@
"ctor": "Float64Array",
"array": [
0,
0,
23.272,
0,
0,
0,
@ -2534,6 +2537,114 @@
"fileId": "50QCG3EXZImarxUB7xRzRb",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "New Label",
"_objFlags": 0,
"_parent": {
"__id__": 60
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 68
}
],
"_prefab": {
"__id__": 69
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 244,
"g": 56,
"b": 56,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 93.12,
"height": 31.5
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-1.909,
-13.999,
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.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 67
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "x2000万",
"_N$string": "x2000万",
"_fontSize": 25,
"_lineHeight": 25,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "c06dfoelNGfYGi4NqXGMw8",
"sync": false
},
{
"__type__": "67b86Vr/PZKGZqkUcKGp7BO",
"_name": "",
@ -2561,7 +2672,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 69
"__id__": 72
}
],
"_N$interactable": true,
@ -2694,17 +2805,17 @@
"_active": false,
"_components": [
{
"__id__": 74
"__id__": 77
},
{
"__id__": 75
"__id__": 78
},
{
"__id__": 77
"__id__": 80
}
],
"_prefab": {
"__id__": 78
"__id__": 81
},
"_opacity": 255,
"_color": {
@ -2758,7 +2869,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 73
"__id__": 76
},
"_enabled": true,
"_materials": [
@ -2790,7 +2901,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 73
"__id__": 76
},
"_enabled": true,
"_normalMaterial": null,
@ -2799,7 +2910,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 76
"__id__": 79
}
],
"_N$interactable": true,
@ -2872,7 +2983,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 73
"__id__": 76
},
"_enabled": true,
"scaleStart": 1,
@ -2900,17 +3011,17 @@
},
"_children": [
{
"__id__": 80
"__id__": 83
}
],
"_active": false,
"_components": [
{
"__id__": 83
"__id__": 86
}
],
"_prefab": {
"__id__": 84
"__id__": 87
},
"_opacity": 255,
"_color": {
@ -2964,17 +3075,17 @@
"_name": "str",
"_objFlags": 0,
"_parent": {
"__id__": 79
"__id__": 82
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 81
"__id__": 84
}
],
"_prefab": {
"__id__": 82
"__id__": 85
},
"_opacity": 255,
"_color": {
@ -3028,7 +3139,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 80
"__id__": 83
},
"_enabled": true,
"_materials": [
@ -3072,7 +3183,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 79
"__id__": 82
},
"_enabled": true,
"_materials": [
@ -3119,23 +3230,23 @@
},
"_children": [
{
"__id__": 86
"__id__": 89
},
{
"__id__": 89
"__id__": 92
},
{
"__id__": 93
"__id__": 96
}
],
"_active": false,
"_components": [
{
"__id__": 96
"__id__": 99
}
],
"_prefab": {
"__id__": 98
"__id__": 101
},
"_opacity": 255,
"_color": {
@ -3189,17 +3300,17 @@
"_name": "语音播放",
"_objFlags": 0,
"_parent": {
"__id__": 85
"__id__": 88
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 87
"__id__": 90
}
],
"_prefab": {
"__id__": 88
"__id__": 91
},
"_opacity": 255,
"_color": {
@ -3253,7 +3364,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 86
"__id__": 89
},
"_enabled": true,
"_materials": [
@ -3306,20 +3417,20 @@
"_name": "lab",
"_objFlags": 0,
"_parent": {
"__id__": 85
"__id__": 88
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 90
"__id__": 93
},
{
"__id__": 91
"__id__": 94
}
],
"_prefab": {
"__id__": 92
"__id__": 95
},
"_opacity": 255,
"_color": {
@ -3373,7 +3484,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 89
"__id__": 92
},
"_enabled": true,
"_materials": [
@ -3406,7 +3517,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 89
"__id__": 92
},
"_enabled": true,
"_color": {
@ -3435,17 +3546,17 @@
"_name": "头像",
"_objFlags": 0,
"_parent": {
"__id__": 85
"__id__": 88
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 94
"__id__": 97
}
],
"_prefab": {
"__id__": 95
"__id__": 98
},
"_opacity": 255,
"_color": {
@ -3499,7 +3610,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 93
"__id__": 96
},
"_enabled": true,
"_materials": [
@ -3540,7 +3651,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 85
"__id__": 88
},
"_enabled": true,
"_normalMaterial": null,
@ -3549,7 +3660,7 @@
"zoomScale": 1.1,
"clickEvents": [
{
"__id__": 97
"__id__": 100
}
],
"_N$interactable": true,
@ -3605,7 +3716,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 85
"__id__": 88
},
"_id": ""
},

@ -30,26 +30,26 @@
"__id__": 15
},
{
"__id__": 18
"__id__": 22
},
{
"__id__": 23
"__id__": 27
},
{
"__id__": 28
"__id__": 36
}
],
"_active": true,
"_components": [
{
"__id__": 35
"__id__": 43
},
{
"__id__": 36
"__id__": 44
}
],
"_prefab": {
"__id__": 37
"__id__": 45
},
"_opacity": 255,
"_color": {
@ -554,15 +554,19 @@
"_parent": {
"__id__": 1
},
"_children": [],
"_children": [
{
"__id__": 16
}
],
"_active": true,
"_components": [
{
"__id__": 16
"__id__": 20
}
],
"_prefab": {
"__id__": 17
"__id__": 21
},
"_opacity": 255,
"_color": {
@ -574,8 +578,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 176,
"height": 72
"width": 157,
"height": 66
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -611,6 +615,135 @@
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "今日已领",
"_objFlags": 0,
"_parent": {
"__id__": 15
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 17
},
{
"__id__": 18
}
],
"_prefab": {
"__id__": 19
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 102,
"height": 33.5
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "今日已领",
"_N$string": "今日已领",
"_fontSize": 25,
"_lineHeight": 25,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 1,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.LabelOutline",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
},
"_enabled": true,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_width": 1,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "2f3OsNr5tBwoXAiKBmIRPo",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
@ -621,13 +754,13 @@
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"__uuid__": "3a7bb79f-32fd-422e-ada2-96f518fed422"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "de1b2f9b-1321-414a-bb01-a91fd45b1eb8"
"__uuid__": "1291ef7a-cf6b-4b09-9b8a-646603b0db0b"
},
"_type": 0,
"_sizeMode": 1,
@ -665,14 +798,14 @@
"_active": true,
"_components": [
{
"__id__": 19
"__id__": 23
},
{
"__id__": 20
"__id__": 24
}
],
"_prefab": {
"__id__": 22
"__id__": 26
},
"_opacity": 255,
"_color": {
@ -726,7 +859,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 18
"__id__": 22
},
"_enabled": true,
"_materials": [
@ -758,7 +891,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 18
"__id__": 22
},
"_enabled": true,
"_normalMaterial": null,
@ -767,7 +900,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 21
"__id__": 25
}
],
"_N$interactable": true,
@ -853,18 +986,22 @@
"_parent": {
"__id__": 1
},
"_children": [],
"_children": [
{
"__id__": 28
}
],
"_active": true,
"_components": [
{
"__id__": 24
"__id__": 32
},
{
"__id__": 25
"__id__": 33
}
],
"_prefab": {
"__id__": 27
"__id__": 35
},
"_opacity": 255,
"_color": {
@ -876,8 +1013,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 176,
"height": 72
"width": 157,
"height": 66
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -913,12 +1050,141 @@
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "lab",
"_objFlags": 0,
"_parent": {
"__id__": 27
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 29
},
{
"__id__": 30
}
],
"_prefab": {
"__id__": 31
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 127,
"height": 33.5
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "进入侧边栏",
"_N$string": "进入侧边栏",
"_fontSize": 25,
"_lineHeight": 25,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 1,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.LabelOutline",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
},
"_enabled": true,
"_color": {
"__type__": "cc.Color",
"r": 117,
"g": 149,
"b": 206,
"a": 255
},
"_width": 1,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "3f+lQVOsRLi7GP9rSLvBJe",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
"__id__": 27
},
"_enabled": true,
"_materials": [
@ -929,7 +1195,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b4c93316-eb9c-4025-a7b7-730fb386bb53"
"__uuid__": "1291ef7a-cf6b-4b09-9b8a-646603b0db0b"
},
"_type": 0,
"_sizeMode": 1,
@ -950,7 +1216,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
"__id__": 27
},
"_enabled": true,
"_normalMaterial": null,
@ -959,7 +1225,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 26
"__id__": 34
}
],
"_N$interactable": true,
@ -1047,17 +1313,17 @@
},
"_children": [
{
"__id__": 29
"__id__": 37
}
],
"_active": true,
"_components": [
{
"__id__": 33
"__id__": 41
}
],
"_prefab": {
"__id__": 34
"__id__": 42
},
"_opacity": 255,
"_color": {
@ -1069,8 +1335,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 79,
"height": 81
"width": 81,
"height": 83
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -1111,20 +1377,20 @@
"_name": "New Label",
"_objFlags": 0,
"_parent": {
"__id__": 28
"__id__": 36
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 30
"__id__": 38
},
{
"__id__": 31
"__id__": 39
}
],
"_prefab": {
"__id__": 32
"__id__": 40
},
"_opacity": 255,
"_color": {
@ -1148,8 +1414,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
104.496,
2.842170943040401e-14,
123.556,
0,
0,
0,
0,
@ -1178,7 +1444,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
"__id__": 37
},
"_enabled": true,
"_materials": [
@ -1211,7 +1477,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
"__id__": 37
},
"_enabled": true,
"_color": {
@ -1240,7 +1506,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
"__id__": 36
},
"_enabled": true,
"_materials": [
@ -1251,7 +1517,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "1da4d145-d1cb-4d20-8544-f1eaf5b2d089"
"__uuid__": "5caddab5-8fe3-4c99-b54a-31a9f86039ba"
},
"_type": 0,
"_sizeMode": 1,
@ -1314,10 +1580,10 @@
},
"_enabled": true,
"btnEnter": {
"__id__": 23
"__id__": 27
},
"btnGetAward": {
"__id__": 18
"__id__": 22
},
"getRewardBtn": {
"__id__": 15

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

@ -1,6 +1,6 @@
{
"ver": "2.3.7",
"uuid": "cfbe67ae-7e20-4a99-a609-bdc0d165cdcb",
"uuid": "d105cea3-56f8-40ff-9702-ededb3f9ef63",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
@ -8,15 +8,15 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 79,
"height": 81,
"width": 81,
"height": 83,
"platformSettings": {},
"subMetas": {
"连点器": {
"自动营业": {
"ver": "1.0.6",
"uuid": "1da4d145-d1cb-4d20-8544-f1eaf5b2d089",
"uuid": "5caddab5-8fe3-4c99-b54a-31a9f86039ba",
"importer": "sprite-frame",
"rawTextureUuid": "cfbe67ae-7e20-4a99-a609-bdc0d165cdcb",
"rawTextureUuid": "d105cea3-56f8-40ff-9702-ededb3f9ef63",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
@ -24,10 +24,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 79,
"height": 81,
"rawWidth": 79,
"rawHeight": 81,
"width": 81,
"height": 83,
"rawWidth": 81,
"rawHeight": 83,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -25,6 +25,7 @@ import UserManager from "../Manager/UserManager";
import ZaoCanManager from "../Manager/ZaoCanManager";
import ZiChanManager from "../Manager/ZiChanManager";
import NewGuideScript from "../NewGuide/NewGuideScript";
import NewGuideScript_NoSwallow from "../NewGuide/NewGuideScript_NoSwallow";
//import NewGuideScript2 from "../NewGuide/NewGuideScript2";
import PrefabManage, { GameType } from "../PrefabManager/PrefabManage";
import CommonTips from "../SCommon/CommonTips";
@ -315,10 +316,10 @@ export default class MainHall extends UiBase {
if (index == 3) {
} else if (index == 1000) {
this.scheduleOnce(() => {
this.showYuanGongChat(0)
User.setFirstStepIndex(1001)
}, 1)
// this.scheduleOnce(() => {
// this.showYuanGongChat(0)
// User.setFirstStepIndex(1001)
// }, 1)
// this.scheduleOnce(() => {
// let zhuanpan = User.getZhuanPanFree()
// if (zhuanpan) {
@ -554,65 +555,21 @@ export default class MainHall extends UiBase {
guideStep() {
let index = User.getFirstStepIndex()
if (index == 6 && this.clickNum < 4) {
if (this.clickNum == 0) {
PrefabManage.showTextTips("点击摊位开始做拉面赚钱")
}
this.guideView([this.node, this.node, this.node, this.node, this.node])
// let node = this.node.getChildByName('UINode').getChildByName('bottom').getChildByName('升级')
// this.guideView([node], 100)
// JuQingManager.unLockNewJuQing('DH_88')
// User.setFirstStepIndex(3)
// Common5.CommonGuideIndex = 100
// EventMgr.emitEvent_custom(ryw_Event.NewGuideEvent, 100)
} else if (index == 6 && this.clickNum >= 4) {
this.showQiPao(this.chatConfig[0], "qipao_people", () => {
this.scheduleOnce(() => {
User.setFirstStepIndex(7)
this.clickNum = 0
this.guideStep()
}, 0)
})
} else if (index == 7 && this.clickNum < 1) {
if (this.clickNum == 0) {
// this.showQiPao(this.chatConfig[1], "qipao_people", () => {
// this.scheduleOnce(() => {
Common5.ReportDY("inLevel", "任务" + TaskManager.getCurUnLockMainTaskId() + '-引导升级');
let node = this.node.getChildByName('UINode').getChildByName('bottom').getChildByName('升级')
this.guideView([node, node], -1, this.chatConfig[1])
// }, 5)
// })
}
} else if (index == 7 && this.clickNum >= 1) {
if (index == 3) {
this.node.getChildByName('UINode').active = false
} else if (index == 5) {
this.node.getChildByName('UINode').active = true
let node = this.node.getChildByName('UINode').getChildByName('bottom').getChildByName('升级')
this.scheduleOnce(() => {
User.setFirstStepIndex(8)
this.clickNum = 0
this.guideStep()
}, 3)
} else if (index == 8) {
User.setFirstStepIndex(8.5)
this.clickNum = 0
this.showQiPao(this.chatConfig[2], "qipao_people", () => {
this.guideView([this.node, this.node, this.node, this.node, this.node])
// let node = this.node.getChildByName('UINode').getChildByName('bottom').getChildByName('秘书')
// this.guideView([node], 100)
})
} else if (index == 8.5) {
User.setFirstStepIndex(9)
this.clickNum = 0
User.setFirstStepIndex(6)
this.guideView([node, node, node, node, node], 150)
}, 1)
} else if (index == 7) {
let node = this.node.getChildByName('UINode').getChildByName('bottom').getChildByName('秘书')
this.scheduleOnce(() => {
this.guideStep()
}, 5)
} else if (index == 9) {
User.setFirstStepIndex(10)
this.clickNum = 0
this.showQiPao(this.chatConfig[3], "qipao_people", () => {
this.scheduleOnce(() => {
let node = this.node.getChildByName('UINode').getChildByName('bottom').getChildByName('秘书')
this.guideView([node], 100)
}, 0)
})
User.setFirstStepIndex(8)
this.guideView([node], 150, null, null, null, true)
}, 1)
} else {
}
}
@ -642,20 +599,48 @@ export default class MainHall extends UiBase {
}
}
guideView(nodeArray, opacity = -1, qiPao?, name?, isRun?) {
return
if (!isRun) {
if (nodeArray && nodeArray.length > 0 && this.guideArr && this.guideArr.length > 0) {
for (let i = 0; i < this.guideArr.length; i++) {
if (name && this.guideArr[i].name && name == this.guideArr[i].name) {
console.log("已有相同的引导不再添加")
return
}
// guideView(nodeArray, opacity = -1, qiPao?, name?, isRun?) {
// return
// if (!isRun) {
// if (nodeArray && nodeArray.length > 0 && this.guideArr && this.guideArr.length > 0) {
// for (let i = 0; i < this.guideArr.length; i++) {
// if (name && this.guideArr[i].name && name == this.guideArr[i].name) {
// console.log("已有相同的引导不再添加")
// return
// }
// }
// }
// this.guideArr.push({ nodeArray: nodeArray, opacity: opacity, qiPao: qiPao, name: name })
// // this.runGuideArr()
// } else {
// PrefabManage.loadPrefabByType(GameType.GuideMskNode, this.node.getChildByName("蒙版父节点"), (prefab) => {
// // prefab.zIndex = 199
// let guideNodeArray = nodeArray
// let firstNode = guideNodeArray.shift()
// prefab.getComponent(NewGuideScript).setBindNode(firstNode, guideNodeArray)
// if (opacity != -1) {
// prefab.getComponent(NewGuideScript).setOpacityMaskNode(opacity)
// }
// })
// if (qiPao) {
// this.showQiPao(qiPao, "qipao_people", () => {
// })
// }
// }
// }
guideView(nodeArray, opacity = -1, qiPao?, name?, isRun?, isNotTouch?) {
if (isNotTouch) {
PrefabManage.loadPrefabByType(GameType.GuideMskNode_NoSwallow, this.node.getChildByName("蒙版父节点"), (prefab) => {
// prefab.zIndex = 199
let guideNodeArray = nodeArray
let firstNode = guideNodeArray.shift()
prefab.getComponent(NewGuideScript_NoSwallow).setBindNode(firstNode, guideNodeArray)
if (opacity != -1) {
prefab.getComponent(NewGuideScript_NoSwallow).setOpacityMaskNode(opacity)
}
}
this.guideArr.push({ nodeArray: nodeArray, opacity: opacity, qiPao: qiPao, name: name })
// this.runGuideArr()
} else {
})
}else{
PrefabManage.loadPrefabByType(GameType.GuideMskNode, this.node.getChildByName("蒙版父节点"), (prefab) => {
// prefab.zIndex = 199
let guideNodeArray = nodeArray
@ -665,11 +650,8 @@ export default class MainHall extends UiBase {
prefab.getComponent(NewGuideScript).setOpacityMaskNode(opacity)
}
})
if (qiPao) {
this.showQiPao(qiPao, "qipao_people", () => {
})
}
}
}
@ -1256,17 +1238,4 @@ export default class MainHall extends UiBase {
}
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)
}
}

@ -366,12 +366,12 @@ export default class MainHallBtn extends cc.Component {
taskDescNode.active = true
// tanhao.active = true
taskLab.string = taskConfig.TaskDesc
taskNode.getComponent('ScaleScripts').startTween()
// taskNode.getComponent('ScaleScripts').startTween()
} else {
//spineNodeTask.getComponent(sp.Skeleton).setAnimation(0,'静止',false)
taskDescNode.active = false
tanhao.active = false
taskNode.getComponent('ScaleScripts').stopAnim()
// taskNode.getComponent('ScaleScripts').stopAnim()
}
}

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

@ -25,7 +25,7 @@ export default class UserManager{
public static addMoney(money,startNode?,endNode?){
if(money>0){
Common5.playRemoteAudioEffect('sound/common/钱币入账')
// Common5.playRemoteAudioEffect('sound/common/钱币入账')
}
User.setMoney(User.getMoney() + money);

@ -0,0 +1,186 @@
// Learn TypeScript:
// - https://docs.cocos.com/creator/2.4/manual/en/scripting/typescript.html
// Learn Attribute:
// - https://docs.cocos.com/creator/2.4/manual/en/scripting/reference/attributes.html
// 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";
const { ccclass, property } = cc._decorator;
@ccclass
export default class NewGuideScript_NoSwallow extends cc.Component {
@property(cc.Mask)
maskNode: cc.Mask = null;
@property(cc.Node)
shouzhiNode: cc.Node = null;
@property(cc.Node)
maskBlackNode: cc.Node = null;
nodeArray: cc.Node[] = [];
graphics = null
registNode = null
isPlayAnim = true
bindNode() {
this.node.on(cc.Node.EventType.TOUCH_START, (event) => {
//目标节点不存在,拦截
if (!this.registNode) {
this.node['_touchListener'].setSwallowTouches(true);
return;
}
//目标区域存在,击中放行
let rect = this.registNode.getBoundingBoxToWorld();
if (rect.contains(event.getLocation())) {
this.node['_touchListener'].setSwallowTouches(true);
cc.log('命中目标节点,放行');
} else {
this.node['_touchListener'].setSwallowTouches(true);
cc.log('未命中目标节点,拦截');
}
}, this);
//监听事件
this.node.on(cc.Node.EventType.TOUCH_END, (event) => {
//目标节点不存在,拦截
if (!this.registNode) {
return;
}
//目标区域存在,击中放行
let rect = this.registNode.getBoundingBoxToWorld();
if (rect.contains(event.getLocation())) {
this.registNode = null
if (this.nodeArray.length == 0) {
this.node.removeFromParent()
this.node.destroy()
EventMgr.emitEvent_custom(ryw_Event.swallowToucheFinishEvent);
} else {
let nextNode = this.nodeArray.shift()
this.nextNode(nextNode)
}
EventMgr.emitEvent_custom(ryw_Event.swallowToucheEvent);
} else {
}
}, this);
}
// LIFE-CYCLE CALLBACKS:
// onLoad () {}
onLoad() {
this.graphics = this.maskNode['_graphics']
this.bindNode()
// this.schedule(() => {
// if (this.maskBlackNode.opacity == 0) {
// this.registNode = null
// if (this.nodeArray.length == 0) {
// this.node.removeFromParent()
// this.node.destroy()
// // EventMgr.emitEvent_custom(ryw_Event.swallowToucheFinishEvent);
// } else {
// let nextNode = this.nodeArray.shift()
// this.nextNode(nextNode)
// }
// }
// }, 5)
}
nextNode(registNode) {
this.registNode = registNode
let posi = Common5.getNodeToTargetPos(this.shouzhiNode, registNode)
if (this.isPlayAnim) {
// this.shouzhiNode.setPosition(0, 0)
cc.tween(this.shouzhiNode)
.to(0.6, { x: posi.x + 50, y: posi.y - 50 })
.call(() => {
this._focusToNode(registNode)
})
.start()
} else {
this.shouzhiNode.setPosition(posi.x + 50, posi.y - 50)
this._focusToNode(registNode)
}
}
setBindNode(registNode, nodeArray) {
this.registNode = registNode
this.nodeArray = nodeArray
let posi = Common5.getNodeToTargetPos(this.shouzhiNode, registNode)
if (this.isPlayAnim) {
// this.shouzhiNode.setPosition(0, 0)
cc.tween(this.shouzhiNode)
.to(0.6, { x: posi.x + 50, y: posi.y - 50 })
.call(() => {
this._focusToNode(registNode)
})
.start()
} else {
this.shouzhiNode.setPosition(posi.x + 50, posi.y - 50)
this._focusToNode(registNode)
}
}
_focusToNode(node) {
console.log('挖洞++++++++++======')
this.graphics.clear();
let rect = node.getBoundingBoxToWorld();
this.maskNode.node.setContentSize(0, 0)
let p = this.node.convertToNodeSpaceAR(rect.origin);
rect.x = p.x;
rect.y = p.y;
Common5.setNodeToTargetPos(this.maskNode.node, node)
this.maskNode.node.setContentSize(rect.width + 50, rect.height + 50)
// //roundRect
// this.graphics.fillRect(rect.x, rect.y, rect.width+20, rect.height+20);
// return rect;
}
setOpacityMaskNode(num) {
this.maskBlackNode.opacity = num
}
setCanPlayAnim(isPlayAnim) {
this.isPlayAnim = isPlayAnim
}
// update (dt) {}
}

@ -0,0 +1,10 @@
{
"ver": "1.1.0",
"uuid": "eecab0a3-70eb-43cd-8a4e-6d7e1e1b359e",
"importer": "typescript",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}

@ -226,6 +226,8 @@ export enum GameType {
ZaoCanDianYeWu,
ZaoCanDianUnLock,
GuideMskNode_NoSwallow,
KaiChangGuanQia1Gai,
GameStory2,
GameStory3,
@ -513,6 +515,8 @@ let AllPrefabConfig = [
{ desc: "早餐业务", gameType: GameType.ZaoCanDianYeWu, bundleName: "ZaoCanDian", prefabUrl: "prefab/ZaoCanDianYeWu", dadianTag: '早餐业务-进入', wanJiaDaDianTag: "早餐业务-玩家", isNeedLoading: true },
{ desc: "早餐业务解锁", gameType: GameType.ZaoCanDianUnLock, bundleName: "ZaoCanDian", prefabUrl: "prefab/ZaoCanDianUnLock", dadianTag: '早餐业务解锁-进入', wanJiaDaDianTag: "早餐业务解锁-玩家", isNeedLoading: true },
{ desc: "GuideMskNode_NoSwallow", gameType: GameType.GuideMskNode_NoSwallow, bundleName: "CommonRes", prefabUrl: "prefab/GuideMskNode_NoSwallow" },
{ 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 },
{ desc: "游戏文字剧情3", gameType: GameType.GameStory3, bundleName: "GameStory3", prefabUrl: "prefab/GameStory3", dadianTag: '游戏文字剧情3-进入', wanJiaDaDianTag: "游戏文字剧情3-玩家", isNeedLoading: true },

@ -13,6 +13,7 @@ import TaskManager, { MainTaskIdEnum } from "../JuQingChat/TaskManager";
import JieDaoManager from "../Manager/JieDaoManager";
import UserManager from "../Manager/UserManager";
import ZaoCanManager from "../Manager/ZaoCanManager";
import NewGuideScript from "../NewGuide/NewGuideScript";
import PrefabManage, { GameType } from "../PrefabManager/PrefabManage";
import ZaoCanDianNpc from "./ZaoCanDianNpc";
@ -54,6 +55,9 @@ export default class ZaoCanDian extends cc.Component {
@property(cc.Sprite)
m_bg: cc.Sprite = null;
@property(cc.Label)
duihua: cc.Label = null;
npcNodes: cc.Node[] = [];
lastDirect: Npc_Direct = Npc_Direct.RIGHT;
@ -65,6 +69,17 @@ export default class ZaoCanDian extends cc.Component {
TanWeiSpineState = [false, false, false, false, false]
chatConfig = [
{ effectUrl: 'DH/MainHall/sound/老板你终于来了,顾客都在排队等着买早餐呢!', delayTime: 2.21, str: '老板你终于来了,顾客都在排队等着买早餐呢!', posi: '员工对话' },
{ effectUrl: 'DH/MainHall/sound/先把锅具摆上吧!', delayTime: 2.83, 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: 4.35, str: '招聘员工可以增加摊位的秒赚收益哦!', posi: '员工对话' },
{ effectUrl: 'DH/MainHall/sound/好啦,老板你开始营业赚钱吧!', delayTime: 4.35, str: '好啦,老板你开始营业赚钱吧!', posi: '员工对话' },
]
isJoin: any;
// LIFE-CYCLE CALLBACKS:
// onLoad () {}
@ -93,6 +108,13 @@ export default class ZaoCanDian extends cc.Component {
EventMgr.onEvent_custom(ryw_Event.autoTimeEvent, () => {
this.autoTimeEvent()
}, this)
this.guideStep()
EventMgr.onEvent_custom(ryw_Event.swallowToucheFinishEvent, () => {
this.guideStep()
}, this)
}
RefreshJieDao() {
@ -146,8 +168,13 @@ export default class ZaoCanDian extends cc.Component {
this.npcNodes = []
// this.runNpc()
this.unschedule(this.npcUpdate)
this.schedule(this.npcUpdate, 1)
let mainTaskInfo: any = TaskManager.getCurUnLockMainTaskInfo()
let mainId = mainTaskInfo.Id
if (User.getFirstStepIndex() != 3) {
this.unschedule(this.npcUpdate)
this.schedule(this.npcUpdate, 1)
}
}
npcUpdate() {
@ -161,6 +188,9 @@ export default class ZaoCanDian extends cc.Component {
this.npc_parent.addChild(npc)
let curDirect = this.lastDirect == Npc_Direct.LEFT ? Npc_Direct.RIGHT : Npc_Direct.LEFT
let index = Common5.getRandomNumber(0, this.ZaoCanArr.length - 1)
if (User.getFirstStepIndex() == 3) {
index = 3//油条
}
npc.getComponent(ZaoCanDianNpc).init(curDirect, this.npc_Positions[stateIndex].getPosition(), this.ZaoCanArr[index], stateIndex, 1)
// npc.getComponent(ZaoCanDianNpc).init(curDirect, this.npc_Positions[stateIndex].getPosition(), "油条", stateIndex, 1)
this.lastDirect = curDirect
@ -247,6 +277,8 @@ export default class ZaoCanDian extends cc.Component {
return
}
Common5.playEffectCustom('ZaoCanDian', 'sound/通用/抛物线')
let com = _npc.getComponent(ZaoCanDianNpc)
let _position = this.fly_zaocan_parent.convertToNodeSpaceAR(com.getZaoCanWorldPosition())
if (custom <= 3) {
@ -273,7 +305,7 @@ export default class ZaoCanDian extends cc.Component {
child.setPosition(startPosition)
child.active = true
Common5.getSpriteFrameFromBundle("ZaoCanDian", "res/icon/" + zaoCanStr, child.getComponent(cc.Sprite))
let time = _position.sub(startPosition).mag() / 1500
let time = 0.5// _position.sub(startPosition).mag() / 1500
let middlePos = startPosition.add(_position).div(2)
let c1 = cc.v2(startPosition.x, middlePos.y)
let c2 = cc.v2(middlePos.x, _position.y)
@ -387,12 +419,17 @@ export default class ZaoCanDian extends cc.Component {
tanweiSpine.setCompleteListener(() => {
tanweiSpine.setCompleteListener(null)
this.TanWeiSpineState[tanweiIndex] = false
if (tanweiIndex == 0) {
Common5.playEffectCustom('ZaoCanDian', 'sound/蒸笼/出锅')
if (showNum == 3) {
if (tanweiIndex == 0) {
Common5.playEffectCustom('ZaoCanDian', 'sound/蒸笼/出锅')
}
this.scheduleOnce(() => {
Common5.playEffectCustom('ZaoCanDian', 'sound/通用/制作完成')
let spine = tanwei.getChildByName("获取光效").getComponent(sp.Skeleton)
spine.node.active = true
spine.setAnimation(0, "animation", false)
})
}
this.scheduleOnce(() => {
Common5.playEffectCustom('ZaoCanDian', 'sound/通用/制作完成')
})
for (let i = 3; i > 0; i--) {
if (showNum >= i) {
console.log("显示===", i)
@ -401,6 +438,14 @@ export default class ZaoCanDian extends cc.Component {
this.fly_zaocan_parent.getChildByName(names[tanweiIndex] + "摊位").getChildByName(`${i}`).active = false
}
}
if (User.getFirstStepIndex() == 3) {
this.showYuanGongChat(3, () => {
User.setFirstStepIndex(4)
let tanwei = this.node.getChildByName("桌子").getChildByName("油条摊位").getChildByName("touch")
this.guideView([tanwei, tanwei, tanwei])
})
}
})
tanweiSpine.setAnimation(0, animation, loop)
}
@ -444,10 +489,8 @@ export default class ZaoCanDian extends cc.Component {
let mainId = mainTaskInfo.Id
let config = TaskManager.getTaskConfigById(mainId)
let index = User.getFirstStepIndex()
// if (index == 3) { //早餐摊引导
// return
// }
if (config && config.wanFaRuKouTip && config.wanFaRuKouTip.includes('rk_chuZuChe')) {
this.car.node.active = true
this.car.setAnimation(0, "空车", false)
@ -460,7 +503,7 @@ export default class ZaoCanDian extends cc.Component {
onTouchTieHe() {
this.tiehe.setAnimation(0, "抖动", false)
let level = User.getMyLevel()
let money = 2 * Math.pow(1.025, (level - 1))
let money = Common5.getNumberChangeHanzi(Math.ceil(2 * Math.pow(1.025, (level - 1))))
UserManager.addMoney(money, this.tiehe.node)
}
@ -480,5 +523,97 @@ export default class ZaoCanDian extends cc.Component {
}
}
showYuanGongChat(index, callback?, isNotHide?) {
this.node.getChildByName("员工对话框").active = true
let chat = this.chatConfig[index]
this.duihua.string = chat.str
if (chat.effectUrl && chat.effectUrl.length > 0) {
Common5.playRemoteAudioEffect(chat.effectUrl);
}
this.scheduleOnce(() => {
if (isNotHide) {
} else {
this.node.getChildByName("员工对话框").active = false
}
callback && callback()
}, chat.delayTime)
}
onTouchStartBaiTan() {
this.node.getChildByName("员工对话框").active = false
this.node.getChildByName("开始摆摊").active = false
let tanwei = this.node.getChildByName("桌子").getChildByName("油条摊位")
tanwei.active = true
let touch = tanwei.getChildByName("touch")
for (let i = 0; i < 3; i++) {
this.runNpc()
}
this.scheduleOnce(() => {
this.showYuanGongChat(2, () => {
this.guideView([touch], 150)
})
}, 2)
}
guideStep() {
let index = User.getFirstStepIndex()
if (index == 3 && !this.isJoin) { //早餐摊引导
this.isJoin = true
let names = ['馒头', '鸡蛋', '饺子', '油条', '豆浆']
for (let i = 0; i < names.length; i++) {
let tanwei = this.node.getChildByName("桌子").getChildByName(names[i] + "摊位")
tanwei.active = false
}
let othernames = ['碗1', '铁盆', '钱盒', '碗']
for (const element of othernames) {
this.node.getChildByName("桌子").getChildByName(element).active = false
}
this.showYuanGongChat(0, () => {
this.node.getChildByName("开始摆摊").active = true
this.guideView([this.node.getChildByName("开始摆摊")])
this.showYuanGongChat(1, null, true)
})
} else if (index == 4) {
this.scheduleOnce(() => {
User.setFirstStepIndex(5)
this.showYuanGongChat(4, () => {
EventMgr.emitEvent_custom(ryw_Event.swallowToucheFinishEvent)
})
}, 1)
} else if (index == 6) {
User.setFirstStepIndex(7)
this.showYuanGongChat(5, () => {
EventMgr.emitEvent_custom(ryw_Event.swallowToucheFinishEvent)
})
} else if (index == 8) {
this.showYuanGongChat(6, () => {
let names = ['馒头', '鸡蛋', '饺子', '油条', '豆浆']
for (let i = 0; i < names.length; i++) {
let tanwei = this.node.getChildByName("桌子").getChildByName(names[i] + "摊位")
tanwei.active = true
}
let othernames = ['碗1', '铁盆', '钱盒', '碗']
for (const element of othernames) {
this.node.getChildByName("桌子").getChildByName(element).active = true
}
this.refreshZaoCan()
})
User.setFirstStepIndex(9)
}
}
guideView(nodeArray, opacity = -1) {
PrefabManage.loadPrefabByType(GameType.GuideMskNode, this.node, (prefab) => {
// prefab.zIndex = 199
let guideNodeArray = nodeArray
let firstNode = guideNodeArray.shift()
prefab.getComponent(NewGuideScript).setBindNode(firstNode, guideNodeArray)
if (opacity != -1) {
prefab.getComponent(NewGuideScript).setOpacityMaskNode(opacity)
}
})
}
// update (dt) {}
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,8 @@
{
"ver": "2.0.3",
"uuid": "705fcd5a-f944-411c-b4c3-89727782c146",
"importer": "audio-clip",
"downloadMode": 0,
"duration": 1.253878,
"subMetas": {}
}

@ -0,0 +1,13 @@
{
"ver": "1.1.3",
"uuid": "32074f4f-01c5-4f45-8de8-a70b1de2c43d",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

@ -0,0 +1 @@
D:\WXWork\1688855028601486\WeDrive\中昱智云\抖音游戏\逆袭类\【新】咸鱼的反击\动效\获取光效

@ -0,0 +1,20 @@
获取光效.png
size: 54,35
format: RGBA8888
filter: Linear,Linear
repeat: none
星星
rotate: true
xy: 2, 2
size: 31, 43
orig: 34, 50
offset: 2, 2
index: -1
星星2
rotate: false
xy: 47, 27
size: 5, 6
orig: 8, 8
offset: 1, 1
index: -1

@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "6c02bdb8-e8aa-4351-89fd-2985aca8e615",
"importer": "asset",
"subMetas": {}
}

@ -0,0 +1,362 @@
{
"skeleton": {
"hash": "sCoGIUYK0E5kk9ZAwjJkgGs4tLA",
"spine": "3.8.75",
"x": -170.51,
"y": -123.9,
"width": 383.65,
"height": 261.69,
"images": "./images/",
"audio": ""
},
"bones": [
{ "name": "root" },
{ "name": "星星", "parent": "root", "x": -150.35, "y": -25.32, "scaleX": 1.3107, "scaleY": 1.3107 },
{ "name": "星星2", "parent": "root", "x": -16.55, "y": 45.45, "scaleX": 0.6906, "scaleY": 0.6906 },
{ "name": "星星3", "parent": "root", "x": 196.49, "y": 10.87, "scaleX": 2.9631, "scaleY": 2.9631 },
{ "name": "星星4", "parent": "root", "x": -118.68, "y": 77.98 },
{ "name": "星星5", "parent": "root", "x": -5.37, "y": -28.34, "scaleX": 0.6276, "scaleY": 0.6276 },
{ "name": "星星6", "parent": "root", "x": 101.73, "y": 28.21, "scaleX": 1.3918, "scaleY": 1.3918 },
{ "name": "星星7", "parent": "root", "x": 37.39, "y": -16.73, "scaleX": 2.1391, "scaleY": 2.1391 },
{ "name": "星星8", "parent": "root", "x": -68.5, "y": 30.72, "scaleX": 1.3918, "scaleY": 1.3918 },
{ "name": "星星9", "parent": "root", "x": 141.69, "y": 67.31, "scaleX": 2.0516, "scaleY": 2.0516 },
{ "name": "星星10", "parent": "root", "x": 9.75, "y": 103.34, "scaleX": 1.2564, "scaleY": 1.2564 },
{ "name": "星星11", "parent": "root", "x": -85.39, "y": -73.58, "scaleX": 1.7864, "scaleY": 1.7864 },
{ "name": "星星12", "parent": "root", "x": 112.78, "y": -89.99 },
{ "name": "星星13", "parent": "root", "x": -138.07, "y": 45.64, "scaleX": 2.0516, "scaleY": 2.0516 },
{ "name": "星星14", "parent": "root", "x": 165.95, "y": -11.87 },
{ "name": "星星15", "parent": "root", "x": -30.84, "y": -92.48, "scaleX": 1.3918, "scaleY": 1.3918 }
],
"slots": [
{ "name": "星星", "bone": "星星", "attachment": "星星" },
{ "name": "星星7", "bone": "星星7", "attachment": "星星2" },
{ "name": "星星2", "bone": "星星2", "attachment": "星星" },
{ "name": "星星8", "bone": "星星8", "attachment": "星星" },
{ "name": "星星15", "bone": "星星15", "attachment": "星星" },
{ "name": "星星3", "bone": "星星3", "attachment": "星星2" },
{ "name": "星星9", "bone": "星星9", "attachment": "星星2" },
{ "name": "星星13", "bone": "星星13", "attachment": "星星2" },
{ "name": "星星4", "bone": "星星4", "attachment": "星星" },
{ "name": "星星10", "bone": "星星10", "attachment": "星星" },
{ "name": "星星5", "bone": "星星5", "attachment": "星星" },
{ "name": "星星11", "bone": "星星11", "attachment": "星星2" },
{ "name": "星星6", "bone": "星星6", "attachment": "星星" },
{ "name": "星星12", "bone": "星星12", "attachment": "星星" },
{ "name": "星星14", "bone": "星星14", "attachment": "星星" }
],
"skins": [
{
"name": "default",
"attachments": {
"星星11": {
"星星2": { "x": 1.62, "y": 2.43, "width": 8, "height": 8 }
},
"星星12": {
"星星": { "x": 1.62, "y": 2.43, "width": 34, "height": 50 }
},
"星星13": {
"星星2": { "x": 1.62, "y": 2.43, "width": 8, "height": 8 }
},
"星星14": {
"星星": { "x": 1.62, "y": 2.43, "width": 34, "height": 50 }
},
"星星15": {
"星星": { "x": 1.62, "y": 2.43, "width": 34, "height": 50 }
},
"星星2": {
"星星": { "x": 1.62, "y": 2.43, "width": 34, "height": 50 }
},
"星星3": {
"星星2": { "x": 1.62, "y": 2.43, "width": 8, "height": 8 }
},
"星星4": {
"星星": { "x": 1.62, "y": 2.43, "width": 34, "height": 50 }
},
"星星5": {
"星星": { "x": 1.62, "y": 2.43, "width": 34, "height": 50 }
},
"星星6": {
"星星": { "x": 1.62, "y": 2.43, "width": 34, "height": 50 }
},
"星星7": {
"星星2": { "x": 1.62, "y": 2.43, "width": 8, "height": 8 }
},
"星星8": {
"星星": { "x": 1.62, "y": 2.43, "width": 34, "height": 50 }
},
"星星9": {
"星星2": { "x": 1.62, "y": 2.43, "width": 8, "height": 8 }
},
"星星": {
"星星": { "x": 1.62, "y": 2.43, "width": 34, "height": 50 }
},
"星星10": {
"星星": { "x": 1.62, "y": 2.43, "width": 34, "height": 50 }
}
}
}
],
"animations": {
"animation": {
"slots": {
"星星13": {
"color": [
{ "color": "ffffff3d", "curve": 0.382, "c2": 0.58, "c3": 0.731 },
{ "time": 0.1, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.4333, "color": "ffffffff", "curve": 0.258, "c3": 0.619, "c4": 0.45 },
{ "time": 0.5667, "color": "ffffffa1", "curve": 0.363, "c2": 0.44, "c3": 0.755 },
{ "time": 0.7667, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 1.1, "color": "ffffffff", "curve": 0.258, "c3": 0.619, "c4": 0.45 },
{ "time": 1.2333, "color": "ffffffa1", "curve": 0.333, "c2": 0.33, "c3": 0.68, "c4": 0.71 },
{ "time": 1.5, "color": "ffffff00" }
]
},
"星星14": {
"color": [
{ "color": "ffffff7f", "curve": 0.375, "c2": 0.5, "c3": 0.75 },
{ "time": 0.1667, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 0.5, "color": "ffffff00", "curve": 0.25, "c3": 0.625, "c4": 0.5 },
{ "time": 0.6667, "color": "ffffff7f", "curve": 0.375, "c2": 0.5, "c3": 0.75 },
{ "time": 0.8333, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 1.1667, "color": "ffffff00", "curve": "stepped" },
{ "time": 1.5, "color": "ffffff00" }
]
},
"星星2": {
"color": [
{ "color": "ffffffdd", "curve": 0.375, "c2": 0.62, "c3": 0.716 },
{ "time": 0.0667, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 0.4, "color": "ffffff00", "curve": 0.243, "c3": 0.68, "c4": 0.71 },
{ "time": 0.6667, "color": "ffffffdd", "curve": 0.375, "c2": 0.62, "c3": 0.716 },
{ "time": 0.7333, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 1.0667, "color": "ffffff00", "curve": "stepped" },
{ "time": 1.5, "color": "ffffff00" }
]
},
"星星5": {
"color": [
{ "color": "ffffff21", "curve": 0.306, "c2": 0.24, "c3": 0.694, "c4": 0.76 },
{ "time": 0.2, "color": "ffffffdd", "curve": 0.375, "c2": 0.62, "c3": 0.716 },
{ "time": 0.2667, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 0.6, "color": "ffffff00", "curve": 0.243, "c3": 0.68, "c4": 0.71 },
{ "time": 0.8667, "color": "ffffffdd", "curve": 0.375, "c2": 0.62, "c3": 0.716 },
{ "time": 0.9333, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 1.2667, "color": "ffffff00", "curve": "stepped" },
{ "time": 1.5, "color": "ffffff00" }
]
},
"星星12": {
"color": [
{ "color": "ffffff7f", "curve": 0.375, "c2": 0.5, "c3": 0.75 },
{ "time": 0.1667, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 0.5, "color": "ffffff00", "curve": 0.25, "c3": 0.625, "c4": 0.5 },
{ "time": 0.6667, "color": "ffffff7f", "curve": 0.375, "c2": 0.5, "c3": 0.75 },
{ "time": 0.8333, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 1.1667, "color": "ffffff00", "curve": "stepped" },
{ "time": 1.5, "color": "ffffff00" }
]
},
"星星6": {
"color": [
{ "color": "ffffff7f", "curve": 0.375, "c2": 0.5, "c3": 0.75 },
{ "time": 0.1667, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 0.5, "color": "ffffff00", "curve": 0.25, "c3": 0.625, "c4": 0.5 },
{ "time": 0.6667, "color": "ffffff7f", "curve": 0.375, "c2": 0.5, "c3": 0.75 },
{ "time": 0.8333, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 1.1667, "color": "ffffff00", "curve": "stepped" },
{ "time": 1.5, "color": "ffffff00" }
]
},
"星星11": {
"color": [
{ "color": "ffffffdd", "curve": 0.375, "c2": 0.62, "c3": 0.716 },
{ "time": 0.0667, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 0.4, "color": "ffffff00", "curve": 0.243, "c3": 0.68, "c4": 0.71 },
{ "time": 0.6667, "color": "ffffffdd", "curve": 0.375, "c2": 0.62, "c3": 0.716 },
{ "time": 0.7333, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 1.0667, "color": "ffffff00", "curve": "stepped" },
{ "time": 1.5, "color": "ffffff00" }
]
},
"星星": {
"color": [
{ "color": "ffffffa1", "curve": 0.381, "c2": 0.55, "c3": 0.742 },
{ "time": 0.1333, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 0.4667, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.8, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 1.1333, "color": "ffffff00", "curve": "stepped" },
{ "time": 1.5, "color": "ffffff00" }
]
},
"星星15": {
"color": [
{ "color": "ffffffdd", "curve": 0.375, "c2": 0.62, "c3": 0.716 },
{ "time": 0.0667, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 0.4, "color": "ffffff00", "curve": 0.243, "c3": 0.68, "c4": 0.71 },
{ "time": 0.6667, "color": "ffffffdd", "curve": 0.375, "c2": 0.62, "c3": 0.716 },
{ "time": 0.7333, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 1.0667, "color": "ffffff00", "curve": "stepped" },
{ "time": 1.5, "color": "ffffff00" }
]
},
"星星4": {
"color": [
{ "color": "ffffffdd", "curve": 0.32, "c2": 0.29, "c3": 0.757 },
{ "time": 0.2667, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.6, "color": "ffffffff", "curve": 0.284, "c3": 0.625, "c4": 0.38 },
{ "time": 0.6667, "color": "ffffffdd", "curve": 0.32, "c2": 0.29, "c3": 0.757 },
{ "time": 0.9333, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 1.2667, "color": "ffffffff", "curve": 0.284, "c3": 0.625, "c4": 0.38 },
{ "time": 1.5, "color": "ffffff00" }
]
},
"星星7": {
"color": [
{ "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.3333, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 0.6667, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 1, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 1.5, "color": "ffffff00" }
]
},
"星星10": {
"color": [
{ "color": "ffffffdd", "curve": 0.32, "c2": 0.29, "c3": 0.757 },
{ "time": 0.2667, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.6, "color": "ffffffff", "curve": 0.284, "c3": 0.625, "c4": 0.38 },
{ "time": 0.6667, "color": "ffffffdd", "curve": 0.32, "c2": 0.29, "c3": 0.757 },
{ "time": 0.9333, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 1.2667, "color": "ffffffff", "curve": 0.284, "c3": 0.625, "c4": 0.38 },
{ "time": 1.5, "color": "ffffff00" }
]
},
"星星9": {
"color": [
{ "color": "ffffffa1", "curve": 0.363, "c2": 0.44, "c3": 0.755 },
{ "time": 0.2, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.5333, "color": "ffffffff", "curve": 0.258, "c3": 0.619, "c4": 0.45 },
{ "time": 0.6667, "color": "ffffffa1", "curve": 0.363, "c2": 0.44, "c3": 0.755 },
{ "time": 0.8667, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 1.2, "color": "ffffffff", "curve": 0.258, "c3": 0.619, "c4": 0.45 },
{ "time": 1.5, "color": "ffffff00" }
]
},
"星星3": {
"color": [
{ "color": "ffffffa1", "curve": 0.363, "c2": 0.44, "c3": 0.755 },
{ "time": 0.2, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.5333, "color": "ffffffff", "curve": 0.258, "c3": 0.619, "c4": 0.45 },
{ "time": 0.6667, "color": "ffffffa1", "curve": 0.363, "c2": 0.44, "c3": 0.755 },
{ "time": 0.8667, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 1.2, "color": "ffffffff", "curve": 0.258, "c3": 0.619, "c4": 0.45 },
{ "time": 1.5, "color": "ffffff00" }
]
},
"星星8": {
"color": [
{ "color": "ffffff21", "curve": 0.306, "c2": 0.24, "c3": 0.694, "c4": 0.76 },
{ "time": 0.2, "color": "ffffffdd", "curve": 0.375, "c2": 0.62, "c3": 0.716 },
{ "time": 0.2667, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 0.6, "color": "ffffff00", "curve": 0.243, "c3": 0.68, "c4": 0.71 },
{ "time": 0.8667, "color": "ffffffdd", "curve": 0.375, "c2": 0.62, "c3": 0.716 },
{ "time": 0.9333, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 1.2667, "color": "ffffff00", "curve": "stepped" },
{ "time": 1.5, "color": "ffffff00" }
]
}
},
"bones": {
"星星2": {
"translate": [
{ "y": -13.89, "curve": 0.25, "c3": 0.75 },
{ "time": 1.5, "y": -2.28 }
]
},
"星星": {
"translate": [
{ "y": -26.36, "curve": 0.25, "c3": 0.75 },
{ "time": 1.5, "y": -4.32 }
]
},
"星星3": {
"translate": [
{ "y": -59.6, "curve": 0.25, "c3": 0.75 },
{ "time": 1.5, "y": -9.77 }
]
},
"星星4": {
"translate": [
{ "y": -25.71, "curve": 0.25, "c3": 0.75 },
{ "time": 1.5, "y": -3.3 }
]
},
"星星5": {
"translate": [
{ "y": -12.62, "curve": 0.25, "c3": 0.75 },
{ "time": 1.5, "y": 12.33 }
]
},
"星星6": {
"translate": [
{ "y": -27.99, "curve": 0.25, "c3": 0.75 },
{ "time": 1.5, "y": -4.59 }
]
},
"星星7": {
"translate": [
{ "y": -43.02, "curve": 0.25, "c3": 0.75 },
{ "time": 1.5, "y": -7.05 }
]
},
"星星8": {
"translate": [
{ "y": -43.99, "curve": 0.25, "c3": 0.75 },
{ "time": 1.5, "y": -4.59 }
]
},
"星星9": {
"translate": [
{ "y": -41.26, "curve": 0.25, "c3": 0.75 },
{ "time": 1.5, "y": -6.77 }
]
},
"星星10": {
"translate": [
{ "y": -28.47, "curve": 0.25, "c3": 0.75 },
{ "time": 1.5, "y": -4.14 }
]
},
"星星11": {
"translate": [
{ "y": -35.93, "curve": 0.25, "c3": 0.75 },
{ "time": 1.5, "y": -5.89 }
]
},
"星星12": {
"translate": [
{ "y": -20.11, "curve": 0.25, "c3": 0.75 },
{ "time": 1.5, "y": -3.3 }
]
},
"星星13": {
"translate": [
{ "y": -41.26, "curve": 0.25, "c3": 0.75 },
{ "time": 1.5, "y": -6.77 }
]
},
"星星14": {
"translate": [
{ "y": -20.11, "curve": 0.25, "c3": 0.75 },
{ "time": 1.5, "y": -3.3 }
]
},
"星星15": {
"translate": [
{ "y": -27.99, "curve": 0.25, "c3": 0.75 },
{ "time": 1.5, "y": -4.59 }
]
}
}
}
}
}

@ -0,0 +1,10 @@
{
"ver": "1.2.5",
"uuid": "7ed0998a-87c7-4e08-b58a-cb0a69d5c6b8",
"importer": "spine",
"textures": [
"20a3a6f6-7e34-49ed-bf31-9acd59cad32b"
],
"scale": 1,
"subMetas": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "20a3a6f6-7e34-49ed-bf31-9acd59cad32b",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 54,
"height": 35,
"platformSettings": {},
"subMetas": {
"获取光效": {
"ver": "1.0.6",
"uuid": "5840914c-1abb-4a12-a147-632092b10233",
"importer": "sprite-frame",
"rawTextureUuid": "20a3a6f6-7e34-49ed-bf31-9acd59cad32b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 2,
"trimY": 2,
"width": 50,
"height": 31,
"rawWidth": 54,
"rawHeight": 35,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
Loading…
Cancel
Save