This commit is contained in:
computer\尼卡 2025-07-01 17:03:21 +08:00
parent 47d934e92f
commit fbce54be55
42 changed files with 17375 additions and 20938 deletions

File diff suppressed because it is too large Load Diff

View File

@ -46,6 +46,8 @@ export default class NumberToImage extends cc.Component {
}
static getTimeMargin(number, width, name, targetNode: cc.Node) {
let timeArr = [];
let total = 0;

BIN
assets/UI/UI/set/kuang.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "7f567136-53bc-4c96-a750-aa95eeecaa07",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 314,
"height": 96,
"platformSettings": {},
"subMetas": {
"kuang": {
"ver": "1.0.6",
"uuid": "5cbb11be-654b-4e9c-9d67-d6ae7a0fd06f",
"importer": "sprite-frame",
"rawTextureUuid": "7f567136-53bc-4c96-a750-aa95eeecaa07",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 314,
"height": 96,
"rawWidth": 314,
"rawHeight": 96,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

View File

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "f1e8d6ff-d4b3-4df1-8e06-c84b096bbb8a",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1080,
"height": 2340,
"platformSettings": {},
"subMetas": {
"方块迷阵-暂停界面": {
"ver": "1.0.6",
"uuid": "54908e26-49c9-493d-970a-ceb0aaf6d203",
"importer": "sprite-frame",
"rawTextureUuid": "f1e8d6ff-d4b3-4df1-8e06-c84b096bbb8a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1080,
"height": 2340,
"rawWidth": 1080,
"rawHeight": 2340,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 535 KiB

View File

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "9d632a76-1360-4974-8437-11cc0278ac8d",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1080,
"height": 2340,
"platformSettings": {},
"subMetas": {
"方块迷阵-设置界面0618": {
"ver": "1.0.6",
"uuid": "339f04df-e9ea-4ad4-bebd-5d274e63e61f",
"importer": "sprite-frame",
"rawTextureUuid": "9d632a76-1360-4974-8437-11cc0278ac8d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1080,
"height": 2340,
"rawWidth": 1080,
"rawHeight": 2340,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -29,10 +29,8 @@ export default class NewClass extends cc.Component {
{ product_id: "gold_pack_4", name: "金币包4", price: 12800, title: "" },
{ product_id: "gold_pack_5", name: "金币包5", price: 32800, title: "" },
{ product_id: "gold_pack_6", name: "金币包6", price: 64800, title: "" },
{ product_id: "unlimited_health_bundle_1", name: "无限体力组合包1", price: 1800, title: "3个横版礼包" },
{ product_id: "unlimited_health_bundle_2", name: "无限体力组合包2", price: 6600, title: "" }
];
for (let i = 1; i <= 8 && i < this.itemList.children.length; i++) {
for (let i = 1; i <= 6 && i < this.itemList.children.length; i++) {
const spriteComp = this.itemList.children[i].children[0].getComponent(cc.Sprite);
const price = this.itemList.children[i].children[1];
const title = this.itemList.children[i].children[2];

View File

@ -0,0 +1,28 @@
{
"__type__": "cc.SpriteFrame",
"content": {
"name": "方块迷阵-设置界面0618",
"texture": "9d632a76-1360-4974-8437-11cc0278ac8d",
"atlas": "",
"rect": [
0,
0,
1080,
2340
],
"offset": [
0,
0
],
"originalSize": [
1080,
2340
],
"capInsets": [
0,
0,
0,
0
]
}
}

View File

@ -52,10 +52,8 @@ var NewClass = /** @class */ (function (_super) {
{ product_id: "gold_pack_4", name: "金币包4", price: 12800, title: "" },
{ product_id: "gold_pack_5", name: "金币包5", price: 32800, title: "" },
{ product_id: "gold_pack_6", name: "金币包6", price: 64800, title: "" },
{ product_id: "unlimited_health_bundle_1", name: "无限体力组合包1", price: 1800, title: "3个横版礼包" },
{ product_id: "unlimited_health_bundle_2", name: "无限体力组合包2", price: 6600, title: "" }
];
for (var i = 1; i <= 8 && i < this.itemList.children.length; i++) {
for (var i = 1; i <= 6 && i < this.itemList.children.length; i++) {
var spriteComp = this.itemList.children[i].children[0].getComponent(cc.Sprite);
var price = this.itemList.children[i].children[1];
var title = this.itemList.children[i].children[2];

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,28 @@
{
"__type__": "cc.SpriteFrame",
"content": {
"name": "方块迷阵-暂停界面",
"texture": "f1e8d6ff-d4b3-4df1-8e06-c84b096bbb8a",
"atlas": "",
"rect": [
0,
0,
1080,
2340
],
"offset": [
0,
0
],
"originalSize": [
1080,
2340
],
"capInsets": [
0,
0,
0,
0
]
}
}

View File

@ -0,0 +1,28 @@
{
"__type__": "cc.SpriteFrame",
"content": {
"name": "kuang",
"texture": "7f567136-53bc-4c96-a750-aa95eeecaa07",
"atlas": "",
"rect": [
0,
0,
314,
96
],
"offset": [
0,
0
],
"originalSize": [
314,
96
],
"capInsets": [
0,
0,
0,
0
]
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -0,0 +1,4 @@
{
"__type__": "cc.Texture2D",
"content": "1,9729,9729,33071,33071,0,0,1"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 535 KiB

View File

@ -0,0 +1,4 @@
{
"__type__": "cc.Texture2D",
"content": "1,9729,9729,33071,33071,0,0,1"
}

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

View File

@ -0,0 +1,4 @@
{
"__type__": "cc.Texture2D",
"content": "1,9729,9729,33071,33071,0,0,1"
}

View File

@ -145,8 +145,8 @@
"relativePath": "Script\\RankManager.ts"
},
"9c08062d-4cf1-4b6e-a8ba-4a3881cc7e7d": {
"asset": 1751354233097,
"meta": 1751354233102,
"asset": 1751357627431,
"meta": 1751357627431,
"relativePath": "StartScene\\LoadScene.fire"
},
"93c9bdf3-8205-46e5-a8f1-3576b0dbc836": {
@ -3250,8 +3250,8 @@
"relativePath": "prefab\\map\\wall.prefab"
},
"66281f32-0047-4af8-8237-90c93fc4b0e8": {
"asset": 1751350734594,
"meta": 1751350734600,
"asset": 1751360532984,
"meta": 1751360532993,
"relativePath": "Scene\\HomeScene.fire"
},
"4eaf518b-35ec-4262-928d-4d497c3f2830": {
@ -3285,8 +3285,8 @@
"relativePath": "UI\\UI\\set"
},
"b01ef5c5-2755-455d-acb4-ba3818f5e331": {
"asset": 1751353092137,
"meta": 1751353092144,
"asset": 1751355190122,
"meta": 1751355190129,
"relativePath": "shop\\prefab\\shop.prefab"
},
"a81d74d9-943b-4d0e-aad5-2999276d3447": {
@ -3399,11 +3399,6 @@
"meta": 1751340688934,
"relativePath": "Script\\Sdk\\MiniGameSdk.ts"
},
"669f44ae-4a5f-4e46-a6b0-05c6f008da46": {
"asset": 1751351951784,
"meta": 1751351972099,
"relativePath": "Script\\NumberToImage.ts"
},
"fa9a438e-1f24-47fe-bbcd-b75abcff2ea8": {
"asset": 1751352270767,
"meta": 1751352332017,
@ -3414,11 +3409,6 @@
"meta": 1751352331898,
"relativePath": "res\\font\\font.png"
},
"48bfe66e-6056-44da-a9a0-c5b5b6222801": {
"asset": 1751353063747,
"meta": 1751353064888,
"relativePath": "shop\\script\\shop.ts"
},
"2234ab2c-a7b4-48be-90e0-ae7aa58e9d91": {
"asset": 1751353522650,
"meta": 1751353523919,
@ -3433,5 +3423,30 @@
"asset": 1749810324000,
"meta": 1751354227036,
"relativePath": "TextureBg\\pop_Bg\\loadBg.jpg"
},
"669f44ae-4a5f-4e46-a6b0-05c6f008da46": {
"asset": 1751356444554,
"meta": 1751356461438,
"relativePath": "Script\\NumberToImage.ts"
},
"48bfe66e-6056-44da-a9a0-c5b5b6222801": {
"asset": 1751356459164,
"meta": 1751356461465,
"relativePath": "shop\\script\\shop.ts"
},
"f1e8d6ff-d4b3-4df1-8e06-c84b096bbb8a": {
"asset": 1750229200000,
"meta": 1751359024355,
"relativePath": "UI\\UI\\set\\方块迷阵-暂停界面.jpg"
},
"9d632a76-1360-4974-8437-11cc0278ac8d": {
"asset": 1750229266000,
"meta": 1751359024378,
"relativePath": "UI\\UI\\set\\方块迷阵-设置界面0618.jpg"
},
"7f567136-53bc-4c96-a750-aa95eeecaa07": {
"asset": 1751359531828,
"meta": 1751359548016,
"relativePath": "UI\\UI\\set\\kuang.jpg"
}
}

View File

@ -1,6 +1,6 @@
{
"platform": "mini-game",
"actualPlatform": "wechatgame",
"platform": "web-mobile",
"actualPlatform": "web-mobile",
"template": "link",
"buildPath": "./build",
"debug": false,

View File

@ -19,7 +19,7 @@
"children": [
{
"width": 313,
"height": 282.75,
"height": 226,
"type": "panel",
"active": 0,
"children": [
@ -28,7 +28,7 @@
},
{
"width": 313,
"height": 282.75,
"height": 339.4895935058594,
"type": "panel",
"active": 0,
"children": [

View File

@ -1,5 +1,5 @@
{
"last-edit": "9c08062d-4cf1-4b6e-a8ba-4a3881cc7e7d",
"last-edit": "66281f32-0047-4af8-8237-90c93fc4b0e8",
"recent-items": [
"5ed13d95-5b93-4407-b770-0dedeb674b0f",
"bf502854-8e31-40c1-9d27-ac480682b4c4",
@ -36,9 +36,9 @@
"fc41ae6e-8743-4057-86fa-bff2f8ff171b",
"4466b8d6-b468-4cb5-bc57-7a2bd3df12e4",
"a81d74d9-943b-4d0e-aad5-2999276d3447",
"66281f32-0047-4af8-8237-90c93fc4b0e8",
"b01ef5c5-2755-455d-acb4-ba3818f5e331",
"4eaf518b-35ec-4262-928d-4d497c3f2830",
"9c08062d-4cf1-4b6e-a8ba-4a3881cc7e7d"
"b01ef5c5-2755-455d-acb4-ba3818f5e331",
"9c08062d-4cf1-4b6e-a8ba-4a3881cc7e7d",
"66281f32-0047-4af8-8237-90c93fc4b0e8"
]
}

View File

@ -12,7 +12,7 @@
"webOrientation": "portrait",
"inlineSpriteFrames": true,
"inlineSpriteFrames_native": true,
"mainCompressionType": "subpackage",
"mainCompressionType": "default",
"mainIsRemote": false,
"optimizeHotUpdate": false,
"md5Cache": true,

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -52,10 +52,8 @@ var NewClass = /** @class */ (function (_super) {
{ product_id: "gold_pack_4", name: "金币包4", price: 12800, title: "" },
{ product_id: "gold_pack_5", name: "金币包5", price: 32800, title: "" },
{ product_id: "gold_pack_6", name: "金币包6", price: 64800, title: "" },
{ product_id: "unlimited_health_bundle_1", name: "无限体力组合包1", price: 1800, title: "3个横版礼包" },
{ product_id: "unlimited_health_bundle_2", name: "无限体力组合包2", price: 6600, title: "" }
];
for (var i = 1; i <= 8 && i < this.itemList.children.length; i++) {
for (var i = 1; i <= 6 && i < this.itemList.children.length; i++) {
var spriteComp = this.itemList.children[i].children[0].getComponent(cc.Sprite);
var price = this.itemList.children[i].children[1];
var title = this.itemList.children[i].children[2];

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB