yangqiwen 2 months ago
parent c7a9a8da6f
commit 94f973ad38
  1. 1790
      assets/BoxTip/prefab/ShouYiEndTip.prefab
  2. 9
      assets/BoxTip/prefab/ShouYiEndTip.prefab.meta
  3. 890
      assets/BoxTip/prefab/ShouYiTip.prefab
  4. 9
      assets/BoxTip/prefab/ShouYiTip.prefab.meta
  5. 13
      assets/BoxTip/texture/ShouYiEndTip.meta
  6. BIN
      assets/BoxTip/texture/ShouYiEndTip/弹窗收益结束.png
  7. 38
      assets/BoxTip/texture/ShouYiEndTip/弹窗收益结束.png.meta
  8. BIN
      assets/BoxTip/texture/ShouYiEndTip/按钮延时.png
  9. 38
      assets/BoxTip/texture/ShouYiEndTip/按钮延时.png.meta
  10. BIN
      assets/BoxTip/texture/ShouYiEndTip/按钮重新抽取.png
  11. 38
      assets/BoxTip/texture/ShouYiEndTip/按钮重新抽取.png.meta
  12. 13
      assets/BoxTip/texture/ShouYiTip.meta
  13. BIN
      assets/BoxTip/texture/ShouYiTip/10倍 收益.png
  14. 38
      assets/BoxTip/texture/ShouYiTip/10倍 收益.png.meta
  15. BIN
      assets/BoxTip/texture/ShouYiTip/2倍 收益.png
  16. 38
      assets/BoxTip/texture/ShouYiTip/2倍 收益.png.meta
  17. BIN
      assets/BoxTip/texture/ShouYiTip/3倍 收益.png
  18. 38
      assets/BoxTip/texture/ShouYiTip/3倍 收益.png.meta
  19. BIN
      assets/BoxTip/texture/ShouYiTip/5倍 收益.png
  20. 38
      assets/BoxTip/texture/ShouYiTip/5倍 收益.png.meta
  21. BIN
      assets/BoxTip/texture/ShouYiTip/8倍 收益.png
  22. 38
      assets/BoxTip/texture/ShouYiTip/8倍 收益.png.meta
  23. BIN
      assets/BoxTip/texture/ShouYiTip/弹窗恭喜获得.png
  24. 38
      assets/BoxTip/texture/ShouYiTip/弹窗恭喜获得.png.meta
  25. 2
      assets/MainHall/prefab/MainHall.prefab
  26. 4
      assets/MultipleIncome/prefab/MultipleIncome.prefab
  27. 7260
      assets/PeopleLevelUp/prefab/PeopleLevelUp.prefab
  28. 13
      assets/PeopleLevelUp/texture/1.meta
  29. BIN
      assets/PeopleLevelUp/texture/1/升级.png
  30. 38
      assets/PeopleLevelUp/texture/1/升级.png.meta
  31. BIN
      assets/PeopleLevelUp/texture/1/升级条.png
  32. 38
      assets/PeopleLevelUp/texture/1/升级条.png.meta
  33. BIN
      assets/PeopleLevelUp/texture/1/已解锁框.png
  34. 38
      assets/PeopleLevelUp/texture/1/已解锁框.png.meta
  35. BIN
      assets/PeopleLevelUp/texture/1/弹窗.png
  36. 38
      assets/PeopleLevelUp/texture/1/弹窗.png.meta
  37. BIN
      assets/PeopleLevelUp/texture/1/按钮升级.png
  38. 38
      assets/PeopleLevelUp/texture/1/按钮升级.png.meta
  39. BIN
      assets/PeopleLevelUp/texture/1/晋升.png
  40. 38
      assets/PeopleLevelUp/texture/1/晋升.png.meta
  41. BIN
      assets/PeopleLevelUp/texture/1/晋升条.png
  42. 38
      assets/PeopleLevelUp/texture/1/晋升条.png.meta
  43. BIN
      assets/PeopleLevelUp/texture/1/未解锁.png
  44. 38
      assets/PeopleLevelUp/texture/1/未解锁.png.meta
  45. BIN
      assets/PeopleLevelUp/texture/1/油条.png
  46. 38
      assets/PeopleLevelUp/texture/1/油条.png.meta
  47. BIN
      assets/PeopleLevelUp/texture/1/油饼.png
  48. 38
      assets/PeopleLevelUp/texture/1/油饼.png.meta
  49. BIN
      assets/PeopleLevelUp/texture/1/炸球.png
  50. 38
      assets/PeopleLevelUp/texture/1/炸球.png.meta
  51. BIN
      assets/PeopleLevelUp/texture/1/煎饺.png
  52. 38
      assets/PeopleLevelUp/texture/1/煎饺.png.meta
  53. BIN
      assets/PeopleLevelUp/texture/1/鸡蛋.png
  54. 38
      assets/PeopleLevelUp/texture/1/鸡蛋.png.meta
  55. 103
      assets/Scripts/MainHall/MainHallBtn.ts
  56. 2
      assets/Scripts/MainScene/MainScene.ts
  57. 91
      assets/Scripts/Manager/ZaoCanManager.ts
  58. 10
      assets/Scripts/Manager/ZaoCanManager.ts.meta
  59. 30
      assets/Scripts/MultipleIncome/MultipleIncome.ts
  60. 124
      assets/Scripts/PeopleLevelUp/PeopleLevelUpScript.ts
  61. 62
      assets/Scripts/PeopleLevelUp/jiachengItem.ts
  62. 71
      assets/Scripts/PeopleLevelUp/zaocanItem.ts
  63. 10
      assets/Scripts/PeopleLevelUp/zaocanItem.ts.meta
  64. 4
      assets/Scripts/PrefabManager/PrefabManage.ts
  65. 50
      assets/Scripts/TuFaShiJian/ShouYiTip.ts
  66. 10
      assets/Scripts/TuFaShiJian/ShouYiTip.ts.meta

File diff suppressed because it is too large Load Diff

@ -0,0 +1,9 @@
{
"ver": "1.3.2",
"uuid": "533ac62e-acd3-4cde-840f-e5bd47681bb7",
"importer": "prefab",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}

@ -0,0 +1,890 @@
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false,
"readonly": false
},
{
"__type__": "cc.Node",
"_name": "ShouYiTip",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 7
}
],
"_active": true,
"_components": [
{
"__id__": 22
},
{
"__id__": 23
},
{
"__id__": 24
}
],
"_prefab": {
"__id__": 25
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 750,
"height": 1334
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
375,
667,
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": "maskBg",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 4
}
],
"_prefab": {
"__id__": 6
},
"_opacity": 120,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1100,
"height": 1800
},
"_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__": 2
},
"_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.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 5
}
],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": ""
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "78c176sw39JK4CcIvJjVL1O",
"handler": "onTouchClose",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "98ASD0N1FJuIqWwtQ02hdK",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 8
},
{
"__id__": 11
},
{
"__id__": 14
},
{
"__id__": 17
}
],
"_active": true,
"_components": [
{
"__id__": 20
}
],
"_prefab": {
"__id__": 21
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 495,
"height": 628
},
"_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": "img",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_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": 101,
"height": 112
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
67.252,
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__": 8
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a1b2ea44-bc4e-43f4-9d7c-5d39825e974e"
},
"_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": "49vpnBow9FXpjWQn34uNfW",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "New RichText",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 12
}
],
"_prefab": {
"__id__": 13
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 226.68,
"height": 63
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-155.174,
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.RichText",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
},
"_enabled": true,
"_fontFamily": "Arial",
"_isSystemFontUsed": true,
"_N$string": "<color=#ffffff>恭喜抽中</c><color=#c9904d>2倍收益</color>",
"_N$horizontalAlign": 0,
"_N$fontSize": 30,
"_N$font": null,
"_N$cacheMode": 0,
"_N$maxWidth": 0,
"_N$lineHeight": 50,
"_N$imageAtlas": null,
"_N$handleTouchEvent": true,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "b3PkZrMEpCvLkZlvHrAYgV",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "lab1",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
}
],
"_prefab": {
"__id__": 16
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 106,
"g": 154,
"b": 40,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 176.4,
"height": 31.5
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-197.17,
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__": 14
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "早餐摊收入:x2",
"_N$string": "早餐摊收入:x2",
"_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": "37FDKN55tCF5XGPBuXjhGy",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "lab2",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 18
}
],
"_prefab": {
"__id__": 19
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 106,
"g": 154,
"b": 40,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 226.4,
"height": 31.5
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-233.55,
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__": 17
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "出售早餐摊收益:x2",
"_N$string": "出售早餐摊收益:x2",
"_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": "bfh6MkkYNPiIhRxB6r27hp",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "dd8729a4-3709-4aa6-8ad4-1d8510eb3879"
},
"_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": "16GQw3bPBIlLno23jHhlWY",
"sync": false
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 750,
"_originalHeight": 1334,
"_id": ""
},
{
"__type__": "01b77kAaMhGwYzF5HlMABbp",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"_id": ""
},
{
"__type__": "78c176sw39JK4CcIvJjVL1O",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"sp": {
"__id__": 9
},
"richtext": {
"__id__": 12
},
"lab1": {
"__id__": 15
},
"lab2": {
"__id__": 18
},
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "",
"sync": false
}
]

@ -0,0 +1,9 @@
{
"ver": "1.3.2",
"uuid": "63f662fd-f63d-425c-a5ae-4d6c64a6b7bc",
"importer": "prefab",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}

@ -0,0 +1,13 @@
{
"ver": "1.1.3",
"uuid": "2c01532d-cfa4-4d69-b644-41a7971c2661",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "52548e71-b086-46cd-968c-04f7b39c9256",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 473,
"height": 414,
"platformSettings": {},
"subMetas": {
"弹窗收益结束": {
"ver": "1.0.6",
"uuid": "4d8cc059-e228-42e9-874b-e2acc097f44c",
"importer": "sprite-frame",
"rawTextureUuid": "52548e71-b086-46cd-968c-04f7b39c9256",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 473,
"height": 414,
"rawWidth": 473,
"rawHeight": 414,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "32ab3653-7b26-4de3-897d-11d580a1e648",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 157,
"height": 73,
"platformSettings": {},
"subMetas": {
"按钮延时": {
"ver": "1.0.6",
"uuid": "f1f6949e-46d1-4247-b4ea-2dbdf0c8e47c",
"importer": "sprite-frame",
"rawTextureUuid": "32ab3653-7b26-4de3-897d-11d580a1e648",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 157,
"height": 73,
"rawWidth": 157,
"rawHeight": 73,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "7a3faed1-6b71-41ca-8ab8-d5350948c41f",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 157,
"height": 66,
"platformSettings": {},
"subMetas": {
"按钮重新抽取": {
"ver": "1.0.6",
"uuid": "6e106245-a154-41b6-9399-0853657c26d2",
"importer": "sprite-frame",
"rawTextureUuid": "7a3faed1-6b71-41ca-8ab8-d5350948c41f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 157,
"height": 66,
"rawWidth": 157,
"rawHeight": 66,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

@ -0,0 +1,13 @@
{
"ver": "1.1.3",
"uuid": "37d0c712-4b98-4901-aae0-284f68e17bcd",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "0862bfa9-95f0-45df-b60d-a2e65b6b6a7d",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 111,
"height": 112,
"platformSettings": {},
"subMetas": {
"10倍 收益": {
"ver": "1.0.6",
"uuid": "b04c2839-e9ab-40ae-9808-35b9659a0780",
"importer": "sprite-frame",
"rawTextureUuid": "0862bfa9-95f0-45df-b60d-a2e65b6b6a7d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 111,
"height": 112,
"rawWidth": 111,
"rawHeight": 112,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "6366565b-a31d-4d6b-8a9d-29809baee5a9",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 101,
"height": 112,
"platformSettings": {},
"subMetas": {
"2倍 收益": {
"ver": "1.0.6",
"uuid": "a1b2ea44-bc4e-43f4-9d7c-5d39825e974e",
"importer": "sprite-frame",
"rawTextureUuid": "6366565b-a31d-4d6b-8a9d-29809baee5a9",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 101,
"height": 112,
"rawWidth": 101,
"rawHeight": 112,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "35f49ed4-c091-475a-968f-479414d887dc",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 101,
"height": 112,
"platformSettings": {},
"subMetas": {
"3倍 收益": {
"ver": "1.0.6",
"uuid": "069caf51-f17e-4971-82ec-4d984117fd1b",
"importer": "sprite-frame",
"rawTextureUuid": "35f49ed4-c091-475a-968f-479414d887dc",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 101,
"height": 112,
"rawWidth": 101,
"rawHeight": 112,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "bb79b6c3-eebe-49f3-b5fe-fcde65f60187",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 101,
"height": 112,
"platformSettings": {},
"subMetas": {
"5倍 收益": {
"ver": "1.0.6",
"uuid": "14937fda-a89e-4bd7-8c8e-0337a18f9efa",
"importer": "sprite-frame",
"rawTextureUuid": "bb79b6c3-eebe-49f3-b5fe-fcde65f60187",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 101,
"height": 112,
"rawWidth": 101,
"rawHeight": 112,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "34fc6856-564c-4be3-a35d-55b0c7f00adf",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 101,
"height": 112,
"platformSettings": {},
"subMetas": {
"8倍 收益": {
"ver": "1.0.6",
"uuid": "5f322c05-6995-4a71-a45a-d15a599f12da",
"importer": "sprite-frame",
"rawTextureUuid": "34fc6856-564c-4be3-a35d-55b0c7f00adf",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 101,
"height": 112,
"rawWidth": 101,
"rawHeight": 112,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "3b64b377-ccbf-47a8-a753-bc7ab9c98b18",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 495,
"height": 628,
"platformSettings": {},
"subMetas": {
"弹窗恭喜获得": {
"ver": "1.0.6",
"uuid": "dd8729a4-3709-4aa6-8ad4-1d8510eb3879",
"importer": "sprite-frame",
"rawTextureUuid": "3b64b377-ccbf-47a8-a753-bc7ab9c98b18",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 495,
"height": 628,
"rawWidth": 495,
"rawHeight": 628,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

@ -679,7 +679,7 @@
"__id__": 10
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 15

@ -1409,7 +1409,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 120,
"width": 104,
"height": 37.8
},
"_anchorPoint": {
@ -1463,7 +1463,7 @@
"_dstBlendFactor": 771,
"_string": "暂时不了",
"_N$string": "暂时不了",
"_fontSize": 30,
"_fontSize": 26,
"_lineHeight": 30,
"_enableWrapText": true,
"_N$file": null,

File diff suppressed because it is too large Load Diff

@ -0,0 +1,13 @@
{
"ver": "1.1.3",
"uuid": "65c8bf3c-18ab-41b6-9917-7d11e9ffc072",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 926 B

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "76d73b37-ff0f-43a7-bef5-4115f39787ed",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 28,
"height": 29,
"platformSettings": {},
"subMetas": {
"升级": {
"ver": "1.0.6",
"uuid": "5607a10e-b800-48fc-88c4-8663d4223fab",
"importer": "sprite-frame",
"rawTextureUuid": "76d73b37-ff0f-43a7-bef5-4115f39787ed",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 28,
"height": 29,
"rawWidth": 28,
"rawHeight": 29,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 469 B

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "8e421e3e-ad43-4cd3-a8a2-5f633078adf7",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 421,
"height": 61,
"platformSettings": {},
"subMetas": {
"升级条": {
"ver": "1.0.6",
"uuid": "a629e14e-8c86-463f-a1e6-cf0a144eb9b2",
"importer": "sprite-frame",
"rawTextureUuid": "8e421e3e-ad43-4cd3-a8a2-5f633078adf7",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 421,
"height": 61,
"rawWidth": 421,
"rawHeight": 61,
"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": "756840e3-9cbf-4c2b-ab22-83ff12929e06",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 92,
"height": 91,
"platformSettings": {},
"subMetas": {
"已解锁框": {
"ver": "1.0.6",
"uuid": "42a09cf7-bdb2-4a17-a0cd-3f239a82a4fe",
"importer": "sprite-frame",
"rawTextureUuid": "756840e3-9cbf-4c2b-ab22-83ff12929e06",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 92,
"height": 91,
"rawWidth": 92,
"rawHeight": 91,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "3908075d-74d7-4aef-b67c-26532d395039",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 625,
"height": 949,
"platformSettings": {},
"subMetas": {
"弹窗": {
"ver": "1.0.6",
"uuid": "6bc1e164-9239-4c70-a922-cbc398021903",
"importer": "sprite-frame",
"rawTextureUuid": "3908075d-74d7-4aef-b67c-26532d395039",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 625,
"height": 949,
"rawWidth": 625,
"rawHeight": 949,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "238db6c7-7b64-4b26-aeb2-5d450ebffd67",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 81,
"height": 52,
"platformSettings": {},
"subMetas": {
"按钮升级": {
"ver": "1.0.6",
"uuid": "0e89f6d5-1f5f-44d6-ba63-af3e663ab38c",
"importer": "sprite-frame",
"rawTextureUuid": "238db6c7-7b64-4b26-aeb2-5d450ebffd67",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 81,
"height": 52,
"rawWidth": 81,
"rawHeight": 52,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "0dfde449-6512-4e08-8f87-f0c26c82797b",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 45,
"height": 46,
"platformSettings": {},
"subMetas": {
"晋升": {
"ver": "1.0.6",
"uuid": "e0f21423-1f0d-4782-bcf5-495d43ebd7df",
"importer": "sprite-frame",
"rawTextureUuid": "0dfde449-6512-4e08-8f87-f0c26c82797b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 45,
"height": 46,
"rawWidth": 45,
"rawHeight": 46,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "4856dc3e-c578-4efe-9e47-f9f85b812a69",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 421,
"height": 61,
"platformSettings": {},
"subMetas": {
"晋升条": {
"ver": "1.0.6",
"uuid": "8c361576-eec9-4e0b-a799-b2c68a85bbc2",
"importer": "sprite-frame",
"rawTextureUuid": "4856dc3e-c578-4efe-9e47-f9f85b812a69",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 421,
"height": 61,
"rawWidth": 421,
"rawHeight": 61,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "52653370-257c-465a-b08d-4f42aa3bcf5a",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 97,
"height": 104,
"platformSettings": {},
"subMetas": {
"未解锁": {
"ver": "1.0.6",
"uuid": "ed152642-c1fb-47c9-b116-d127884df47c",
"importer": "sprite-frame",
"rawTextureUuid": "52653370-257c-465a-b08d-4f42aa3bcf5a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 97,
"height": 104,
"rawWidth": 97,
"rawHeight": 104,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "04f35e2d-c1bf-4d57-89b0-67a3af90d472",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 74,
"height": 48,
"platformSettings": {},
"subMetas": {
"油条": {
"ver": "1.0.6",
"uuid": "a662bc1b-fe2c-45cd-affb-168b0501c4e8",
"importer": "sprite-frame",
"rawTextureUuid": "04f35e2d-c1bf-4d57-89b0-67a3af90d472",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 74,
"height": 48,
"rawWidth": 74,
"rawHeight": 48,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "ad62f7e3-3ec2-4674-b3dc-197313411b89",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 108,
"height": 84,
"platformSettings": {},
"subMetas": {
"油饼": {
"ver": "1.0.6",
"uuid": "700b009f-6924-48c5-ae15-9b3650f3fad6",
"importer": "sprite-frame",
"rawTextureUuid": "ad62f7e3-3ec2-4674-b3dc-197313411b89",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 108,
"height": 84,
"rawWidth": 108,
"rawHeight": 84,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "5dda7639-a745-42a2-9685-02b1c0cdf673",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 51,
"height": 52,
"platformSettings": {},
"subMetas": {
"炸球": {
"ver": "1.0.6",
"uuid": "9fcfee23-129e-4a44-bbe1-be35da5d8a08",
"importer": "sprite-frame",
"rawTextureUuid": "5dda7639-a745-42a2-9685-02b1c0cdf673",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 51,
"height": 52,
"rawWidth": 51,
"rawHeight": 52,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "732a1164-6adf-470e-845c-30d0660c18c2",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 57,
"height": 44,
"platformSettings": {},
"subMetas": {
"煎饺": {
"ver": "1.0.6",
"uuid": "16487c4c-2290-4b76-a1ee-c41a0877a6cd",
"importer": "sprite-frame",
"rawTextureUuid": "732a1164-6adf-470e-845c-30d0660c18c2",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 57,
"height": 44,
"rawWidth": 57,
"rawHeight": 44,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "e773fe1f-1cdf-4ace-ac85-685ce0ecda97",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 42,
"height": 52,
"platformSettings": {},
"subMetas": {
"鸡蛋": {
"ver": "1.0.6",
"uuid": "b9901dae-1acb-40f2-811f-7e3708031011",
"importer": "sprite-frame",
"rawTextureUuid": "e773fe1f-1cdf-4ace-ac85-685ce0ecda97",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 42,
"height": 52,
"rawWidth": 42,
"rawHeight": 52,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

@ -717,7 +717,7 @@ export default class MainHallBtn extends cc.Component {
clickShuXingBtnEvent() {
//Common5.playEffect("sound/按键点击")
PrefabManage.loadPrefabByType(GameType.PeopleLevelUp)
PrefabManage.loadPrefabByType(GameType.Setting)
}
clickAddDeskBtnEvent() {
@ -903,7 +903,7 @@ export default class MainHallBtn extends cc.Component {
showBoxTips() {
let num = User.getShouyiFanbeiNum()
PrefabManage.loadPrefabByType(GameType.BoxTipNode, null, (prefab) => {
PrefabManage.loadPrefabByType(GameType.ShouYiEndTip, null, (prefab) => {
prefab.getComponent('BoxTipScript').setViewData(2, `${num}倍收益即将结束,您可以选择延时五分钟或者重新抽取`, () => {
PrefabManage.loadPrefabByType(GameType.MultipleIncome)
}, () => {
@ -1319,56 +1319,57 @@ export default class MainHallBtn extends cc.Component {
}
levelUpClickEvent() {
Common5.playRemoteAudioEffect('sound/diandiandian/升级音效')
let myMoney = UserManager.getCurMoney()
let levelUpSpned = LevelUpManager.levelUpSpned()
if (myMoney - levelUpSpned >= 0) {
UserManager.subMoney(levelUpSpned)
let dataPro = LevelUpManager.peopleLevelUp(1)
if (dataPro) {
PrefabManage.loadPrefabByType(GameType.JieSuoPro, null, (prefab) => {
prefab.getComponent('JieSuoPro').setViewData(dataPro)
})
} else {
}
} else {
let tab = {
onClose: (finish) => {
if (finish) {
User.setShowAdNum(User.getShowAdNum() + 1)
Common5.ReportDY("inLevel", `任务${TaskManager.getCurUnLockMainTaskId()}-AD-升级界面升级`)
// Common5.ReportDY("inLevel", "升级界面-AD-升级");
// 看视频提升等级规则,300级前看视频提升5级,300-900级提升2级,900级以上提升1级
let level = 5
if (User.getMyLevel() < 600) {
level = 5
} else if (User.getMyLevel() >= 600 && User.getMyLevel() < 900) {
level = 3
} else {
level = 2
}
let dataPro = LevelUpManager.peopleLevelUp(level)
if (dataPro) {
PrefabManage.loadPrefabByType(GameType.JieSuoPro, null, (prefab) => {
prefab.getComponent('JieSuoPro').setViewData(dataPro)
})
} else {
}
}
else {
Common5.showTips_custom("广告未观看完");
}
}, onFailed: () => {
PrefabManage.loadPrefabByType(GameType.PeopleLevelUp)
// Common5.playRemoteAudioEffect('sound/diandiandian/升级音效')
// let myMoney = UserManager.getCurMoney()
// let levelUpSpned = LevelUpManager.levelUpSpned()
// if (myMoney - levelUpSpned >= 0) {
// UserManager.subMoney(levelUpSpned)
// let dataPro = LevelUpManager.peopleLevelUp(1)
// if (dataPro) {
// PrefabManage.loadPrefabByType(GameType.JieSuoPro, null, (prefab) => {
// prefab.getComponent('JieSuoPro').setViewData(dataPro)
// })
// } else {
}
}
AppPlatform.playVideo_custom(tab)
}
// }
// } else {
// let tab = {
// onClose: (finish) => {
// if (finish) {
// User.setShowAdNum(User.getShowAdNum() + 1)
// Common5.ReportDY("inLevel", `任务${TaskManager.getCurUnLockMainTaskId()}-AD-升级界面升级`)
// // Common5.ReportDY("inLevel", "升级界面-AD-升级");
// // 看视频提升等级规则,300级前看视频提升5级,300-900级提升2级,900级以上提升1级
// let level = 5
// if (User.getMyLevel() < 600) {
// level = 5
// } else if (User.getMyLevel() >= 600 && User.getMyLevel() < 900) {
// level = 3
// } else {
// level = 2
// }
// let dataPro = LevelUpManager.peopleLevelUp(level)
// if (dataPro) {
// PrefabManage.loadPrefabByType(GameType.JieSuoPro, null, (prefab) => {
// prefab.getComponent('JieSuoPro').setViewData(dataPro)
// })
// } else {
// }
// }
// else {
// Common5.showTips_custom("广告未观看完");
// }
// }, onFailed: () => {
// }
// }
// AppPlatform.playVideo_custom(tab)
// }

@ -555,7 +555,7 @@ export default class MainScene extends cc.Component {
showBoxTips() {
let num = User.getShouyiFanbeiNum()
PrefabManage.loadPrefabByType(GameType.BoxTipNode, null, (prefab) => {
PrefabManage.loadPrefabByType(GameType.ShouYiEndTip, null, (prefab) => {
prefab.getComponent('BoxTipScript').setViewData(2, `${num}倍收益已结束,您可以选择延时五分钟或者重新抽取`, () => {
PrefabManage.loadPrefabByType(GameType.MultipleIncome)
}, () => {

@ -0,0 +1,91 @@
// 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 User from "../../FrameWork/User/User"
import BagManager from "./BagManager"
let zaocanConfig = [
{ id: 0, zancan: ['馒头', '肉包', '烧卖', '红薯'], needLevel: [1, 5, 10, 20], initPrice: 100, jiacheng: [1, 2, 3, 4] },
{ id: 1, zancan: ['鸡蛋', '茶叶蛋', '玉米', '西兰花'], needLevel: [1, 5, 10, 20], initPrice: 100, jiacheng: [1, 2, 3, 4] },
{ id: 2, zancan: ['饺子', '韭菜盒子', '鸡蛋饼', '牛排'], needLevel: [1, 5, 10, 20], initPrice: 100, jiacheng: [1, 2, 3, 4] },
{ id: 3, zancan: ['油条', '麻球', '油饼', '鸡腿'], needLevel: [1, 5, 10, 20], initPrice: 100, jiacheng: [1, 2, 3, 4] },
{ id: 4, zancan: ['豆浆', '小米粥', '燕麦', '咖啡机'], needLevel: [1, 5, 10, 20], initPrice: 100, jiacheng: [1, 2, 3, 4] },
]
//食谱
export default class ZaoCanManager {
public static getManagerConfigDate() {
return zaocanConfig
}
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 getCurNameById(id) {
let config = zaocanConfig[id]
let level = User.getMyLevel()
let name = config.zancan[0]
for (let i = 0; i < config.needLevel.length; i++) {
let _needLevel = config.needLevel[i];
if (level <= _needLevel) {
name = config.zancan[i]
}
}
//大于最大的
if (level >= config.needLevel[config.needLevel.length - 1]) {
name = config.zancan[config.zancan.length - 1]
}
return name
}
/**
*
*/
public static getAllZaoCan() {
let all = []
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]) {
all.push({ name: zaocanConfig[i].zancan[j], addPercent: zaocanConfig[i].jiacheng[j] })
}
}
}
return all
}
}

@ -0,0 +1,10 @@
{
"ver": "1.1.0",
"uuid": "7459fd2b-8721-40f0-9479-41b433644acc",
"importer": "typescript",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}

@ -262,8 +262,8 @@ export default class MultipleIncome extends UiBase {
self.scheduleOnce(function () {
//开启倒计时
self.isAnimEnd = false
PrefabManage.loadPrefabByType(GameType.BoxTipNode, null, (prefab) => {
prefab.getComponent('BoxTipScript').setViewData(2, `恭喜抽中${amount}倍收益,所有收益翻倍`, () => {
PrefabManage.loadPrefabByType(GameType.ShouYiTip, null, (prefab) => {
prefab.getComponent('ShouYiTip').setViewData(amount, () => {
User.setShouyiFanbeiNum(amount)
let time = User.getShouyiFanbeiTime()
if (User.getZhuanPanFree()) {
@ -281,9 +281,31 @@ export default class MultipleIncome extends UiBase {
self.choujiangAnim()
})
prefab.getComponent('BoxTipScript').setBtnStr('领 取', '抽10倍')
prefab.getComponent('BoxTipScript').setTitleView(true)
// prefab.getComponent('BoxTipScript').setBtnStr('领 取', '抽10倍')
// prefab.getComponent('BoxTipScript').setTitleView(true)
})
// PrefabManage.loadPrefabByType(GameType.BoxTipNode, null, (prefab) => {
// prefab.getComponent('BoxTipScript').setViewData(2, `恭喜抽中${amount}倍收益,所有收益翻倍`, () => {
// User.setShouyiFanbeiNum(amount)
// let time = User.getShouyiFanbeiTime()
// if (User.getZhuanPanFree()) {
// User.setZhuanPanFree(false)
// User.setShouyiFanbeiTime(self.maxTimeD + time)
// } else {
// User.setShouyiFanbeiTime(self.maxTime + time)
// }
// EventMgr.emitEvent_custom(ryw_Event.MultipleIncomeEvent)
// self.closeView()
// }, () => {
// Common5.ReportDY("inLevel", "收益翻倍-AD-10倍");
// self.isMaxMultiple = true
// self.choujiangAnim()
// })
// prefab.getComponent('BoxTipScript').setBtnStr('领 取', '抽10倍')
// prefab.getComponent('BoxTipScript').setTitleView(true)
// })
}, clickTimes2 - 2);
}

@ -18,16 +18,21 @@ import MiShuManager from "../Manager/MiShuManager";
import TanWeiManager from "../Manager/TanWeiManager";
import UserManager from "../Manager/UserManager";
import ZaoCanManager from "../Manager/ZaoCanManager";
import NewGuideScript from "../NewGuide/NewGuideScript";
import PrefabManage, { GameType } from "../PrefabManager/PrefabManage";
import jiachengItem from "./jiachengItem";
import zaocanItem from "./zaocanItem";
const { ccclass, property } = cc._decorator;
@ccclass
export default class PeopleLevelUpScript extends UiBase {
@property(cc.RichText)
levelAndChengHao: cc.RichText = null;
@property(cc.Label)
levelLabel: cc.Label = null;
@ -49,6 +54,12 @@ export default class PeopleLevelUpScript extends UiBase {
@property(cc.Label)
shipuPercentLab: cc.Label = null;
@property(List)
listZc: List = null; //早餐
@property(List)
listJc: List = null; //早餐加成
@property(List)
listMs: List = null; //秘书
@ -71,6 +82,8 @@ export default class PeopleLevelUpScript extends UiBase {
// LIFE-CYCLE CALLBACKS:
dataListZc = []
dataListJc = []
dataListMs = []
dataListQy = []
// onLoad () {}
@ -84,9 +97,11 @@ export default class PeopleLevelUpScript extends UiBase {
let headSpr = this.node.getChildByName("头像").getComponent(cc.Sprite)
Common5.addUrlSprite_custom("head/" + User.getHeadImg(), headSpr);
this.scheduleOnce(() => {
this.setChengHaoJiaCheng()
this.setListM()
this.setListQ()
this.setListZaoCan()
this.setListJc()
// this.setChengHaoJiaCheng()
// this.setListM()
// this.setListQ()
}, 0.1)
this.refreshView()
@ -129,15 +144,15 @@ export default class PeopleLevelUpScript extends UiBase {
//let clickInComeMoney = LevelUpManager.clickInComeMoney()
let isMaxLevel = LevelUpManager.isPeopleLevelUpMax()
let myMoney = UserManager.getCurMoney()
if (myMoney - levelUpSpned >= 0) {
this.redPoint.active = true
this.adBtn.active = false
this.adBtnLab.string = '升级'
} else {
this.redPoint.active = false
this.adBtn.active = true
this.adBtnLab.string = '升级+5'
}
// if (myMoney - levelUpSpned >= 0) {
// this.redPoint.active = true
// this.adBtn.active = false
// this.adBtnLab.string = '升级'
// } else {
// this.redPoint.active = false
// this.adBtn.active = true
// this.adBtnLab.string = '升级+5'
// }
if (isMaxLevel) {
this.shengjiBtn.active = false
@ -154,8 +169,9 @@ export default class PeopleLevelUpScript extends UiBase {
// if(clickIncomeNum == 0){
// clickIncomeNum = 1
// }
this.levelLabel.string = '等级:Lv.' + level + ' '
this.chenghaoLabel.string = '称号:' + chenghao
this.levelAndChengHao.string = `<color=#cd4e25><bold>Lv.${level}</c><color=#4e6d18><bold> ${chenghao}</color>`
// this.levelLabel.string = '等级:Lv.' + level + ' '
// this.chenghaoLabel.string = '称号:' + chenghao
// if(jiachengGY!=0){
// clickInComeMoney = clickInComeMoney*(1+jiachengGY)
// }
@ -174,27 +190,27 @@ export default class PeopleLevelUpScript extends UiBase {
this.shipuPercentLab.string = strNum2 + '%'
this.chenghaoPercentLab.string = Math.ceil(jiachengCh * 100) + '%'
let chenghaoid = LevelUpManager.getChengHaoId()
let x = 142.9
let y = 61.3
let light = this.chenghao.getChildByName("kuang").getChildByName("light")
if (chenghaoid == 0) {
light.position = cc.v3(-x, y)
} else if (chenghaoid == 1) {
light.position = cc.v3(x, y)
} else if (chenghaoid == 2) {
light.position = cc.v3(-x, y - 41)
} else if (chenghaoid == 3) {
light.position = cc.v3(x, y - 41)
} else if (chenghaoid == 4) {
light.position = cc.v3(-x, y - 82)
} else if (chenghaoid == 5) {
light.position = cc.v3(x, y - 82)
} else if (chenghaoid == 6) {
light.position = cc.v3(-x, y - 123)
} else if (chenghaoid == 7) {
light.position = cc.v3(x, y - 123)
}
// let chenghaoid = LevelUpManager.getChengHaoId()
// let x = 142.9
// let y = 61.3
// let light = this.chenghao.getChildByName("kuang").getChildByName("light")
// if (chenghaoid == 0) {
// light.position = cc.v3(-x, y)
// } else if (chenghaoid == 1) {
// light.position = cc.v3(x, y)
// } else if (chenghaoid == 2) {
// light.position = cc.v3(-x, y - 41)
// } else if (chenghaoid == 3) {
// light.position = cc.v3(x, y - 41)
// } else if (chenghaoid == 4) {
// light.position = cc.v3(-x, y - 82)
// } else if (chenghaoid == 5) {
// light.position = cc.v3(x, y - 82)
// } else if (chenghaoid == 6) {
// light.position = cc.v3(-x, y - 123)
// } else if (chenghaoid == 7) {
// light.position = cc.v3(x, y - 123)
// }
}
setChengHaoJiaCheng() {
@ -212,6 +228,40 @@ export default class PeopleLevelUpScript extends UiBase {
this.listMs.numItems = this.dataListMs.length;
}
setListZaoCan() {
let zaocanConfig = ZaoCanManager.getManagerConfigDate()
this.dataListZc = []
for (let i = 0; i < zaocanConfig.length; i++) {
this.dataListZc.push(i)
}
this.listZc.numItems = this.dataListZc.length;
}
onListZaoCanGridRender(item: cc.Node, idx: number) {
let index = this.dataListZc[idx]
let zaocanConfig = ZaoCanManager.getManagerConfigDate()
let _zaocanItem: zaocanItem = item.getComponent(zaocanItem)
_zaocanItem.setViewDate(zaocanConfig[index])
}
setListJc() {
let zaocanConfig = ZaoCanManager.getAllZaoCan()
this.dataListJc = []
for (let i = 0; i < zaocanConfig.length; i++) {
this.dataListJc.push(i)
}
this.listJc.numItems = this.dataListJc.length;
}
onListJcGridRender(item: cc.Node, idx: number) {
let index = this.dataListJc[idx]
let getAllZaoCan = ZaoCanManager.getAllZaoCan()
let _jcItem: jiachengItem = item.getComponent(jiachengItem)
_jcItem.setViewDate(getAllZaoCan[index], '早餐加成')
}
setListQ() {
let configs = TanWeiManager.getManagerConfigDate()
@ -259,6 +309,8 @@ export default class PeopleLevelUpScript extends UiBase {
} else {
}
this.setListZaoCan()
this.setListJc()
} else {
let tab = {
onClose: (finish) => {
@ -274,7 +326,7 @@ export default class PeopleLevelUpScript extends UiBase {
} else {
}
this.setListZaoCan()
}
else {

@ -10,7 +10,7 @@ import MiShuManager from "../Manager/MiShuManager";
import ShipuManager from "../Manager/ShipuManager";
import TanWeiManager from "../Manager/TanWeiManager";
const {ccclass, property} = cc._decorator;
const { ccclass, property } = cc._decorator;
@ccclass
export default class jiachengItem extends cc.Component {
@ -28,75 +28,79 @@ export default class jiachengItem extends cc.Component {
gameType = 'mishu' //tanwei
// onLoad () {}
start () {
start() {
}
setViewDate(config, gameType){
setViewDate(config, gameType) {
this.config = config
this.gameType = gameType
this.refreshView()
}
refreshView(){
let str = Common5.getNumberChangeHanzi(this.config.addPercent*100)
this.jiachengPercent.string = str+'%'
if( this.config.name == '习婉工'){
}
refreshView() {
let str = Common5.getNumberChangeHanzi(this.config.addPercent * 100)
this.jiachengPercent.string = str + '%'
if (this.config.name == '习婉工') {
this.nameLabel.string = '席婉工'
}else{
this.nameLabel.string = this.config.name
} else {
this.nameLabel.string = this.config.name
}
if(this.gameType=='mishu'){
if (this.gameType == 'mishu') {
let isChangeColor = MiShuManager.getMishuClickInCome(this.config.mishuId)
if(isChangeColor){
if (isChangeColor) {
//亮色
//#D76363
this.nameLabel.node.color = new cc.Color().fromHEX("#D76363")
this.headImg.node.color = new cc.Color().fromHEX("#ffffff")
this.jiachengPercent.node.color = new cc.Color().fromHEX("#D76363")
}else{
} else {
//huise #1F1F1F
this.nameLabel.node.color = new cc.Color().fromHEX("#1F1F1F")
this.headImg.node.color = new cc.Color().fromHEX("#646464")
this.jiachengPercent.node.color = new cc.Color().fromHEX("#1F1F1F")
}
if(this.config.name == '茜滢'){
if (this.config.name == '茜滢') {
Common5.addUrlSprite_custom("mishuHead/茜滢2", this.headImg)
}else{
Common5.addUrlSprite_custom('mishuHead/'+this.config.name, this.headImg)
} else {
Common5.addUrlSprite_custom('mishuHead/' + this.config.name, this.headImg)
}
}else if(this.gameType=='tanwei'){
} else if (this.gameType == 'tanwei') {
let isChangeColor = TanWeiManager.getShipuClickInCome(this.config.id)
if(isChangeColor){
if (isChangeColor) {
//亮色
//#D76363
this.nameLabel.node.color = new cc.Color().fromHEX("#D76363")
this.headImg.node.color = new cc.Color().fromHEX("#ffffff")
this.jiachengPercent.node.color = new cc.Color().fromHEX("#D76363")
}else{
} else {
//huise #1F1F1F
this.nameLabel.node.color = new cc.Color().fromHEX("#1F1F1F")
this.headImg.node.color = new cc.Color().fromHEX("#646464")
this.jiachengPercent.node.color = new cc.Color().fromHEX("#1F1F1F")
}
Common5.addUrlSprite_custom('tanweiTexture/icon/'+this.config.name, this.headImg)
Common5.addUrlSprite_custom('tanweiTexture/icon/' + this.config.name, this.headImg)
} else if (this.gameType == '早餐加成') {
let name = '炸球' //this.config.name
Common5.getSpriteFrameFromBundle("PeopleLevelUp", 'texture/1/' + name, this.headImg)
// Common5.addUrlSprite_custom('tanweiTexture/icon/' + this.config.name, this.headImg)
}
}

@ -0,0 +1,71 @@
// 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 Common5 from "../../Platform/th/Common5";
import MiShuManager from "../Manager/MiShuManager";
import ShipuManager from "../Manager/ShipuManager";
import TanWeiManager from "../Manager/TanWeiManager";
import ZaoCanManager from "../Manager/ZaoCanManager";
const { ccclass, property } = cc._decorator;
@ccclass
export default class zaocanItem extends cc.Component {
@property(cc.Label)
nameLabel: cc.Label = null;
@property(cc.Sprite)
icon: cc.Sprite = null;
@property(cc.Label)
price_1: cc.Label = null;
@property(cc.Label)
price_2: cc.Label = null;
// LIFE-CYCLE CALLBACKS:
config = null
// onLoad () {}
start() {
}
setViewDate(config) {
this.config = config
this.refreshView()
}
refreshView() {
let name = ZaoCanManager.getCurNameById(this.config.id)
// Common5.getSpriteFrameFromBundle("PeopleLevelUp", 'texture/1/' + name, this.icon)
Common5.getSpriteFrameFromBundle("PeopleLevelUp", 'texture/1/' + '炸球', this.icon)
this.nameLabel.string = name
this.price_1.string = `售价:${ZaoCanManager.getCurPriceById(this.config.id)}`
this.price_2.string = `${ZaoCanManager.getNextPriceById(this.config.id)}`
if (this.config.id % 2 == 0) {
this.node.getChildByName("升级条").active = true
} else {
this.node.getChildByName("升级条").active = false
}
this.node.getChildByName("晋升条").active = false
this.node.getChildByName("晋升").active = false
this.price_1.node.getChildByName("晋升").active = false
let isCanLevelUp = ZaoCanManager.isCanLevelUpById(this.config.id)
if (isCanLevelUp) {
this.node.getChildByName("晋升条").active = true
this.node.getChildByName("晋升").active = true
this.price_1.node.getChildByName("晋升").active = true
}
}
// update (dt) {}
}

@ -0,0 +1,10 @@
{
"ver": "1.1.0",
"uuid": "0c5d5748-53e4-4ac2-97fb-c7a61b3dde7b",
"importer": "typescript",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}

@ -68,6 +68,8 @@ export enum GameType {
lixianReward,
PaiHangBang,
BoxTipNode,
ShouYiEndTip,
ShouYiTip,
CityPrefab,
JuQingStart,
JuQingRoom2,
@ -297,6 +299,8 @@ let AllPrefabConfig = [
{ desc: "排行榜", cityNodeName: '排行榜', gameType: GameType.PaiHangBang, bundleName: "PaiHangBang", prefabUrl: "prefab/PaiHangBang", dadianTag: '排行榜-进入', wanJiaDaDianTag: "排行榜-玩家", isNeedLoading: true },
{ desc: "提示框", cityNodeName: '提示框', gameType: GameType.BoxTipNode, bundleName: "BoxTip", prefabUrl: "prefab/BoxTip", dadianTag: '提示框-进入', wanJiaDaDianTag: "提示框-玩家", isNeedLoading: true },
{ desc: "收益结束提示框", cityNodeName: '提示框', gameType: GameType.ShouYiEndTip, bundleName: "BoxTip", prefabUrl: "prefab/ShouYiEndTip", dadianTag: '收益结束提示框-进入', wanJiaDaDianTag: "收益结束提示框-玩家", isNeedLoading: true },
{ desc: "收益提示框", cityNodeName: '提示框', gameType: GameType.ShouYiTip, bundleName: "BoxTip", prefabUrl: "prefab/ShouYiTip", dadianTag: '收益提示框-进入', wanJiaDaDianTag: "收益提示框-玩家", isNeedLoading: true },
{ desc: "城市", cityNodeName: '城市', gameType: GameType.CityPrefab, bundleName: "CityPrefab", prefabUrl: "prefab/CityPrefab", dadianTag: '城市-进入', wanJiaDaDianTag: "城市-玩家", isNeedLoading: true },
{ desc: "剧情开始", cityNodeName: '剧情开始', gameType: GameType.JuQingStart, bundleName: "JuQingStart", prefabUrl: "prefab/JuQingStart", dadianTag: '剧情开始-进入', wanJiaDaDianTag: "剧情开始-玩家", isNeedLoading: true },

@ -0,0 +1,50 @@
// 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 AppPlatform from "../../FrameWork/Util/AppPlatform";
import Common5 from "../../Platform/th/Common5";
import UiBase from "../GameBase/UiBase";
const { ccclass, property } = cc._decorator;
@ccclass
export default class ShouYiTip extends UiBase {
@property(cc.Sprite)
sp: cc.Sprite = null;
@property(cc.RichText)
richtext: cc.RichText = null;
@property(cc.Label)
lab1: cc.Label = null;
@property(cc.Label)
lab2: cc.Label = null;
// LIFE-CYCLE CALLBACKS:
// onLoad () {}
sureCallFunc = null
adCallFunc = null
closeFunc = null
start() {
}
setViewData(beishu, sureCallFunc?, adCallFunc?) {
Common5.getSpriteFrameFromBundle("BoxTip", "texture/ShouYiTip/" + beishu + "倍 收益", this.sp)
this.richtext.string = `<color=#ffffff>恭喜抽中</c><color=#c9904d>${beishu}倍收益</color>`
this.lab1.string = "早餐摊收入:x" + beishu
this.lab2.string = "出售早餐收益:x" + beishu
this.sureCallFunc = sureCallFunc
this.adCallFunc = adCallFunc
}
onTouchClose(){
this.sureCallFunc && this.sureCallFunc()
this.closeUi()
}
// update (dt) {}
}

@ -0,0 +1,10 @@
{
"ver": "1.1.0",
"uuid": "78c17eac-c37f-492b-809c-22f26354bd4e",
"importer": "typescript",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
Loading…
Cancel
Save