更新金币和头像框图片,更新一个游戏BUG和失败界面金币还有时钟

This commit is contained in:
COMPUTER\EDY 2026-09-23 12:39:31 +08:00
parent 300313595d
commit 3256667420
22 changed files with 2714 additions and 1683 deletions

View File

@ -1585,8 +1585,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 160, "width": 168,
"height": 160 "height": 168
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@ -1682,8 +1682,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 160, "width": 168,
"height": 160 "height": 168
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@ -1735,7 +1735,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "c2b141f2-de71-4481-b9ee-440c893c28b3" "__uuid__": "7a197742-20c0-4720-88f6-8fcdd0c58518"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
@ -1748,9 +1748,7 @@
"_fillStart": 0, "_fillStart": 0,
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": { "_atlas": null,
"__uuid__": "fd85df88-648f-4407-bab2-da4f15478fb9"
},
"_id": "9142E2UEJG1J5fb8i3cywI" "_id": "9142E2UEJG1J5fb8i3cywI"
}, },
{ {

View File

@ -757,7 +757,7 @@ export class GameConfig {
vibrateOpen: true, //震动 vibrateOpen: true, //震动
coinnum: 0, //每局的金币数 coinnum: 0, //每局的金币数
paid_user: false, //是否是付费用户 paid_user: false, //是否是付费用户
version: "1.0.68", //版本号 version: "1.0.69", //版本号
shushu_DistinctId: "", //数数访客ID shushu_DistinctId: "", //数数访客ID
shushu_AccountId: "", //数数账号ID shushu_AccountId: "", //数数账号ID
uid: "", //用户和后端唯一id uid: "", //用户和后端唯一id

View File

@ -26,6 +26,9 @@ export default class Floor extends cc.Component {
@property({ type: [cc.String], tooltip: "可移动地板图片" }) @property({ type: [cc.String], tooltip: "可移动地板图片" })
FloorSpriteFrame: Array<string> = []; FloorSpriteFrame: Array<string> = [];
@property({ type: [cc.SpriteFrame], tooltip: "可移动地板图片" })
FloorMoveSpriteFrame: Array<cc.SpriteFrame> = [];
posX: any; posX: any;
posY: any; posY: any;
color: number = -1; color: number = -1;
@ -55,8 +58,11 @@ export default class Floor extends cc.Component {
} }
setSpriteFrame(number, color) { setSpriteFrame(number, color) {
if (this.FloorSpriteFrame.length > 0) { const isMoveFloor = this.node.name === "moveFloor";
this.node.getChildByName("icon").getComponent(cc.Sprite).spriteFrame = BlockAssetManager.instance.getAtlasFrame("down", this.FloorSpriteFrame[number]); if ((isMoveFloor ? this.FloorMoveSpriteFrame : this.FloorSpriteFrame).length > 0) {
this.node.getChildByName("icon").getComponent(cc.Sprite).spriteFrame = isMoveFloor
? this.FloorMoveSpriteFrame[number]
: BlockAssetManager.instance.getAtlasFrame("down", this.FloorSpriteFrame[number]);
if (color) if (color)
this.color = number + 1; this.color = number + 1;
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 397 B

After

Width:  |  Height:  |  Size: 796 B

View File

@ -24,10 +24,10 @@
"offsetY": 0, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 0, "trimY": 0,
"width": 160, "width": 168,
"height": 160, "height": 168,
"rawWidth": 160, "rawWidth": 168,
"rawHeight": 160, "rawHeight": 168,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,

View File

@ -30818,11 +30818,11 @@
"catUI": { "catUI": {
"__uuid__": "09d077ae-9fce-4041-8f84-7273d7767ef0" "__uuid__": "09d077ae-9fce-4041-8f84-7273d7767ef0"
}, },
"iconPrefab": null,
"_id": "",
"cat12": { "cat12": {
"__uuid__": "7d090003-0209-4a00-8b00-000000000209" "__uuid__": "7d090003-0209-4a00-8b00-000000000209"
} },
"iconPrefab": null,
"_id": ""
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -31002,10 +31002,10 @@
"catUI": { "catUI": {
"__uuid__": "09d077ae-9fce-4041-8f84-7273d7767ef0" "__uuid__": "09d077ae-9fce-4041-8f84-7273d7767ef0"
}, },
"_id": "",
"cat12": { "cat12": {
"__uuid__": "7d090003-0209-4a00-8b00-000000000209" "__uuid__": "7d090003-0209-4a00-8b00-000000000209"
} },
"_id": ""
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -31175,4 +31175,4 @@
"fileId": "", "fileId": "",
"sync": false "sync": false
} }
] ]

View File

@ -1,25 +1,21 @@
{ {
"ver": "1.1.3", "ver": "1.1.3",
"uuid": "9e1d8b29-96ad-4168-8ed8-6545d21984f5", "uuid": "5092ba89-1e5e-4e68-8585-3995779f525f",
"importer": "folder", "importer": "folder",
"isBundle": true, "isBundle": true,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
"compressionType": { "compressionType": {
"wechatgame": "subpackage", "wechatgame": "subpackage"
"bytedance": "subpackage"
}, },
"optimizeHotUpdate": { "optimizeHotUpdate": {
"wechatgame": false, "wechatgame": false
"bytedance": false
}, },
"inlineSpriteFrames": { "inlineSpriteFrames": {
"wechatgame": false, "wechatgame": false
"bytedance": false
}, },
"isRemoteBundle": { "isRemoteBundle": {
"wechatgame": false, "wechatgame": false
"bytedance": false
}, },
"subMetas": {} "subMetas": {}
} }

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

View File

@ -426,6 +426,11 @@
}, },
"ice": null, "ice": null,
"FloorSpriteFrame": [ "FloorSpriteFrame": [
"",
"",
""
],
"FloorMoveSpriteFrame": [
{ {
"__uuid__": "dce8a062-2545-4652-8c1a-9e33be243937" "__uuid__": "dce8a062-2545-4652-8c1a-9e33be243937"
}, },

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

@ -8,8 +8,8 @@
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 282, "width": 300,
"height": 251, "height": 209,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"jibijj": { "jibijj": {
@ -21,13 +21,13 @@
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": -0.5, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 1, "trimY": 0,
"width": 282, "width": 300,
"height": 250, "height": 209,
"rawWidth": 282, "rawWidth": 300,
"rawHeight": 251, "rawHeight": 209,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

@ -60,11 +60,11 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 179 "__id__": 178
} }
], ],
"_prefab": { "_prefab": {
"__id__": 178 "__id__": 179
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
@ -4995,7 +4995,7 @@
"__id__": 165 "__id__": 165
} }
], ],
"_active": true, "_active": false,
"_components": [], "_components": [],
"_prefab": { "_prefab": {
"__id__": 168 "__id__": 168
@ -6454,17 +6454,6 @@
"fileId": "31tJAVrEVGv4yeIs3FVdgd", "fileId": "31tJAVrEVGv4yeIs3FVdgd",
"sync": false "sync": false
}, },
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "",
"sync": false
},
{ {
"__type__": "5c4423RKuVMio700zD0B3Un", "__type__": "5c4423RKuVMio700zD0B3Un",
"_name": "", "_name": "",
@ -6614,5 +6603,16 @@
"door/color1" "door/color1"
], ],
"_id": "" "_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "",
"sync": false
} }
] ]

BIN
assets/shop/img/kuang_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 796 B

View File

@ -1,6 +1,6 @@
{ {
"ver": "2.3.7", "ver": "2.3.7",
"uuid": "71648655-1095-4175-8de9-17985a9a15bd", "uuid": "4f51946a-fb35-412a-8935-1f2b16e02de0",
"importer": "texture", "importer": "texture",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
@ -8,26 +8,26 @@
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 312, "width": 168,
"height": 292, "height": 168,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"nz2": { "kuang_1": {
"ver": "1.0.6", "ver": "1.0.6",
"uuid": "c6728f0b-b5a4-4013-8e78-ce89e4aa331b", "uuid": "e4242b1f-c44c-40c9-882d-6056662c9959",
"importer": "sprite-frame", "importer": "sprite-frame",
"rawTextureUuid": "71648655-1095-4175-8de9-17985a9a15bd", "rawTextureUuid": "4f51946a-fb35-412a-8935-1f2b16e02de0",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
"offsetX": -0.5, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 0, "trimY": 0,
"width": 311, "width": 168,
"height": 292, "height": 168,
"rawWidth": 312, "rawWidth": 168,
"rawHeight": 292, "rawHeight": 168,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,

View File

@ -17574,8 +17574,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 160, "width": 168,
"height": 160 "height": 168
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@ -17627,7 +17627,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "c2b141f2-de71-4481-b9ee-440c893c28b3" "__uuid__": "e4242b1f-c44c-40c9-882d-6056662c9959"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
@ -17640,9 +17640,7 @@
"_fillStart": 0, "_fillStart": 0,
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": { "_atlas": null,
"__uuid__": "fd85df88-648f-4407-bab2-da4f15478fb9"
},
"_id": "" "_id": ""
}, },
{ {

View File

@ -907,8 +907,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 282, "width": 300,
"height": 250 "height": 209
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@ -920,7 +920,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
55, 55,
195.58, 188.167,
0, 0,
0, 0,
0, 0,

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

View File

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "a9ac7af2-ebd1-4eaa-816a-ea6de7201a89",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 416,
"height": 291,
"platformSettings": {},
"subMetas": {
"20260923-115435": {
"ver": "1.0.6",
"uuid": "546419df-8907-4c96-9847-0a7d6db7a41a",
"importer": "sprite-frame",
"rawTextureUuid": "a9ac7af2-ebd1-4eaa-816a-ea6de7201a89",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 416,
"height": 291,
"rawWidth": 416,
"rawHeight": 291,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}