yangqiwen 5 months ago
parent d4e67f5f80
commit f48422d3ee
  1. BIN
      assets/CommonRes/sound/点击.mp3
  2. 8
      assets/CommonRes/sound/点击.mp3.meta
  3. 13
      assets/CommonRes/spine/未完成.meta
  4. 1
      assets/CommonRes/spine/未完成/.WeDrive
  5. 20
      assets/CommonRes/spine/未完成/未完成.atlas
  6. 6
      assets/CommonRes/spine/未完成/未完成.atlas.meta
  7. 69
      assets/CommonRes/spine/未完成/未完成.json
  8. 10
      assets/CommonRes/spine/未完成/未完成.json.meta
  9. BIN
      assets/CommonRes/spine/未完成/未完成.png
  10. 38
      assets/CommonRes/spine/未完成/未完成.png.meta
  11. 2
      assets/GameRes/侧边栏/prefab/Cebianlan.prefab
  12. BIN
      assets/GameRes/侧边栏/入口有奖.png
  13. 8
      assets/GameRes/侧边栏/入口有奖.png.meta
  14. 1380
      assets/MainHall/prefab/MainHall.prefab
  15. 4
      assets/MainScene/MainScene.fire
  16. 2
      assets/Platform/th/TouchSpineScript.ts
  17. 12
      assets/Scripts/DH/DH_1.ts
  18. 38
      assets/Scripts/DH/DH_3.ts
  19. 12
      assets/Scripts/DH/DH_4.ts
  20. 29
      assets/Scripts/DH/DH_5.ts
  21. 8
      assets/Scripts/GameRoomRes/Room2/Room2.ts
  22. 4
      assets/Scripts/GameStoryRes/KaiChangGuanQia1Gai.ts
  23. 64
      assets/Scripts/MainHall/MainHall.ts
  24. 66
      assets/Scripts/MainHall/MainHallBtn.ts
  25. 4
      assets/Scripts/Manager/MiShuManager.ts
  26. 18
      assets/Scripts/Manager/ZaoCanManager.ts
  27. 6
      assets/Scripts/SCommon/MoneyFlyEffect.ts
  28. 309
      assets/Scripts/ZaoCanDian/ZaoCanDian.ts
  29. 17
      assets/Scripts/ZaoCanDian/ZaoCanDianNpc.ts
  30. 2565
      assets/ZaoCanDian/prefab/ZaoCanDian.prefab
  31. 12
      assets/ZaoCanDian/prefab/ZaoCanDianNpc.prefab
  32. BIN
      assets/ZaoCanDian/res/icon/油条.png
  33. 38
      assets/ZaoCanDian/res/icon/油条.png.meta
  34. BIN
      assets/ZaoCanDian/res/icon/煎鸡蛋.png
  35. 38
      assets/ZaoCanDian/res/icon/煎鸡蛋.png.meta
  36. 0
      assets/ZaoCanDian/res/icon/燕麦粥.png
  37. 38
      assets/ZaoCanDian/res/icon/燕麦粥.png.meta
  38. 0
      assets/ZaoCanDian/res/icon/葱油饼.png
  39. 8
      assets/ZaoCanDian/res/icon/葱油饼.png.meta
  40. BIN
      assets/ZaoCanDian/res/icon/豆浆.png
  41. 8
      assets/ZaoCanDian/res/icon/豆浆.png.meta
  42. BIN
      assets/ZaoCanDian/res/icon/馒头.png
  43. 38
      assets/ZaoCanDian/res/icon/馒头.png.meta
  44. BIN
      assets/ZaoCanDian/res/icon/鸡蛋.png
  45. 38
      assets/ZaoCanDian/res/icon/鸡蛋.png.meta
  46. 13
      assets/ZaoCanDian/sound.meta
  47. 13
      assets/ZaoCanDian/sound/油锅.meta
  48. BIN
      assets/ZaoCanDian/sound/油锅/油炸.mp3
  49. 8
      assets/ZaoCanDian/sound/油锅/油炸.mp3.meta
  50. 13
      assets/ZaoCanDian/sound/煎锅.meta
  51. BIN
      assets/ZaoCanDian/sound/煎锅/煎东西.mp3
  52. 8
      assets/ZaoCanDian/sound/煎锅/煎东西.mp3.meta
  53. 13
      assets/ZaoCanDian/sound/煮锅.meta
  54. BIN
      assets/ZaoCanDian/sound/煮锅/煮东西.mp3
  55. 8
      assets/ZaoCanDian/sound/煮锅/煮东西.mp3.meta
  56. 13
      assets/ZaoCanDian/sound/蒸笼.meta
  57. BIN
      assets/ZaoCanDian/sound/蒸笼/出锅.mp3
  58. 8
      assets/ZaoCanDian/sound/蒸笼/出锅.mp3.meta
  59. BIN
      assets/ZaoCanDian/sound/蒸笼/放饺子.mp3
  60. 8
      assets/ZaoCanDian/sound/蒸笼/放饺子.mp3.meta
  61. 13
      assets/ZaoCanDian/sound/豆浆桶.meta
  62. BIN
      assets/ZaoCanDian/sound/豆浆桶/盛东西.mp3
  63. 8
      assets/ZaoCanDian/sound/豆浆桶/盛东西.mp3.meta
  64. 13
      assets/ZaoCanDian/sound/通用.meta
  65. BIN
      assets/ZaoCanDian/sound/通用/制作完成.mp3
  66. 8
      assets/ZaoCanDian/sound/通用/制作完成.mp3.meta
  67. BIN
      assets/ZaoCanDian/sound/通用/钱炸开.mp3
  68. 8
      assets/ZaoCanDian/sound/通用/钱炸开.mp3.meta
  69. 13
      assets/ZaoCanDian/spine/汤锅.meta
  70. 1
      assets/ZaoCanDian/spine/汤锅/.WeDrive
  71. 139
      assets/ZaoCanDian/spine/汤锅/汤锅.atlas
  72. 6
      assets/ZaoCanDian/spine/汤锅/汤锅.atlas.meta
  73. 19019
      assets/ZaoCanDian/spine/汤锅/汤锅.json
  74. 10
      assets/ZaoCanDian/spine/汤锅/汤锅.json.meta
  75. BIN
      assets/ZaoCanDian/spine/汤锅/汤锅.png
  76. 38
      assets/ZaoCanDian/spine/汤锅/汤锅.png.meta
  77. 13
      assets/ZaoCanDian/spine/煎锅.meta
  78. 1
      assets/ZaoCanDian/spine/煎锅/.WeDrive
  79. 146
      assets/ZaoCanDian/spine/煎锅/煎锅.atlas
  80. 6
      assets/ZaoCanDian/spine/煎锅/煎锅.atlas.meta
  81. 6249
      assets/ZaoCanDian/spine/煎锅/煎锅.json
  82. 10
      assets/ZaoCanDian/spine/煎锅/煎锅.json.meta
  83. BIN
      assets/ZaoCanDian/spine/煎锅/煎锅.png
  84. 38
      assets/ZaoCanDian/spine/煎锅/煎锅.png.meta
  85. 2
      assets/ZaoCanDian/spine/蒸笼/蒸笼.json
  86. 4
      assets/ZaoCanDian/spine/蒸笼/蒸笼.png.meta
  87. 13
      assets/ZaoCanDian/spine/豆浆桶.meta
  88. 1
      assets/ZaoCanDian/spine/豆浆桶/.WeDrive
  89. 174
      assets/ZaoCanDian/spine/豆浆桶/豆浆桶.atlas
  90. 6
      assets/ZaoCanDian/spine/豆浆桶/豆浆桶.atlas.meta
  91. 1
      assets/ZaoCanDian/spine/豆浆桶/豆浆桶.json
  92. 10
      assets/ZaoCanDian/spine/豆浆桶/豆浆桶.json.meta
  93. BIN
      assets/ZaoCanDian/spine/豆浆桶/豆浆桶.png
  94. 38
      assets/ZaoCanDian/spine/豆浆桶/豆浆桶.png.meta
  95. 13
      assets/ZaoCanDian/spine/钱盒.meta
  96. 1
      assets/ZaoCanDian/spine/钱盒/.WeDrive
  97. 27
      assets/ZaoCanDian/spine/钱盒/钱盒.atlas
  98. 6
      assets/ZaoCanDian/spine/钱盒/钱盒.atlas.meta
  99. 98
      assets/ZaoCanDian/spine/钱盒/钱盒.json
  100. 10
      assets/ZaoCanDian/spine/钱盒/钱盒.json.meta
  101. Some files were not shown because too many files have changed in this diff Show More

Binary file not shown.

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

@ -0,0 +1,13 @@
{
"ver": "1.1.3",
"uuid": "98dd091d-b43d-4c49-bbe4-fac9321169aa",
"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: 359,67
format: RGBA8888
filter: Linear,Linear
repeat: none
圆角矩形
rotate: false
xy: 2, 2
size: 304, 63
orig: 306, 65
offset: 1, 1
index: -1
感叹号
rotate: false
xy: 308, 16
size: 49, 49
orig: 51, 51
offset: 1, 1
index: -1

@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "ca20f7bc-f032-4d3e-85ec-3ce92a55a2db",
"importer": "asset",
"subMetas": {}
}

@ -0,0 +1,69 @@
{
"skeleton": {
"hash": "58DY4jyLIbkysjAzc4btjM+FzEs",
"spine": "3.8.75",
"x": -158,
"y": -35,
"width": 306,
"height": 65,
"images": "./images/",
"audio": "C:/Users/LongKong/Documents/WXWork/1688855657527795/Cache/File/2025-02/咸鱼的反击 未完成"
},
"bones": [
{ "name": "root" },
{ "name": "骨骼", "parent": "root", "x": -125.46, "y": -2.14 }
],
"slots": [
{ "name": "圆角矩形", "bone": "root", "attachment": "圆角矩形" },
{ "name": "感叹号", "bone": "骨骼", "attachment": "感叹号" }
],
"skins": [
{
"name": "default",
"attachments": {
"圆角矩形": {
"圆角矩形": { "x": -5, "y": -2.5, "width": 306, "height": 65 }
},
"感叹号": {
"感叹号": { "x": -0.04, "y": -0.36, "width": 51, "height": 51 }
}
}
}
],
"animations": {
"animation": {
"slots": {
"圆角矩形": {
"attachment": [
{ "name": "圆角矩形" }
]
}
}
},
"抖动": {
"bones": {
"骨骼": {
"rotate": [
{},
{ "time": 0.0667, "angle": -14.75 },
{ "time": 0.1333, "angle": 20.95 },
{ "time": 0.2, "angle": -14.75 },
{ "time": 0.2667, "angle": 20.95 },
{ "time": 0.3333, "angle": -14.75 },
{ "time": 0.4, "angle": 20.95 },
{ "time": 0.4667, "angle": -14.75 },
{ "time": 0.5333, "angle": 20.95 },
{ "time": 0.6, "curve": "stepped" },
{ "time": 1.1667 }
],
"scale": [
{},
{ "time": 0.0333, "x": 1.05, "y": 1.05, "curve": "stepped" },
{ "time": 0.5667, "x": 1.05, "y": 1.05 },
{ "time": 0.6 }
]
}
}
}
}
}

@ -0,0 +1,10 @@
{
"ver": "1.2.5",
"uuid": "9e791456-2d30-4c72-94f9-e24dde82a5c0",
"importer": "spine",
"textures": [
"56669021-d173-4069-88ac-749f57a8e37b"
],
"scale": 1,
"subMetas": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "56669021-d173-4069-88ac-749f57a8e37b",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 359,
"height": 67,
"platformSettings": {},
"subMetas": {
"未完成": {
"ver": "1.0.6",
"uuid": "87eb725e-9371-46dd-9635-c7ab9fbf223f",
"importer": "sprite-frame",
"rawTextureUuid": "56669021-d173-4069-88ac-749f57a8e37b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 2,
"trimY": 2,
"width": 355,
"height": 63,
"rawWidth": 359,
"rawHeight": 67,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

@ -276,7 +276,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 460,
"height": 749
"height": 753
},
"_anchorPoint": {
"__type__": "cc.Vec2",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 28 KiB

@ -8,8 +8,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 526,
"height": 883,
"width": 460,
"height": 749,
"platformSettings": {},
"subMetas": {
"入口有奖": {
@ -25,9 +25,9 @@
"trimX": 0,
"trimY": 0,
"width": 460,
"height": 749,
"height": 753,
"rawWidth": 460,
"rawHeight": 749,
"rawHeight": 753,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,

File diff suppressed because it is too large Load Diff

@ -752,7 +752,7 @@
"ctor": "Float64Array",
"array": [
-229.48699999999997,
492.25199999999995,
533.279,
0,
0,
0,
@ -789,7 +789,7 @@
"_alignFlags": 9,
"_left": 300.51300000000003,
"_right": 0,
"_top": 154.74800000000005,
"_top": 113.72099999999995,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,

@ -23,7 +23,7 @@ export default class TouchSpineScript extends cc.Component {
node.on(cc.Node.EventType.TOUCH_START, this.touchStartNode, this)
}
touchStartNode(event) {
Common5.playEffectCustom('CommonRes',"sound/按键点击")
Common5.playEffectCustom('CommonRes',"sound/点击")
this.node['_touchListener'].setSwallowTouches(false);
let target = event.target
let posi = event.getLocation()//世界坐标

@ -14,12 +14,12 @@ const { ccclass, property, disallowMultiple, menu } = cc._decorator;
@menu('对话剧情/DH_1')
export default class DH_1 extends DHBase {
chatConfig = [
{ effectUrl: 'DH/DH_1/sound/这是夏芸家吗?', delayTime: 3.21, str: '这是夏芸家吗?', posi: 'qipao2' },
{ effectUrl: 'DH/DH_1/sound/是的,我是夏芸前夫,你是?', delayTime: 3.59, str: '是的,我是夏芸前夫,你是?', posi: '-1' },
{ effectUrl: 'DH/DH_1/sound/管你什么前夫后夫,夏芸用这房子抵押借了500万高利贷。', delayTime: 4.59, str: '管你什么前夫后夫,夏芸用这房子抵押借了500万高利贷。', posi: 'qipao2' },
{ effectUrl: 'DH/DH_1/sound/现在找不到她人,我们是过来收房子的。', delayTime: 4.59, str: '现在找不到她人,我们是过来收房子的。', posi: 'qipao2' },
{ effectUrl: 'DH/DH_1/sound/什么?500万?我跟她已经离婚了,房子跟她没一毛钱关系。', delayTime: 4.59, str: '什么?500万?我跟她已经离婚了,房子跟她没一毛钱关系。', posi: '-1' },
{ effectUrl: 'DH/DH_1/sound/三天内拿不出500万,就乖乖把房子交出来。', delayTime: 4.59, str: '三天内拿不出500万,就乖乖把房子交出来。', posi: 'qipao1' },
{ effectUrl: 'DH/DH_1/sound/这是夏芸家吗?', delayTime: 1.37, str: '这是夏芸家吗?', posi: 'qipao2' },
{ effectUrl: 'DH/DH_1/sound/是的,我是夏芸前夫,你是?', delayTime: 3.42, str: '是的,我是夏芸前夫,你是?', posi: '-1' },
{ effectUrl: 'DH/DH_1/sound/管你什么前夫后夫,夏芸用这房子抵押借了500万高利贷。', delayTime: 5.29, str: '管你什么前夫后夫,夏芸用这房子抵押借了500万高利贷。', posi: 'qipao2' },
{ effectUrl: 'DH/DH_1/sound/现在找不到她人,我们是过来收房子的。', delayTime: 3.43, str: '现在找不到她人,我们是过来收房子的。', posi: 'qipao2' },
{ effectUrl: 'DH/DH_1/sound/什么?500万?我跟她已经离婚了,房子跟她没一毛钱关系。', delayTime: 6.34, str: '什么?500万?我跟她已经离婚了,房子跟她没一毛钱关系。', posi: '-1' },
{ effectUrl: 'DH/DH_1/sound/三天内拿不出500万,就乖乖把房子交出来。', delayTime: 3.64, str: '三天内拿不出500万,就乖乖把房子交出来。', posi: 'qipao1' },
]
@property(sp.Skeleton)

@ -15,10 +15,12 @@ const { ccclass, property, disallowMultiple, menu } = cc._decorator;
@menu('对话剧情/DH_3')
export default class DH_3 extends DHBase {
chatConfig = [
{ effectUrl: 'DH/DH_3/sound/我要的钱带来了没', delayTime: 6.08, str: '我要的钱带来了没', posi: 'qipao2' },
{ effectUrl: 'DH/DH_3/sound/2000万一分不少,把人放了。', delayTime: 5.53, str: '2000万一分不少,把人放了。', posi: '-1' },
{ effectUrl: 'DH/DH_3/sound/人就在里面,你自己进去带走吧', delayTime: 4.53, str: '人就在里面,你自己进去带走吧', posi: 'qipao2' },
{ effectUrl: 'DH/DH_3/sound/萌萌,你怎么了!!', delayTime: 4.53, str: '萌萌,你怎么了!!', posi: '-1' },
{ effectUrl: 'DH/DH_3/sound/我要的钱带来了没', delayTime: 1.3, str: '我要的钱带来了没', posi: 'qipao2' },
{ effectUrl: 'DH/DH_3/sound/2000万一分不少,把人放了。', delayTime: 2.58, str: '2000万一分不少,把人放了。', posi: '-1' },
{ effectUrl: 'DH/DH_3/sound/人就在里面,你自己进去带走吧', delayTime: 2.36, str: '人就在里面,你自己进去带走吧', posi: 'qipao2' },
{ effectUrl: 'DH/DH_3/sound/到底是谁指使你的?', delayTime: 1.8, str: '到底是谁指使你的?', posi: '-1' },
{ effectUrl: 'DH/DH_3/sound/哼,只怪你招惹了你惹不起的人!', delayTime: 2.81, str: '哼,只怪你招惹了你惹不起的人!', posi: 'qipao2' },
{ effectUrl: 'DH/DH_3/sound/萌萌,你怎么了!!', delayTime: 1.73, str: '萌萌,你怎么了!!', posi: '-1' },
]
@property(sp.Skeleton)
@ -113,15 +115,23 @@ export default class DH_3 extends DHBase {
this.m_bg.getChildByName("needGoodNode_605").active = false
this.showQiPao(this.chatConfig[this.dialogIndex++], () => {
this.showQiPao(this.chatConfig[this.dialogIndex++], () => {
cc.tween(this.heishehui.node)
.to(0.5, { opacity: 0 })
.start()
UserManager.subMoney(20000000)
this.m_bg.getChildByName("背景1").active = true
this.door.setAnimation(0, "有锁门", false)
this.m_bg.getChildByName("砸").active = true
TaskManager.finishCurMainTask(MainTaskIdEnum.MainTask_605)
TaskManager.setCurTask(MainTaskIdEnum.MainTask_606)
this.showClickDialog(this.chatConfig[this.dialogIndex++], () => {
this.showQiPao(this.chatConfig[this.dialogIndex++], () => {
cc.tween(this.heishehui.node)
.to(0.5, { opacity: 0 })
.start()
UserManager.subMoney(20000000)
this.m_bg.getChildByName("背景1").active = true
this.door.setAnimation(0, "有锁门", false)
this.m_bg.getChildByName("砸").active = true
TaskManager.finishCurMainTask(MainTaskIdEnum.MainTask_605)
TaskManager.setCurTask(MainTaskIdEnum.MainTask_606)
}, () => {
this.heishehui.setAnimation(0, "说话", true)
});
}, () => {
this.heishehui.setAnimation(0, "说话", true)
});
}, () => {
this.heishehui.setAnimation(0, "说话", true)
});
@ -139,7 +149,7 @@ export default class DH_3 extends DHBase {
this.door.setCompleteListener(null)
this.door.node.active = false
this.runBg(1, 2, this.MoveNodes.getChildByName("女儿"), () => {
this.showQiPao(this.chatConfig[3], () => {
this.showQiPao(this.chatConfig[5], () => {
User.setStatistics("zhangJie", 6)
TaskManager.finishCurMainTask(MainTaskIdEnum.MainTask_606)
TaskManager.setCurTask(MainTaskIdEnum.MainTask_701)

@ -15,12 +15,12 @@ const { ccclass, property, disallowMultiple, menu } = cc._decorator;
@menu('对话剧情/DH_4')
export default class DH_4 extends DHBase {
chatConfig = [
{ effectUrl: 'DH/DH_4/sound/医生,我女儿到底怎么了?', delayTime: 1.84, str: '医生,我女儿到底怎么了?', posi: '-1' },
{ effectUrl: 'DH/DH_4/sound/目前脱离危险了,不过你女儿的身体状况不容客观。', delayTime: 2.05, str: '目前脱离危险了,不过你女儿的身体状况不容客观。', posi: 'qipao2' },
{ effectUrl: 'DH/DH_4/sound/医生您能说具体点吗?她到底怎么了?', delayTime: 4.87, str: '医生您能说具体点吗?她到底怎么了?', posi: '-1' },
{ effectUrl: 'DH/DH_4/sound/你女儿患有罕见的先天性疾病,如果不及时治疗,恐怕...', delayTime: 3.59, str: '你女儿患有罕见的先天性疾病,如果不及时治疗,恐怕...', posi: 'qipao2' },
{ effectUrl: 'DH/DH_4/sound/目前是有办法有效控制甚至治愈的,但是费用很高。', delayTime: 4.38, str: '目前是有办法有效控制甚至治愈的,但是费用很高。', posi: 'qipao2' },
{ effectUrl: 'DH/DH_4/sound/只要能救我女儿,多少钱我都愿意出!', delayTime: 5.37, str: '只要能救我女儿,多少钱我都愿意出!', posi: '-1' },
{ effectUrl: 'DH/DH_4/sound/医生,我女儿到底怎么了?', delayTime: 1.99, str: '医生,我女儿到底怎么了?', posi: '-1' },
{ effectUrl: 'DH/DH_4/sound/目前脱离危险了,不过你女儿的身体状况不容客观。', delayTime: 4.14, str: '目前脱离危险了,不过你女儿的身体状况不容客观。', posi: 'qipao2' },
{ effectUrl: 'DH/DH_4/sound/医生您能说具体点吗?她到底怎么了?', delayTime: 2.82, str: '医生您能说具体点吗?她到底怎么了?', posi: '-1' },
{ effectUrl: 'DH/DH_4/sound/你女儿患有罕见的先天性疾病,如果不及时治疗,恐怕...', delayTime: 4.98, str: '你女儿患有罕见的先天性疾病,如果不及时治疗,恐怕...', posi: 'qipao2' },
{ effectUrl: 'DH/DH_4/sound/目前是有办法有效控制甚至治愈的,但是费用很高。', delayTime: 4.06, str: '目前是有办法有效控制甚至治愈的,但是费用很高。', posi: 'qipao2' },
{ effectUrl: 'DH/DH_4/sound/只要能救我女儿,多少钱我都愿意出!', delayTime: 2.31, str: '只要能救我女儿,多少钱我都愿意出!', posi: '-1' },
]
@property(sp.Skeleton)

@ -17,8 +17,9 @@ const { ccclass, property, disallowMultiple, menu } = cc._decorator;
@menu('对话剧情/DH_5')
export default class DH_5 extends DHBase {
chatConfig = [
{ effectUrl: 'DH/DH_5/sound/怎么样?是还钱还是交房啊?', delayTime: 3.91, str: '怎么样?是还钱还是交房啊?', posi: 'qipao2' },
{ effectUrl: 'DH/DH_5/sound/债务两清了', delayTime: 3.91, str: '债务两清了', posi: '-1' },
{ effectUrl: 'DH/DH_5/sound/呦,本事不小啊,这么快就筹齐了!', delayTime: 3.44, str: '呦,本事不小啊,这么快就筹齐了!', posi: 'qipao2' },
{ effectUrl: 'DH/DH_5/sound/债务两清了', delayTime: 1.04, str: '债务两清了', posi: '-1' },
{ effectUrl: 'DH/DH_5/sound/以后缺钱就找老哥我,利息好说!', delayTime: 3.44, str: '以后缺钱就找老哥我,利息好说!', posi: 'qipao2' },
]
@property(sp.Skeleton)
@ -83,16 +84,20 @@ export default class DH_5 extends DHBase {
this.m_bg.getChildByName("needGoodNode_503").active = false
this.nanzhu.setAnimation(0, "放箱待机", true)
this.showClickDialog(this.chatConfig[this.dialogIndex++], () => {
this.nanzhu.setAnimation(0, "放箱待机", true)
User.setStatistics("zhangJie", 5)
TaskManager.finishCurMainTask(MainTaskIdEnum.MainTask_503)
TaskManager.setCurTask(MainTaskIdEnum.MainTask_601)
UserManager.subMoney(5000000)
PrefabManage.showBlackGuoDu(() => {
PrefabManage.loadPrefabByType(GameType.MainHall)
this.node.removeFromParent()
this.node.destroy()
})
this.showQiPao(this.chatConfig[this.dialogIndex++], () => {
this.nanzhu.setAnimation(0, "放箱待机", true)
User.setStatistics("zhangJie", 5)
TaskManager.finishCurMainTask(MainTaskIdEnum.MainTask_503)
TaskManager.setCurTask(MainTaskIdEnum.MainTask_601)
UserManager.subMoney(5000000)
PrefabManage.showBlackGuoDu(() => {
PrefabManage.loadPrefabByType(GameType.MainHall)
this.node.removeFromParent()
this.node.destroy()
})
}, () => {
this.nanzhu.setAnimation(0, "放箱黑社会说话", true)
});
}, () => {
this.nanzhu.setAnimation(0, "放箱男主说话", true)
});

@ -27,10 +27,10 @@ let ChadianConfig = {
effectUrl: "GameRoomRes/sound/Room2/孩子我要带走,还有这房子我还出了20万首付,这钱你得还我。"
},
{
str: "孩子你想都别想,20万我会给你的,你好自为之!",
str: "好,20万是吧?我明天就拿给你,但是孩子你想都别想。",
qiPaoPos: -1,
delay: 3,
effectUrl: "GameRoomRes/sound/Room2/孩子你想都别想,20万我会给你的,你好自为之!"
effectUrl: "GameRoomRes/sound/Room2/好,20万是吧?我明天就拿给你,但是孩子你想都别想。"
},
{
str: "你一个臭卖包子的,你能拿出20万?别在这吹牛了。",
@ -39,10 +39,10 @@ let ChadianConfig = {
effectUrl: "GameRoomRes/sound/Room2/你一个臭卖包子的,你能拿出20万?别在这吹牛了。"
},
{
str: "希望你说到做到,拿出20万给我,我们走。",
str: "你要真有赚20万的本事,我给你磕头认错都行!",
qiPaoPos: 0,
delay: 2,
effectUrl: "GameRoomRes/sound/Room2/希望你说到做到,拿出20万给我,我们走。"
effectUrl: "GameRoomRes/sound/Room2/你要真有赚20万的本事,我给你磕头认错都行!"
},
],
chadianLog201: [

@ -38,10 +38,10 @@ let ChadianConfig = {
effectUrl: "GameStoryRes/sound/KaiChangGuanQia1Gai/林齐!你...你怎么来了!"
},
{
str: "你们!怎么会在酒店!",
str: "你们在酒店干什么!",
qiPaoPos: 3,
delay: 2.8,
effectUrl: "GameStoryRes/sound/KaiChangGuanQia1Gai/你们!怎么会在酒店!"
effectUrl: "GameStoryRes/sound/KaiChangGuanQia1Gai/你们在酒店干什么!"
},
{
str: "你个窝囊废你瞎嚷嚷什么啊!",

@ -103,6 +103,8 @@ export default class MainHall extends UiBase {
]
guideZiChan: any;
curStayTime: number;
tween_ShouYiUpState: boolean;
clickTimeOutEvent: number;
start() {
cc.audioEngine.stopMusic()
@ -1189,6 +1191,24 @@ export default class MainHall extends UiBase {
}
refreshShouYiTiSheng() {
cc.Tween.stopAllByTarget(this.danJiaMoneyLab.node)
cc.tween(this.danJiaMoneyLab.node)
.sequence(
cc.tween().set({ scale: 1 }),
cc.tween().to(0.1, { scale: 1.1 }),
cc.tween().to(0.1, { scale: 1 }),
)
.start()
cc.Tween.stopAllByTarget(this.levelLab.node)
cc.tween(this.levelLab.node)
.sequence(
cc.tween().set({ scale: 1 }),
cc.tween().to(0.1, { scale: 1.1 }),
cc.tween().to(0.1, { scale: 1 }),
)
.start()
//收入提升
this.node.getChildByName('收入提升').active = true
// this.node.getChildByName('收入提升').getComponent(cc.Widget).updateAlignment()
@ -1206,23 +1226,35 @@ export default class MainHall extends UiBase {
// }
// }
// addlab.getComponent(cc.Label).string = `+${str}元`
if (this.tween_ShouYiUpState) {
clearTimeout(this.clickTimeOutEvent);
addlab.getComponent(cc.Label).string = `+${Common5.getNumberChangeHanzi(cha)}`
} else {
cc.Tween.stopAllByTarget(this.node.getChildByName('收入提升'))
this.tween_ShouYiUpState = true
cc.tween(this.node.getChildByName('收入提升'))
.sequence(
cc.tween().set({ scale: 0 }),
cc.tween().to(0.2, { scale: 1.4 }),
cc.tween().to(0.03, { scale: 1.2 }),
// cc.tween().delay(0.3),
cc.tween().call(() => {
addlab.getComponent(cc.Label).string = `+${Common5.getNumberChangeHanzi(cha)}`
}),
cc.tween().delay(1),
cc.tween().call(() => {
}),
)
.start()
}
this.clickTimeOutEvent = setTimeout(() => {
this.node.getChildByName('收入提升').active = false
this.tween_ShouYiUpState = false
}, 1200);
cc.Tween.stopAllByTarget(this.node.getChildByName('收入提升'))
cc.tween(this.node.getChildByName('收入提升'))
.sequence(
cc.tween().set({ scale: 0 }),
cc.tween().to(0.2, { scale: 1.4 }),
cc.tween().to(0.03, { scale: 1.2 }),
// cc.tween().delay(0.3),
cc.tween().call(() => {
addlab.getComponent(cc.Label).string = `+${Common5.getNumberChangeHanzi(cha)}`
}),
cc.tween().delay(1),
cc.tween().call(() => {
this.node.getChildByName('收入提升').active = false
}),
)
.start()
}
showYuanGongChat(index) {

@ -332,12 +332,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()
}
@ -1139,39 +1139,39 @@ export default class MainHallBtn extends cc.Component {
//自动点击
clickAutoClikcBtnEvent(event) {
//Common5.playEffect("sound/按键点击")
let chengjiu1 = cc.sys.localStorage.getItem("成就首次自动点击") ?? '0'
if (chengjiu1 && chengjiu1 == '1') {
//免费
cc.sys.localStorage.setItem("成就首次自动点击", '0')
//开启自动点击
let time = User.getAutoClickTime()
User.setAutoClickTime(5 * 60 + time)
User.addAutoLevel()
EventMgr.emitEvent_custom(ryw_Event.RefreshLevelLab)
// User.setFirstStepIndex(21)
// EventMgr.emitEvent_custom(ryw_Event.GuideTask)
} else {
let tab = {
onClose: (finish) => {
if (finish) {
User.setShowAdNum(User.getShowAdNum() + 1)
Common5.ReportDY("inLevel", `任务${TaskManager.getCurUnLockMainTaskId()}-AD-煮面自动点击`)
// Common5.ReportDY("inLevel", "炒饭首页-AD-自动点击");
//开启自动点击
let time = User.getAutoClickTime()
User.setAutoClickTime(5 * 60 + time)
User.addAutoLevel()
EventMgr.emitEvent_custom(ryw_Event.RefreshLevelLab)
}
else {
Common5.showTips_custom("广告未观看完");
}
}, onFailed: () => {
// let chengjiu1 = cc.sys.localStorage.getItem("成就首次自动点击") ?? '0'
// if (chengjiu1 && chengjiu1 == '1') {
// //免费
// cc.sys.localStorage.setItem("成就首次自动点击", '0')
// //开启自动点击
// let time = User.getAutoClickTime()
// User.setAutoClickTime(5 * 60 + time)
// User.addAutoLevel()
// EventMgr.emitEvent_custom(ryw_Event.RefreshLevelLab)
// // User.setFirstStepIndex(21)
// // EventMgr.emitEvent_custom(ryw_Event.GuideTask)
// } else {
let tab = {
onClose: (finish) => {
if (finish) {
User.setShowAdNum(User.getShowAdNum() + 1)
Common5.ReportDY("inLevel", `任务${TaskManager.getCurUnLockMainTaskId()}-AD-煮面自动点击`)
// Common5.ReportDY("inLevel", "炒饭首页-AD-自动点击");
//开启自动点击
let time = User.getAutoClickTime()
User.setAutoClickTime(5 * 60 + time)
User.addAutoLevel()
EventMgr.emitEvent_custom(ryw_Event.RefreshLevelLab)
}
else {
Common5.showTips_custom("广告未观看完");
}
}, onFailed: () => {
}
AppPlatform.playVideo_custom(tab)
}
AppPlatform.playVideo_custom(tab)
// }
}
clickPKBtnEvent() {
//Common5.playEffect("sound/按键点击")
@ -1346,7 +1346,7 @@ export default class MainHallBtn extends cc.Component {
levelUpClickEvent() {
// PrefabManage.loadPrefabByType(GameType.PeopleLevelUp)
Common5.playRemoteAudioEffect('sound/diandiandian/升级音效')
Common5.playRemoteAudioEffect('sound/diandiandian/点击升级')
let myMoney = UserManager.getCurMoney()
let levelUpSpned = LevelUpManager.levelUpSpned()
if (myMoney - levelUpSpned >= 0) {

@ -15,8 +15,8 @@ import TaskManager from "../JuQingChat/TaskManager"
//mishuType 0秘书1队友 ,lockLevel上个队友的级别需要多少级
//mishuType 0秘书1队友 ,lockLevel上个队友的级别需要多少级
let configData = [
{mishuId:0, addPercent:1.5, spineName:'一',spineName2:'待机', mishuLevel:0, mishuType:0, name:'茜滢',selfLevel:0, selfLevelStr:'',lockLevel:0, lockLevelStr:'',lockMoney:500 , isLock:true, isSign:false , isNeedTask:-1},
{mishuId:1, addPercent:2.0, spineName:'一',spineName2:'待机', mishuLevel:0, mishuType:0, name:'云欣',selfLevel:100, selfLevelStr:'主角100级时解锁',lockLevel:0, lockLevelStr:'茜滢10级时解锁',lockMoney:1200 , isLock:true, isSign:false , isNeedTask:-1},
{mishuId:0, addPercent:2.0, spineName:'一',spineName2:'待机', mishuLevel:0, mishuType:0, name:'云欣',selfLevel:0, selfLevelStr:'',lockLevel:0, lockLevelStr:'茜滢10级时解锁',lockMoney:500 , isLock:true, isSign:false , isNeedTask:-1},
{mishuId:1, addPercent:1.5, spineName:'一',spineName2:'待机', mishuLevel:0, mishuType:0, name:'茜滢',selfLevel:100, selfLevelStr:'主角100级时解锁',lockLevel:0, lockLevelStr:'云欣10级时解锁',lockMoney:1200 , isLock:true, isSign:false , isNeedTask:-1},
{mishuId:2, addPercent:2.5, spineName:'中间1',spineName2:'中间1', mishuLevel:0, mishuType:0, name:'媱安',selfLevel:150, selfLevelStr:'主角150级时解锁',lockLevel:0, lockLevelStr:'云欣10级时解锁',lockMoney:30000 , isLock:true, isSign:false , isNeedTask:-1},
{mishuId:3, addPercent:3.0, spineName:'中间2',spineName2:'中间2', mishuLevel:0, mishuType:0, name:'诗涵',selfLevel:200, selfLevelStr:'主角200级时解锁',lockLevel:0, lockLevelStr:'媱安10级时解锁',lockMoney:300000 , isLock:true, isSign:false , isNeedTask:-1},
{mishuId:4, addPercent:3.0, spineName:'中间4',spineName2:'中间4', mishuLevel:0, mishuType:0, name:'婉仪',selfLevel:300, selfLevelStr:'主角300级时解锁',lockLevel:0, lockLevelStr:'诗涵10级时解锁',lockMoney:2000000 , isLock:true, isSign:false , isNeedTask:-1},

@ -25,7 +25,7 @@ import JieDaoManager from "./JieDaoManager"
let zaocanConfig = [
{ id: 0, type: 0, zaocan: '馒头', needLevel: 1, jiacheng: 1 },
{ id: 1, type: 1, zaocan: '鸡蛋', needLevel: 1, jiacheng: 1 },
{ id: 3, type: 2, zaocan: '煎', needLevel: 1, jiacheng: 1 },
{ id: 3, type: 2, zaocan: '煎鸡蛋', needLevel: 1, jiacheng: 1 },
{ id: 3, type: 3, zaocan: '油条', needLevel: 1, jiacheng: 1 },
{ id: 4, type: 4, zaocan: '豆浆', needLevel: 1, jiacheng: 1 },
@ -37,9 +37,9 @@ let zaocanConfig = [
{ id: 10, type: 0, zaocan: '烧卖', needLevel: 350, jiacheng: 2 },
{ id: 11, type: 1, zaocan: '玉米', needLevel: 400, jiacheng: 3 },
{ id: 12, type: 2, zaocan: '鸡蛋饼', needLevel: 450, jiacheng: 4 },
{ id: 12, type: 2, zaocan: '葱油饼', needLevel: 450, jiacheng: 4 },
{ id: 13, type: 3, zaocan: '油饼', needLevel: 500, jiacheng: 5 },
{ id: 14, type: 4, zaocan: '燕麦', needLevel: 550, jiacheng: 7 },
{ id: 14, type: 4, zaocan: '燕麦', needLevel: 550, jiacheng: 7 },
{ id: 15, type: 0, zaocan: '红薯', needLevel: 600, jiacheng: 8 },
{ id: 16, type: 1, zaocan: '西兰花', needLevel: 650, jiacheng: 9 },
@ -180,6 +180,18 @@ export default class ZaoCanManager {
return name
}
public static getEffectUrlByType(type) {
let name
let getzaoCanArray = User.getzaoCanArray()
let effectUrls = ['sound/蒸笼/放饺子', 'sound/煮锅/煮东西', 'sound/煎锅/煎东西', 'sound/油锅/油炸', 'sound/豆浆桶/盛东西']
for (let i = 0; i < getzaoCanArray.length; i++) {
if (zaocanConfig[i].type == type) {
}
}
return name
}
// public static getCurPriceById(id) {
// let config = zaocanConfig[id]
// let level = User.getMyLevel()

@ -42,7 +42,8 @@ export default class MoneyFlyEffect extends cc.Component {
playAnim(startNode) {
let randomCount = Math.random() * 15 + 20;
// let randomCount = Math.random() * 15 + 20;
let randomCount = Math.random() * 15 + 10;
//console.log(randomCount, 'randomCount++++++++++==')
let stPos = this.getNodeToTargetPos(this.node, startNode)
let edPos = null
@ -54,7 +55,8 @@ export default class MoneyFlyEffect extends cc.Component {
edPos = this.getNodeToTargetPos(this.node, this.endPoint)
}
let randomR = Math.random() * 60 + 60;
// let randomR = Math.random() * 60 + 60;
let randomR = Math.random() * 60 + 30;
this.playCoinFlyAnim(randomCount, stPos, edPos, randomR);
}

@ -11,6 +11,7 @@ import User from "../../FrameWork/User/User";
import Common5 from "../../Platform/th/Common5";
import TaskManager, { MainTaskIdEnum } from "../JuQingChat/TaskManager";
import JieDaoManager from "../Manager/JieDaoManager";
import UserManager from "../Manager/UserManager";
import ZaoCanManager from "../Manager/ZaoCanManager";
import PrefabManage, { GameType } from "../PrefabManager/PrefabManage";
import ZaoCanDianNpc from "./ZaoCanDianNpc";
@ -38,9 +39,18 @@ export default class ZaoCanDian extends cc.Component {
@property(cc.Node)
npc_parent: cc.Node = null;
@property(cc.Node)
npc_free_parent: cc.Node = null;
@property(cc.Node)
fly_zaocan_parent: cc.Node = null;
@property(sp.Skeleton)
car: sp.Skeleton = null;
@property(sp.Skeleton)
tiehe: sp.Skeleton = null;
@property(cc.Sprite)
m_bg: cc.Sprite = null;
@ -78,6 +88,11 @@ export default class ZaoCanDian extends cc.Component {
//解锁会变更早餐
this.RefreshJieDao()
}, this)
// 自动营业
EventMgr.onEvent_custom(ryw_Event.autoTimeEvent, () => {
this.autoTimeEvent()
}, this)
}
RefreshJieDao() {
@ -89,26 +104,37 @@ export default class ZaoCanDian extends cc.Component {
//摊位节点名字
let names = ['馒头', '鸡蛋', '饺子', '油条', '豆浆']
//制作动画名
let animation_names1 = ['蒸', '', '', '', '']
let animation_names1 = ['蒸', '', '', '', '']
//余几个的动画名
let animation_names2 = ['', '', '', '静止放', '']
let animation_names2 = ['', '', '静止', '静止放', '']
for (let i = 0; i < 5; i++) {
let name = ZaoCanManager.getCurNameByType(i)
this.ZaoCanArr[i] = name
let tanwei = this.node.getChildByName("桌子").getChildByName(names[i] + "摊位")
let shengyuNum = 0
for (const child of tanwei.getChildByName("touch").children) {
for (const child of this.fly_zaocan_parent.getChildByName(names[i] + "摊位").children) {
if (child.active) {
shengyuNum++
}
}
if (i == 3) {
if (i <= 3) {
if (shengyuNum == 3) {
this.setTanWeiSpine(i, `${animation_names2[i]}${name}`, 3)
} else {
this.setTanWeiSpine(i, `${animation_names2[i]}${name}${shengyuNum}`, shengyuNum)
if (i == 2) {//饺子煎锅是直接补满,没有单独补的动画...
if (shengyuNum != 0) {
this.setTanWeiSpine(i, `${animation_names2[i]}${name}`, 3)
}
} else {
this.setTanWeiSpine(i, `${animation_names2[i]}${name}${shengyuNum}`, shengyuNum)
}
}
} else {
//豆浆特殊,只有1个
let tanweiSpine = tanwei.getComponent(sp.Skeleton)
tanweiSpine.setAnimation(0, name, false)
}
}
@ -120,18 +146,34 @@ export default class ZaoCanDian extends cc.Component {
this.npcNodes = []
// this.runNpc()
this.unschedule(this.npcUpdate)
this.schedule(this.npcUpdate, 1)
}
npcUpdate() {
this.runNpc()
}
runNpc() {
let npc = cc.instantiate(this.npc_Prefabs[Common5.getRandomNumber(0, this.npc_Prefabs.length - 1)])
this.npc_parent.addChild(npc)
let stateIndex = this.getNpcEndIndex()
let curDirect = this.lastDirect == Npc_Direct.LEFT ? Npc_Direct.RIGHT : Npc_Direct.LEFT
let index = Common5.getRandomNumber(0, this.ZaoCanArr.length - 1)
// npc.getComponent(ZaoCanDianNpc).init(curDirect, position, this.ZaoCanArr[index], index, 1)
npc.getComponent(ZaoCanDianNpc).init(curDirect, this.npc_Positions[stateIndex].getPosition(), "油条", stateIndex, 1)
this.lastDirect = curDirect
this.npcNodes.push(npc)
if (stateIndex != null && stateIndex != undefined) {
let npc = cc.instantiate(this.npc_Prefabs[Common5.getRandomNumber(0, this.npc_Prefabs.length - 1)])
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)
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
this.npcNodes.push(npc)
} else {
// //逛街
// let npc = cc.instantiate(this.npc_Prefabs[Common5.getRandomNumber(0, this.npc_Prefabs.length - 1)])
// this.npc_free_parent.addChild(npc)
// let curDirect = this.lastDirect == Npc_Direct.LEFT ? Npc_Direct.RIGHT : Npc_Direct.LEFT
// npc.getComponent(ZaoCanDianNpc).init(curDirect, null, '', -1, 0)
// this.lastDirect = curDirect
}
}
getNpcEndIndex() {
@ -153,21 +195,22 @@ export default class ZaoCanDian extends cc.Component {
if (this.TanWeiSpineState[custom]) {
return
}
let target = event.target
let zaoCanStr = ZaoCanManager.getCurNameByType(custom)
let _npc = this.getNpcByNeedStr(zaoCanStr)
let children = target.children
let names = ['馒头', '鸡蛋', '饺子', '油条', '豆浆']
let tanwei = this.node.getChildByName("桌子").getChildByName(names[custom] + "摊位")
//摊位节点名字
let names = ['馒头', '鸡蛋', '饺子', '油条', '豆浆']
//制作动画名
let animation_names1 = ['蒸', '', '', '', '']
let animation_names1 = ['蒸', '', '', '', '']
//余几个的动画名
let animation_names2 = ['', '', '', '静止放', '']
let animation_names2 = ['', '', '静止', '静止放', '']
let tanwei = this.node.getChildByName("桌子").getChildByName(names[custom] + "摊位")
let shengyuNum = 0
let _child
for (const child of children) {
let children = this.fly_zaocan_parent.getChildByName(names[custom] + "摊位").children
for (let i = children.length - 1; i >= 0; i--) {
let child = children[i]
if (child.active) {
if (!_child) {
_child = child
@ -175,85 +218,144 @@ export default class ZaoCanDian extends cc.Component {
shengyuNum++
}
}
if (!_npc) { //没有一个npc需要这个早餐
//补货,少几个补几个
if (shengyuNum < 3) {
if (shengyuNum == 0) {
//手动补货,补全
this.setTanWeiSpine(custom, `${animation_names1[custom]}${zaoCanStr}`, 3)
if (custom <= 3) {//豆浆桶不需要补货
if (shengyuNum < 3) {
if (shengyuNum == 0) {
//手动补货,补全
this.setTanWeiSpine(custom, `${animation_names1[custom]}${zaoCanStr}`, 3)
} else {
if (custom == 2) {//饺子煎锅是直接补满,没有单独补的动画...
this.setTanWeiSpine(custom, `${animation_names1[custom]}${zaoCanStr}`, 3)
} else {
this.setTanWeiSpine(custom, `${animation_names1[custom]}${zaoCanStr}${shengyuNum}`, 3)
}
}
} else {
this.setTanWeiSpine(custom, `${animation_names1[custom]}${zaoCanStr}${shengyuNum}`, 3)
//所属物品摊位放大缩小
cc.tween(tanwei)
.sequence(
cc.tween().set({ scale: 1 }),
cc.tween().to(0.1, { scale: 1.1 }),
cc.tween().to(0.1, { scale: 1 })
)
.start()
}
} else {
//所属物品摊位放大缩小
}
return
}
let _position
// if (custom == "馒头") {
// let tanwei = this.node.getChildByName("馒头摊位")
// let children = tanwei.children
// for (const child of children) {
// if (child.active) {
// _child = child
// break
// }
// }
// _position = tanwei.convertToNodeSpaceAR(_npc.parent.convertToWorldSpaceAR(_npc.getPosition()))
// } else if (custom == "鸡蛋") {
// let tanwei = this.node.getChildByName("鸡蛋摊位")
// let children = tanwei.children
// for (const child of children) {
// if (child.active) {
// _child = child
// break
// }
// }
// _position = tanwei.convertToNodeSpaceAR(_npc.parent.convertToWorldSpaceAR(_npc.getPosition()))
// }
if (shengyuNum == 0) {
//手动补货,补全
this.setTanWeiSpine(custom, `${animation_names1[custom]}${zaoCanStr}`, 3)
return
} if (shengyuNum == 1) {
//自动补货,补全
this.setTanWeiSpine(custom, `${animation_names1[custom]}${zaoCanStr}`, 3)
let com = _npc.getComponent(ZaoCanDianNpc)
let _position = this.fly_zaocan_parent.convertToNodeSpaceAR(com.getZaoCanWorldPosition())
if (custom <= 3) {
if (shengyuNum == 0) {
//手动补货,补全
this.setTanWeiSpine(custom, `${animation_names1[custom]}${zaoCanStr}`, 3)
return
} if (shengyuNum == 1) {
//自动补货,补全
this.setTanWeiSpine(custom, `${animation_names1[custom]}${zaoCanStr}`, 3)
} else {
this.setTanWeiSpine(custom, `${animation_names2[custom]}${zaoCanStr}${shengyuNum - 1}`, shengyuNum - 1)
}
//先减需要的量
let needNum = com.getNeedNum() - 1
com.setNeedNum(needNum)
if (_child) {
let child = cc.instantiate(_child)
child.setScale(1.3)
this.fly_zaocan_parent.addChild(child)
let startPosition = this.fly_zaocan_parent.convertToNodeSpaceAR(_child.parent.convertToWorldSpaceAR(_child.getPosition()))
child.setPosition(startPosition)
child.active = true
Common5.getSpriteFrameFromBundle("ZaoCanDian", "res/icon/" + zaoCanStr, child.getComponent(cc.Sprite))
let time = _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)
cc.tween(child)
.sequence(
cc.tween().bezierTo(time, c1, c2, _position),
// cc.tween().to(time, { position: _position }),
cc.tween().call(() => {
UserManager.addMoney(ZaoCanManager.getDanJia(), child)
let com = _npc.getComponent(ZaoCanDianNpc)
com.setNeedNumLabel()
if (com.getNeedNum() == 0) {
this.npc_Position_States[com.getStateIndex()].isHaveNpc = false
com.getZaoCanAfter()
for (let j = this.npcNodes.length - 1; j >= 0; j--) {
if (this.npcNodes[j] === com.node) {
this.npcNodes.splice(j, 1)
}
}
}
child.removeFromParent()
child.destroy()
})
)
.start()
}
} else {
this.setTanWeiSpine(custom, `${animation_names2[custom]}${zaoCanStr}${shengyuNum - 1}`, shengyuNum - 1)
}
_position = target.convertToNodeSpaceAR(_npc.parent.convertToWorldSpaceAR(_npc.getPosition()))
let oldPosition = _child.getPosition()
if (_child) {
cc.tween(_child)
.sequence(
cc.tween().to(0.5, { position: _position }),
cc.tween().call(() => {
_child.active = false
_child.setPosition(oldPosition)
let com = _npc.getComponent(ZaoCanDianNpc)
let needNum = com.getNeedNum() - 1
com.setNeedNum(needNum)
if (needNum == 0) {
this.npc_Position_States[com.getStateIndex()].isHaveNpc = false
com.getZaoCanAfter()
for (let j = this.npcNodes.length - 1; j >= 0; j--) {
if (this.npcNodes[j] === com.node) {
this.npcNodes.splice(j, 1)
//先减需要的量
let com = _npc.getComponent(ZaoCanDianNpc)
let needNum = com.getNeedNum() - 1
com.setNeedNum(needNum)
//豆浆特殊
let tanweiSpine = tanwei.getComponent(sp.Skeleton)
this.TanWeiSpineState[custom] = true
tanweiSpine.setAnimation(0, `${zaoCanStr}`, false)
tanweiSpine.setCompleteListener(() => {
tanweiSpine.setCompleteListener(null)
this.TanWeiSpineState[custom] = false
let _child = this.fly_zaocan_parent.getChildByName(names[custom] + "摊位").children[0]
let child = cc.instantiate(_child)
child.setScale(1.3)
this.fly_zaocan_parent.addChild(child)
let startPosition = this.fly_zaocan_parent.convertToNodeSpaceAR(_child.parent.convertToWorldSpaceAR(_child.getPosition()))
child.setPosition(startPosition)
child.active = true
Common5.getSpriteFrameFromBundle("ZaoCanDian", "res/icon/" + zaoCanStr, child.getComponent(cc.Sprite))
let time = _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)
cc.tween(child)
.sequence(
cc.tween().bezierTo(time, c1, c2, _position),
// cc.tween().to(time, { position: _position }),
cc.tween().call(() => {
UserManager.addMoney(ZaoCanManager.getDanJia(), child)
let com = _npc.getComponent(ZaoCanDianNpc)
com.setNeedNumLabel()
if (com.getNeedNum() == 0) {
this.npc_Position_States[com.getStateIndex()].isHaveNpc = false
com.getZaoCanAfter()
for (let j = this.npcNodes.length - 1; j >= 0; j--) {
if (this.npcNodes[j] === com.node) {
this.npcNodes.splice(j, 1)
}
}
}
}
})
)
.start()
child.removeFromParent()
child.destroy()
})
)
.start()
})
}
}
getNpcByNeedStr(needStr) {
let _npc = null
for (const npc of this.npcNodes) {
if (npc.getComponent(ZaoCanDianNpc).getNeedStr() == needStr) {
if (npc.getComponent(ZaoCanDianNpc).getNeedStr() == needStr && npc.getComponent(ZaoCanDianNpc).getNeedNum() > 0) {
_npc = npc
break
}
@ -272,19 +374,35 @@ export default class ZaoCanDian extends cc.Component {
if (!showNum) {
return
}
// 制作音效
if (showNum == 3) {
let effecturl = ZaoCanManager.getEffectUrlByType(tanweiIndex)
Common5.playEffectCustom('ZaoCanDian', effecturl)
}
let names = ['馒头', '鸡蛋', '饺子', '油条', '豆浆']
let tanwei = this.node.getChildByName("桌子").getChildByName(names[tanweiIndex] + "摊位")
let tanweiSpine = tanwei.getComponent(sp.Skeleton)
this.TanWeiSpineState[tanweiIndex] = true
tanweiSpine.setAnimation(0, animation, loop)
tanweiSpine.setCompleteListener(() => {
tanweiSpine.setCompleteListener(null)
this.TanWeiSpineState[tanweiIndex] = false
if (tanweiIndex == 0) {
Common5.playEffectCustom('ZaoCanDian', 'sound/蒸笼/出锅')
}
this.scheduleOnce(() => {
Common5.playEffectCustom('ZaoCanDian', 'sound/通用/制作完成')
})
for (let i = 3; i > 0; i--) {
if (showNum >= i) {
tanwei.getChildByName("touch").getChildByName(`${i}`).active = true
console.log("显示===", i)
this.fly_zaocan_parent.getChildByName(names[tanweiIndex] + "摊位").getChildByName(`${i}`).active = true
} else {
this.fly_zaocan_parent.getChildByName(names[tanweiIndex] + "摊位").getChildByName(`${i}`).active = false
}
}
})
tanweiSpine.setAnimation(0, animation, loop)
}
onTouchYeWu() {
@ -339,5 +457,28 @@ 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))
UserManager.addMoney(money, this.tiehe.node)
}
autoTimeEvent() {
let names = ['馒头', '鸡蛋', '饺子', '油条', '豆浆']
let autoClickTime = User.getAutoClickTime()
if (autoClickTime <= 0) {
} else {
for (let i = 0; i < 5; i++) {
let zaoCanStr = ZaoCanManager.getCurNameByType(i)
let _npc = this.getNpcByNeedStr(zaoCanStr)
if (_npc) {
this.onTouchZaoCan(this.node.getChildByName("桌子").getChildByName(names[i] + "摊位").getChildByName("touch"), i)
}
}
}
}
// update (dt) {}
}

@ -56,18 +56,19 @@ export default class ZaoCanDianNpc extends cc.Component {
} else if (direct == Npc_Direct.RIGHT) {
this.node.setPosition(cc.v3(x, 0))
this.node.scaleX *= -1
this.numLabel.node.setScale(cc.v3(-1, 1, 1))
}
//有位置说明需要物品,没位置就逛街
if (position) {
cc.tween(this.node)
.sequence(
cc.tween().to(1, { position: cc.v3(position.x, 0) }),
cc.tween().to(2, { position: cc.v3(position.x, 0) }),
cc.tween().to(0.5, { position: position }),
cc.tween().call(() => {
//随机需要的早餐
this.needStr = needStr
this.needNode.active = true
Common5.getSpriteFrameFromBundle('ZaoCanDian', `res/${this.needStr}`, this.wuping)
Common5.getSpriteFrameFromBundle('ZaoCanDian', `res/icon/${this.needStr}`, this.wuping)
this.numLabel.string = `${this.getNeedNum()}`
})
)
@ -75,7 +76,7 @@ export default class ZaoCanDianNpc extends cc.Component {
} else {
cc.tween(this.node)
.sequence(
cc.tween().to(1, { position: cc.v3(direct == Npc_Direct.LEFT ? x : -x, 0) }),
cc.tween().to(5, { position: cc.v3(direct == Npc_Direct.LEFT ? x : -x, 0) }),
cc.tween().call(() => {
this.node.removeAllChildren()
this.node.destroy()
@ -95,7 +96,11 @@ export default class ZaoCanDianNpc extends cc.Component {
setNeedNum(num) {
this.needNum = num
this.numLabel.string = `${num}`
}
setNeedNumLabel() {
this.numLabel.string = `${this.getNeedNum()}`
}
getNeedNum() {
@ -121,5 +126,9 @@ export default class ZaoCanDianNpc extends cc.Component {
.start()
}
getZaoCanWorldPosition() {
return this.needNode.parent.convertToWorldSpaceAR(this.needNode.getPosition())
}
// update (dt) {}
}

File diff suppressed because it is too large Load Diff

@ -243,8 +243,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
51.374,
501.829,
0,
510.316,
0,
0,
0,
@ -347,9 +347,7 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a512cf68-4a21-4713-8223-24ac04c2b9e0"
},
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
@ -425,8 +423,8 @@
0,
0,
1,
1,
1,
1.4,
1.4,
1
]
},

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "995f039d-a667-43ea-836e-3c872734dc98",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 62,
"height": 62,
"platformSettings": {},
"subMetas": {
"油条": {
"ver": "1.0.6",
"uuid": "54fc44ea-bade-4b06-ac2b-24a08938575c",
"importer": "sprite-frame",
"rawTextureUuid": "995f039d-a667-43ea-836e-3c872734dc98",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 3,
"trimY": 8,
"width": 56,
"height": 46,
"rawWidth": 62,
"rawHeight": 62,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "93440819-7398-4a9a-b611-d3b8c7afb79f",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 62,
"height": 62,
"platformSettings": {},
"subMetas": {
"煎鸡蛋": {
"ver": "1.0.6",
"uuid": "da2844d4-66a2-47d1-8f4b-02fbb58bfb04",
"importer": "sprite-frame",
"rawTextureUuid": "93440819-7398-4a9a-b611-d3b8c7afb79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0.5,
"offsetY": -2.5,
"trimX": 4,
"trimY": 16,
"width": 55,
"height": 35,
"rawWidth": 62,
"rawHeight": 62,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "08dd96e3-2519-475f-9a9f-16a1a5d12c7f",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 62,
"height": 62,
"platformSettings": {},
"subMetas": {
"燕麦粥": {
"ver": "1.0.6",
"uuid": "9f14985d-2fa0-463d-8ff3-f7d03c98beec",
"importer": "sprite-frame",
"rawTextureUuid": "08dd96e3-2519-475f-9a9f-16a1a5d12c7f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 7,
"trimY": 13,
"width": 48,
"height": 36,
"rawWidth": 62,
"rawHeight": 62,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

@ -1,6 +1,6 @@
{
"ver": "2.3.7",
"uuid": "58300e7d-71e9-4c0a-8849-dd4121c05436",
"uuid": "7850b81b-2982-48cf-9f87-8bfee24cce56",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
@ -12,11 +12,11 @@
"height": 62,
"platformSettings": {},
"subMetas": {
"鸡蛋饼": {
"葱油饼": {
"ver": "1.0.6",
"uuid": "18396df2-d91e-4190-989f-e02124e177a1",
"uuid": "f8b1d1c8-88b4-4a71-8085-a921721a4e45",
"importer": "sprite-frame",
"rawTextureUuid": "58300e7d-71e9-4c0a-8849-dd4121c05436",
"rawTextureUuid": "7850b81b-2982-48cf-9f87-8bfee24cce56",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

@ -1,6 +1,6 @@
{
"ver": "2.3.7",
"uuid": "ed62badc-7e5c-45ad-b6ca-4ad314cc215c",
"uuid": "092ac6db-8acd-4cab-8bc7-7a38c008c6ac",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
@ -12,11 +12,11 @@
"height": 62,
"platformSettings": {},
"subMetas": {
"燕麦": {
"豆浆": {
"ver": "1.0.6",
"uuid": "480ac6db-cf83-465b-92fa-6a75dc126010",
"uuid": "4b8f518e-e184-4400-b2ac-82c816ce253f",
"importer": "sprite-frame",
"rawTextureUuid": "ed62badc-7e5c-45ad-b6ca-4ad314cc215c",
"rawTextureUuid": "092ac6db-8acd-4cab-8bc7-7a38c008c6ac",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "555fa67c-239c-4356-87ee-dd4d4e192a94",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 62,
"height": 62,
"platformSettings": {},
"subMetas": {
"馒头": {
"ver": "1.0.6",
"uuid": "798c5e22-1e38-4bfa-9a9a-a16d0d61aae9",
"importer": "sprite-frame",
"rawTextureUuid": "555fa67c-239c-4356-87ee-dd4d4e192a94",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 8,
"trimY": 11,
"width": 46,
"height": 40,
"rawWidth": 62,
"rawHeight": 62,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "0d6651d4-f1ff-4f4b-a83f-11fc784402b4",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 62,
"height": 62,
"platformSettings": {},
"subMetas": {
"鸡蛋": {
"ver": "1.0.6",
"uuid": "1cb66d7e-f7e2-47db-92c3-93bb95d34644",
"importer": "sprite-frame",
"rawTextureUuid": "0d6651d4-f1ff-4f4b-a83f-11fc784402b4",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 12,
"trimY": 13,
"width": 38,
"height": 36,
"rawWidth": 62,
"rawHeight": 62,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

@ -0,0 +1,13 @@
{
"ver": "1.1.3",
"uuid": "728d54d4-c925-43ca-96c9-db935b167012",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

@ -0,0 +1,13 @@
{
"ver": "1.1.3",
"uuid": "93b5e90d-0dce-4820-b9f6-af50908196f1",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

@ -0,0 +1,8 @@
{
"ver": "2.0.3",
"uuid": "ea4c3d5b-21d3-4c62-b311-155abc90f164",
"importer": "audio-clip",
"downloadMode": 0,
"duration": 3.056327,
"subMetas": {}
}

@ -0,0 +1,13 @@
{
"ver": "1.1.3",
"uuid": "b40ba344-2861-4419-9d0f-162665163e4f",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

@ -0,0 +1,8 @@
{
"ver": "2.0.3",
"uuid": "a1f2f8b5-b924-45a4-abfb-94613e30b142",
"importer": "audio-clip",
"downloadMode": 0,
"duration": 3.578776,
"subMetas": {}
}

@ -0,0 +1,13 @@
{
"ver": "1.1.3",
"uuid": "b60fea63-2ada-43f1-8aed-895ac02d83f0",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

@ -0,0 +1,8 @@
{
"ver": "2.0.3",
"uuid": "831cc5b4-adf7-4607-b338-5355abac8398",
"importer": "audio-clip",
"downloadMode": 0,
"duration": 3.056327,
"subMetas": {}
}

@ -0,0 +1,13 @@
{
"ver": "1.1.3",
"uuid": "ff027b57-50f3-47bd-8e83-130d011e50c7",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

@ -0,0 +1,8 @@
{
"ver": "2.0.3",
"uuid": "83aa21ef-780c-4417-a22d-9328dcd0bd4a",
"importer": "audio-clip",
"downloadMode": 0,
"duration": 1.776327,
"subMetas": {}
}

@ -0,0 +1,8 @@
{
"ver": "2.0.3",
"uuid": "24cbe8d9-5f34-4c4f-82c0-6af6658af581",
"importer": "audio-clip",
"downloadMode": 0,
"duration": 0.130612,
"subMetas": {}
}

@ -0,0 +1,13 @@
{
"ver": "1.1.3",
"uuid": "79bfa482-a7be-4f3a-afcf-e2d6bac0800e",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

@ -0,0 +1,8 @@
{
"ver": "2.0.3",
"uuid": "14cf7980-7b80-417c-8c50-19cac27e8c69",
"importer": "audio-clip",
"downloadMode": 0,
"duration": 0.391837,
"subMetas": {}
}

@ -0,0 +1,13 @@
{
"ver": "1.1.3",
"uuid": "3bd0ec79-a331-4db2-9547-db32adbe3e2f",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

@ -0,0 +1,8 @@
{
"ver": "2.0.3",
"uuid": "fc205d41-e118-4322-9b42-bab3d2ded05e",
"importer": "audio-clip",
"downloadMode": 0,
"duration": 1.802449,
"subMetas": {}
}

@ -0,0 +1,8 @@
{
"ver": "2.0.3",
"uuid": "555ea099-fb0a-4d97-ae9a-3047f217bee0",
"importer": "audio-clip",
"downloadMode": 0,
"duration": 0.522449,
"subMetas": {}
}

@ -0,0 +1,13 @@
{
"ver": "1.1.3",
"uuid": "4c1f8af2-ab8f-4e6f-ba6d-751d1a02a4ed",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

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

@ -0,0 +1,139 @@
汤锅.png
size: 1141,397
format: RGBA8888
filter: Linear,Linear
repeat: none
汤锅
rotate: true
xy: 574, 71
size: 324, 234
orig: 326, 236
offset: 1, 1
index: -1
汤锅水波
rotate: false
xy: 615, 15
size: 114, 54
orig: 154, 60
offset: 12, 1
index: -1
汤锅沸腾汤面
rotate: true
xy: 1037, 43
size: 258, 102
orig: 260, 105
offset: 1, 2
index: -1
汤锅泡
rotate: false
xy: 731, 2
size: 32, 18
orig: 46, 35
offset: 6, 12
index: -1
汤锅泡2
rotate: false
xy: 765, 3
size: 26, 17
orig: 28, 26
offset: 1, 3
index: -1
汤锅清汤
rotate: true
xy: 810, 136
size: 259, 106
orig: 261, 109
offset: 1, 2
index: -1
汤锅茶包
rotate: true
xy: 560, 10
size: 58, 53
orig: 60, 55
offset: 1, 1
index: -1
汤锅茶包汤
rotate: false
xy: 810, 90
size: 84, 44
orig: 97, 53
offset: 4, 2
index: -1
汤锅茶叶蛋汤
rotate: false
xy: 731, 22
size: 75, 47
orig: 87, 57
offset: 6, 8
index: -1
汤锅茶汤
rotate: true
xy: 932, 43
size: 258, 103
orig: 260, 109
offset: 1, 5
index: -1
汤锅阴影
rotate: true
xy: 446, 70
size: 325, 126
orig: 335, 131
offset: 5, 4
index: -1
汤锅雾气
rotate: false
xy: 2, 4
size: 442, 391
orig: 442, 391
offset: 0, 0
index: -1
玉米
rotate: false
xy: 808, 25
size: 117, 44
orig: 119, 46
offset: 1, 1
index: -1
玉米2
rotate: false
xy: 927, 6
size: 123, 35
orig: 125, 37
offset: 1, 1
index: -1
茶叶蛋熟
rotate: true
xy: 896, 93
size: 41, 34
orig: 43, 36
offset: 1, 1
index: -1
蒸笼手2
rotate: false
xy: 927, 303
size: 209, 92
orig: 211, 94
offset: 1, 1
index: -1
rotate: false
xy: 1052, 7
size: 41, 34
orig: 43, 36
offset: 1, 1
index: -1
西蓝花
rotate: true
xy: 446, 10
size: 58, 55
orig: 60, 57
offset: 1, 1
index: -1
西蓝花熟
rotate: true
xy: 503, 10
size: 58, 55
orig: 60, 57
offset: 1, 1
index: -1

@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "76e84bfd-f384-4b9a-b7b8-e72a1be9dc75",
"importer": "asset",
"subMetas": {}
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,10 @@
{
"ver": "1.2.5",
"uuid": "e1a5421a-8548-4f6a-801f-7e27b771af75",
"importer": "spine",
"textures": [
"ee33caa3-50f6-4aa3-8ed0-d1a0925fae19"
],
"scale": 1,
"subMetas": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 430 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "ee33caa3-50f6-4aa3-8ed0-d1a0925fae19",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1141,
"height": 397,
"platformSettings": {},
"subMetas": {
"汤锅": {
"ver": "1.0.6",
"uuid": "320c0b51-50bc-44f9-9a5c-ee4905cae9ab",
"importer": "sprite-frame",
"rawTextureUuid": "ee33caa3-50f6-4aa3-8ed0-d1a0925fae19",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0.5,
"offsetY": 0,
"trimX": 3,
"trimY": 2,
"width": 1136,
"height": 393,
"rawWidth": 1141,
"rawHeight": 397,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

@ -0,0 +1,13 @@
{
"ver": "1.1.3",
"uuid": "6fd6aa26-102a-4f6f-b8f3-fdfb7800f9b8",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

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

@ -0,0 +1,146 @@
煎锅.png
size: 495,541
format: RGBA8888
filter: Linear,Linear
repeat: none
煎锅
rotate: true
xy: 2, 231
size: 308, 161
orig: 310, 163
offset: 1, 1
index: -1
煎锅油
rotate: true
xy: 96, 36
size: 193, 55
orig: 195, 58
offset: 1, 1
index: -1
煎锅油泡
rotate: true
xy: 305, 136
size: 95, 53
orig: 97, 55
offset: 1, 1
index: -1
煎锅煎蛋
rotate: true
xy: 153, 5
size: 86, 46
orig: 88, 49
offset: 1, 2
index: -1
煎锅煎蛋熟
rotate: true
xy: 360, 145
size: 86, 46
orig: 88, 49
offset: 1, 2
index: -1
煎锅生蛋清
rotate: false
xy: 153, 93
size: 39, 136
orig: 39, 136
offset: 0, 0
index: -1
煎锅生蛋黄
rotate: true
xy: 96, 10
size: 24, 41
orig: 26, 43
offset: 1, 1
index: -1
煎锅蛋
rotate: false
xy: 382, 9
size: 60, 47
orig: 62, 49
offset: 1, 1
index: -1
煎锅蛋开1
rotate: false
xy: 444, 26
size: 44, 46
orig: 46, 48
offset: 1, 1
index: -1
煎锅蛋开2
rotate: true
xy: 325, 2
size: 39, 45
orig: 41, 47
offset: 1, 1
index: -1
煎锅阴影
rotate: true
xy: 426, 235
size: 304, 63
orig: 309, 67
offset: 2, 2
index: -1
煎锅雾
rotate: false
xy: 165, 233
size: 259, 306
orig: 259, 306
offset: 0, 0
index: -1
牛排
rotate: true
xy: 201, 4
size: 100, 49
orig: 102, 51
offset: 1, 1
index: -1
牛排熟
rotate: true
xy: 382, 58
size: 85, 49
orig: 87, 51
offset: 1, 1
index: -1
蒸笼手2
rotate: true
xy: 2, 20
size: 209, 92
orig: 211, 94
offset: 1, 1
index: -1
铲子
rotate: true
xy: 194, 106
size: 125, 109
orig: 128, 112
offset: 2, 2
index: -1
韭菜盒子
rotate: true
xy: 433, 74
size: 77, 60
orig: 79, 62
offset: 1, 1
index: -1
韭菜盒子熟
rotate: true
xy: 408, 153
size: 78, 61
orig: 80, 63
offset: 1, 1
index: -1
鸡蛋饼
rotate: true
xy: 252, 9
size: 95, 71
orig: 97, 73
offset: 1, 1
index: -1
鸡蛋饼熟
rotate: true
xy: 325, 43
size: 91, 55
orig: 93, 57
offset: 1, 1
index: -1

@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "3f4af79a-4e11-432c-95e2-67ccf9f1706a",
"importer": "asset",
"subMetas": {}
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,10 @@
{
"ver": "1.2.5",
"uuid": "bdd778b7-b48e-46ca-b716-7c03c2cf1468",
"importer": "spine",
"textures": [
"cd2449d7-0fd6-4848-ad65-a56f2ad10ad5"
],
"scale": 1,
"subMetas": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "cd2449d7-0fd6-4848-ad65-a56f2ad10ad5",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 495,
"height": 541,
"platformSettings": {},
"subMetas": {
"煎锅": {
"ver": "1.0.6",
"uuid": "f2334579-4c27-4b61-9804-09f7240ced75",
"importer": "sprite-frame",
"rawTextureUuid": "cd2449d7-0fd6-4848-ad65-a56f2ad10ad5",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 2,
"trimY": 2,
"width": 491,
"height": 537,
"rawWidth": 495,
"rawHeight": 541,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

File diff suppressed because one or more lines are too long

@ -8,8 +8,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 734,
"height": 518,
"width": 1807,
"height": 250,
"platformSettings": {},
"subMetas": {
"蒸笼": {

@ -0,0 +1,13 @@
{
"ver": "1.1.3",
"uuid": "689d9fe2-ea47-4383-99b7-0c7a2706ce3b",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

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

@ -0,0 +1,174 @@
豆浆桶.png
size: 906,278
format: RGBA8888
filter: Linear,Linear
repeat: none
勺子
rotate: false
xy: 444, 41
size: 146, 138
orig: 148, 140
offset: 1, 1
index: -1
勺子咖啡
rotate: false
xy: 2, 3
size: 61, 27
orig: 63, 29
offset: 1, 1
index: -1
勺子咖啡竖
rotate: true
xy: 651, 2
size: 21, 61
orig: 23, 63
offset: 1, 1
index: -1
勺子小米粥
rotate: false
xy: 65, 3
size: 61, 27
orig: 63, 29
offset: 1, 1
index: -1
勺子小米粥竖
rotate: false
xy: 883, 104
size: 21, 61
orig: 23, 63
offset: 1, 1
index: -1
勺子燕麦粥
rotate: false
xy: 128, 3
size: 61, 27
orig: 63, 29
offset: 1, 1
index: -1
勺子燕麦粥竖
rotate: true
xy: 814, 26
size: 21, 61
orig: 23, 63
offset: 1, 1
index: -1
勺子豆浆
rotate: false
xy: 191, 3
size: 61, 27
orig: 63, 29
offset: 1, 1
index: -1
勺子豆浆竖
rotate: true
xy: 814, 3
size: 21, 61
orig: 23, 63
offset: 1, 1
index: -1
塑料杯
rotate: false
xy: 731, 65
size: 76, 100
orig: 78, 102
offset: 1, 1
index: -1
塑料杯咖啡
rotate: false
xy: 809, 81
size: 72, 84
orig: 72, 84
offset: 0, 0
index: -1
塑料杯咖啡冰
rotate: false
xy: 814, 49
size: 56, 30
orig: 59, 32
offset: 2, 1
index: -1
塑料杯高光
rotate: false
xy: 651, 63
size: 78, 102
orig: 80, 104
offset: 1, 1
index: -1
木桶
rotate: false
xy: 2, 32
size: 253, 244
orig: 255, 246
offset: 1, 1
index: -1
木桶咖啡
rotate: false
xy: 704, 217
size: 190, 59
orig: 191, 59
offset: 0, 0
index: -1
木桶小米粥
rotate: true
xy: 592, 5
size: 174, 57
orig: 174, 57
offset: 0, 0
index: -1
木桶布
rotate: false
xy: 257, 65
size: 185, 211
orig: 185, 211
offset: 0, 0
index: -1
木桶燕麦粥
rotate: false
xy: 257, 7
size: 180, 56
orig: 180, 56
offset: 0, 0
index: -1
木桶豆浆
rotate: false
xy: 704, 167
size: 196, 48
orig: 196, 48
offset: 0, 0
index: -1
木桶阴影
rotate: false
xy: 444, 181
size: 258, 95
orig: 264, 101
offset: 3, 3
index: -1
rotate: false
xy: 731, 2
size: 81, 61
orig: 83, 63
offset: 1, 1
index: -1
碗小米粥
rotate: false
xy: 651, 25
size: 70, 36
orig: 72, 38
offset: 1, 1
index: -1
碗燕麦粥
rotate: false
xy: 511, 5
size: 68, 34
orig: 70, 36
offset: 1, 1
index: -1
碗豆浆
rotate: false
xy: 439, 4
size: 70, 35
orig: 72, 37
offset: 1, 1
index: -1

@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "3dfeaced-ecc1-4726-9981-55d3e8f5ee02",
"importer": "asset",
"subMetas": {}
}

File diff suppressed because one or more lines are too long

@ -0,0 +1,10 @@
{
"ver": "1.2.5",
"uuid": "7c5f6788-3aaf-4094-9dbf-6c653290972d",
"importer": "spine",
"textures": [
"c6bbf227-1ab5-43a6-a6ad-ccc8fcc37747"
],
"scale": 1,
"subMetas": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 KiB

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "c6bbf227-1ab5-43a6-a6ad-ccc8fcc37747",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 906,
"height": 278,
"platformSettings": {},
"subMetas": {
"豆浆桶": {
"ver": "1.0.6",
"uuid": "6c016b3d-4813-4c18-9a62-09cbcf039da9",
"importer": "sprite-frame",
"rawTextureUuid": "c6bbf227-1ab5-43a6-a6ad-ccc8fcc37747",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 2,
"trimY": 2,
"width": 902,
"height": 274,
"rawWidth": 906,
"rawHeight": 278,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

@ -0,0 +1,13 @@
{
"ver": "1.1.3",
"uuid": "21aa7d8a-18fc-45b3-9551-b3c24208dc46",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

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

@ -0,0 +1,27 @@
钱盒.png
size: 279,124
format: RGBA8888
filter: Linear,Linear
repeat: none
rotate: false
xy: 147, 9
size: 95, 39
orig: 97, 41
offset: 1, 1
index: -1
钱盒
rotate: false
xy: 2, 2
size: 143, 120
orig: 145, 122
offset: 1, 1
index: -1
钱盒阴影
rotate: false
xy: 147, 50
size: 130, 72
orig: 134, 79
offset: 1, 1
index: -1

@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "63b81391-022a-4f71-b992-12904fd4b730",
"importer": "asset",
"subMetas": {}
}

@ -0,0 +1,98 @@
{
"skeleton": {
"hash": "+tv+0qhY8XvFfOUWQiIOh7jRhTs",
"spine": "3.8.75",
"x": -77,
"y": -43,
"width": 167,
"height": 124,
"images": "./images/",
"audio": "C:/Users/LongKong/Documents/WXWork/1688855657527795/Cache/File/2025-02/咸鱼的反击 钱盒"
},
"bones": [
{ "name": "root" },
{ "name": "bone", "parent": "root", "x": 1.14, "y": -45.08 },
{ "name": "钱", "parent": "bone", "x": -4.97, "y": 77.1 },
{ "name": "钱盒", "parent": "bone", "x": 1.1, "y": 50.6 }
],
"slots": [
{ "name": "钱盒阴影", "bone": "钱盒", "attachment": "钱盒阴影" },
{ "name": "钱盒", "bone": "钱盒", "attachment": "钱盒" },
{ "name": "钱盒00", "bone": "钱盒", "attachment": "钱盒00" },
{ "name": "钱2", "bone": "钱盒", "attachment": "钱" },
{ "name": "钱", "bone": "钱", "attachment": "钱" }
],
"skins": [
{
"name": "default",
"attachments": {
"钱盒": {
"钱盒": { "x": -6.75, "y": 14.48, "width": 145, "height": 122 }
},
"钱盒00": {
"钱盒00": {
"type": "clipping",
"end": "钱",
"vertexCount": 14,
"vertices": [ -174.47, 77.75, -174.73, 49.4, -72.86, 48.58, -49.68, 24.47, -41.95, 21.53, -34.22, 20.79, -27.05, 21.53, 57.22, 39.19, 59.49, 41.24, 58.61, 43.44, 106.57, 45.67, 106.88, 81.8, 57.25, 192.07, -71.53, 191.32 ],
"color": "ce3a3aff"
}
},
"钱2": {
"钱": { "x": -4.75, "y": 28.98, "width": 97, "height": 41 }
},
"钱": {
"钱": { "x": 1.33, "y": 2.48, "width": 97, "height": 41 }
},
"钱盒阴影": {
"钱盒阴影": { "x": 20.75, "y": -9.02, "width": 134, "height": 79 }
}
}
}
],
"animations": {
"抖动": {
"slots": {
"钱": {
"color": [
{ "time": 0.3333, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 0.6667, "color": "ffffff00" }
],
"attachment": [
{ "name": "钱" }
]
}
},
"bones": {
"钱盒": {
"rotate": [
{ "curve": 0.25, "c3": 0.75 },
{ "time": 0.1, "angle": -2.8, "curve": 0.25, "c3": 0.75 },
{ "time": 0.2, "angle": 1.95, "curve": 0.25, "c3": 0.75 },
{ "time": 0.3, "angle": -2.8, "curve": 0.25, "c3": 0.75 },
{ "time": 0.4, "angle": 1.95, "curve": 0.25, "c3": 0.75 },
{ "time": 0.5, "angle": -2.8, "curve": 0.25, "c3": 0.75 },
{ "time": 0.6667 }
],
"translate": [
{ "curve": "stepped" },
{ "time": 0.1, "curve": "stepped" },
{ "time": 0.2, "curve": "stepped" },
{ "time": 0.3, "curve": "stepped" },
{ "time": 0.4, "curve": "stepped" },
{ "time": 0.5, "curve": "stepped" },
{ "time": 0.6667 }
]
},
"钱": {
"translate": [
{ "curve": "stepped" },
{ "time": 0.1, "curve": 0.25, "c3": 0.75 },
{ "time": 0.6667, "y": 121.11 }
]
}
}
},
"钱盒": {}
}
}

@ -0,0 +1,10 @@
{
"ver": "1.2.5",
"uuid": "301006c5-6bf9-4fa4-9612-2f6f7c2b37f3",
"importer": "spine",
"textures": [
"e3ab82be-3ef9-42ba-ad91-621366f92cbb"
],
"scale": 1,
"subMetas": {}
}

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

Loading…
Cancel
Save