更新金币和头像框图片,更新一个游戏BUG和失败界面金币还有时钟
|
|
@ -1585,8 +1585,8 @@
|
|||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 160,
|
||||
"height": 160
|
||||
"width": 168,
|
||||
"height": 168
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
|
|
@ -1682,8 +1682,8 @@
|
|||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 160,
|
||||
"height": 160
|
||||
"width": 168,
|
||||
"height": 168
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
|
|
@ -1735,7 +1735,7 @@
|
|||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "c2b141f2-de71-4481-b9ee-440c893c28b3"
|
||||
"__uuid__": "7a197742-20c0-4720-88f6-8fcdd0c58518"
|
||||
},
|
||||
"_type": 0,
|
||||
"_sizeMode": 1,
|
||||
|
|
@ -1748,9 +1748,7 @@
|
|||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": {
|
||||
"__uuid__": "fd85df88-648f-4407-bab2-da4f15478fb9"
|
||||
},
|
||||
"_atlas": null,
|
||||
"_id": "9142E2UEJG1J5fb8i3cywI"
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -757,7 +757,7 @@ export class GameConfig {
|
|||
vibrateOpen: true, //震动
|
||||
coinnum: 0, //每局的金币数
|
||||
paid_user: false, //是否是付费用户
|
||||
version: "1.0.68", //版本号
|
||||
version: "1.0.69", //版本号
|
||||
shushu_DistinctId: "", //数数访客ID
|
||||
shushu_AccountId: "", //数数账号ID
|
||||
uid: "", //用户和后端唯一id
|
||||
|
|
|
|||
|
|
@ -26,6 +26,9 @@ export default class Floor extends cc.Component {
|
|||
|
||||
@property({ type: [cc.String], tooltip: "可移动地板图片" })
|
||||
FloorSpriteFrame: Array<string> = [];
|
||||
|
||||
@property({ type: [cc.SpriteFrame], tooltip: "可移动地板图片" })
|
||||
FloorMoveSpriteFrame: Array<cc.SpriteFrame> = [];
|
||||
posX: any;
|
||||
posY: any;
|
||||
color: number = -1;
|
||||
|
|
@ -55,8 +58,11 @@ export default class Floor extends cc.Component {
|
|||
}
|
||||
|
||||
setSpriteFrame(number, color) {
|
||||
if (this.FloorSpriteFrame.length > 0) {
|
||||
this.node.getChildByName("icon").getComponent(cc.Sprite).spriteFrame = BlockAssetManager.instance.getAtlasFrame("down", this.FloorSpriteFrame[number]);
|
||||
const isMoveFloor = this.node.name === "moveFloor";
|
||||
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)
|
||||
this.color = number + 1;
|
||||
}
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 397 B After Width: | Height: | Size: 796 B |
|
|
@ -24,10 +24,10 @@
|
|||
"offsetY": 0,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 160,
|
||||
"height": 160,
|
||||
"rawWidth": 160,
|
||||
"rawHeight": 160,
|
||||
"width": 168,
|
||||
"height": 168,
|
||||
"rawWidth": 168,
|
||||
"rawHeight": 168,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
|
|
|
|||
|
|
@ -30818,11 +30818,11 @@
|
|||
"catUI": {
|
||||
"__uuid__": "09d077ae-9fce-4041-8f84-7273d7767ef0"
|
||||
},
|
||||
"iconPrefab": null,
|
||||
"_id": "",
|
||||
"cat12": {
|
||||
"__uuid__": "7d090003-0209-4a00-8b00-000000000209"
|
||||
}
|
||||
},
|
||||
"iconPrefab": null,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
|
|
@ -31002,10 +31002,10 @@
|
|||
"catUI": {
|
||||
"__uuid__": "09d077ae-9fce-4041-8f84-7273d7767ef0"
|
||||
},
|
||||
"_id": "",
|
||||
"cat12": {
|
||||
"__uuid__": "7d090003-0209-4a00-8b00-000000000209"
|
||||
}
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
|
|
|
|||
|
|
@ -1,25 +1,21 @@
|
|||
{
|
||||
"ver": "1.1.3",
|
||||
"uuid": "9e1d8b29-96ad-4168-8ed8-6545d21984f5",
|
||||
"uuid": "5092ba89-1e5e-4e68-8585-3995779f525f",
|
||||
"importer": "folder",
|
||||
"isBundle": true,
|
||||
"bundleName": "",
|
||||
"priority": 1,
|
||||
"compressionType": {
|
||||
"wechatgame": "subpackage",
|
||||
"bytedance": "subpackage"
|
||||
"wechatgame": "subpackage"
|
||||
},
|
||||
"optimizeHotUpdate": {
|
||||
"wechatgame": false,
|
||||
"bytedance": false
|
||||
"wechatgame": false
|
||||
},
|
||||
"inlineSpriteFrames": {
|
||||
"wechatgame": false,
|
||||
"bytedance": false
|
||||
"wechatgame": false
|
||||
},
|
||||
"isRemoteBundle": {
|
||||
"wechatgame": false,
|
||||
"bytedance": false
|
||||
"wechatgame": false
|
||||
},
|
||||
"subMetas": {}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 35 KiB |
|
|
@ -426,6 +426,11 @@
|
|||
},
|
||||
"ice": null,
|
||||
"FloorSpriteFrame": [
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"FloorMoveSpriteFrame": [
|
||||
{
|
||||
"__uuid__": "dce8a062-2545-4652-8c1a-9e33be243937"
|
||||
},
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 30 KiB |
|
|
@ -8,8 +8,8 @@
|
|||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"width": 282,
|
||||
"height": 251,
|
||||
"width": 300,
|
||||
"height": 209,
|
||||
"platformSettings": {},
|
||||
"subMetas": {
|
||||
"jibijj": {
|
||||
|
|
@ -21,13 +21,13 @@
|
|||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": -0.5,
|
||||
"offsetY": 0,
|
||||
"trimX": 0,
|
||||
"trimY": 1,
|
||||
"width": 282,
|
||||
"height": 250,
|
||||
"rawWidth": 282,
|
||||
"rawHeight": 251,
|
||||
"trimY": 0,
|
||||
"width": 300,
|
||||
"height": 209,
|
||||
"rawWidth": 300,
|
||||
"rawHeight": 209,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
|
|
|
|||
BIN
assets/res/public/xinCoin.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
|
|
@ -60,11 +60,11 @@
|
|||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 179
|
||||
"__id__": 178
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 178
|
||||
"__id__": 179
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
|
|
@ -4995,7 +4995,7 @@
|
|||
"__id__": 165
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_active": false,
|
||||
"_components": [],
|
||||
"_prefab": {
|
||||
"__id__": 168
|
||||
|
|
@ -6454,17 +6454,6 @@
|
|||
"fileId": "31tJAVrEVGv4yeIs3FVdgd",
|
||||
"sync": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "",
|
||||
"sync": false
|
||||
},
|
||||
{
|
||||
"__type__": "5c4423RKuVMio700zD0B3Un",
|
||||
"_name": "",
|
||||
|
|
@ -6614,5 +6603,16 @@
|
|||
"door/color1"
|
||||
],
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "",
|
||||
"sync": false
|
||||
}
|
||||
]
|
||||
BIN
assets/shop/img/kuang_1.png
Normal file
|
After Width: | Height: | Size: 796 B |
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"ver": "2.3.7",
|
||||
"uuid": "71648655-1095-4175-8de9-17985a9a15bd",
|
||||
"uuid": "4f51946a-fb35-412a-8935-1f2b16e02de0",
|
||||
"importer": "texture",
|
||||
"type": "sprite",
|
||||
"wrapMode": "clamp",
|
||||
|
|
@ -8,26 +8,26 @@
|
|||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"width": 312,
|
||||
"height": 292,
|
||||
"width": 168,
|
||||
"height": 168,
|
||||
"platformSettings": {},
|
||||
"subMetas": {
|
||||
"nz2": {
|
||||
"kuang_1": {
|
||||
"ver": "1.0.6",
|
||||
"uuid": "c6728f0b-b5a4-4013-8e78-ce89e4aa331b",
|
||||
"uuid": "e4242b1f-c44c-40c9-882d-6056662c9959",
|
||||
"importer": "sprite-frame",
|
||||
"rawTextureUuid": "71648655-1095-4175-8de9-17985a9a15bd",
|
||||
"rawTextureUuid": "4f51946a-fb35-412a-8935-1f2b16e02de0",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -0.5,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 311,
|
||||
"height": 292,
|
||||
"rawWidth": 312,
|
||||
"rawHeight": 292,
|
||||
"width": 168,
|
||||
"height": 168,
|
||||
"rawWidth": 168,
|
||||
"rawHeight": 168,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
|
|
@ -17574,8 +17574,8 @@
|
|||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 160,
|
||||
"height": 160
|
||||
"width": 168,
|
||||
"height": 168
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
|
|
@ -17627,7 +17627,7 @@
|
|||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "c2b141f2-de71-4481-b9ee-440c893c28b3"
|
||||
"__uuid__": "e4242b1f-c44c-40c9-882d-6056662c9959"
|
||||
},
|
||||
"_type": 0,
|
||||
"_sizeMode": 1,
|
||||
|
|
@ -17640,9 +17640,7 @@
|
|||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": {
|
||||
"__uuid__": "fd85df88-648f-4407-bab2-da4f15478fb9"
|
||||
},
|
||||
"_atlas": null,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -907,8 +907,8 @@
|
|||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 282,
|
||||
"height": 250
|
||||
"width": 300,
|
||||
"height": 209
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
|
|
@ -920,7 +920,7 @@
|
|||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
55,
|
||||
195.58,
|
||||
188.167,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
|
|
|
|||
BIN
assets/win/texture/20260923-115435.png
Normal file
|
After Width: | Height: | Size: 153 KiB |
38
assets/win/texture/20260923-115435.png.meta
Normal 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": {}
|
||||
}
|
||||
}
|
||||
}
|
||||