This commit is contained in:
COMPUTER\EDY 2026-04-02 16:01:30 +08:00
parent 626ed0202c
commit e72bead10b
13 changed files with 1377 additions and 15 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 354 KiB

View File

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "35d57bf9-3d87-4f37-9928-377a7d450ca0",
"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": "a6161723-a0a4-4a83-adc0-00ff4a7bd711",
"importer": "sprite-frame",
"rawTextureUuid": "35d57bf9-3d87-4f37-9928-377a7d450ca0",
"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": {}
}
}
}

View File

@ -0,0 +1,23 @@
import NumberToImage from "../../Script/NumberToImage";
const { ccclass, property } = cc._decorator;
//排行榜
@ccclass
export default class GachaManager extends cc.Component {
@property(cc.Sprite) //用户头像换图
phone: cc.Sprite = null;
onLoad() {
this.node.opacity = 0;
// this.init();
}
//初始化数据
init(data, topData) {
}
start() {
}
}

View File

@ -0,0 +1,10 @@
{
"ver": "1.1.0",
"uuid": "9598e6b9-ee77-412c-954a-1b37ce9c37be",
"importer": "typescript",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}

File diff suppressed because it is too large Load Diff

View File

@ -2235,7 +2235,7 @@ export default class MapConroler extends cc.Component {
addTime(time) {
if (this.gameOver == true || this.timeNumber <= 0) return;
this.timeNumber += time;
NumberToImage.getTimeMargi3((this.timeNumber - 1), 45, "company_", this.timeLabel)
NumberToImage.getTimeMargi3((this.timeNumber), 45, "company_", this.timeLabel)
}
//检测是否可以通过门
@ -3890,7 +3890,7 @@ export default class MapConroler extends cc.Component {
if (this.timeNumber <= 0) {
this.stopTimeCutDown();
// var timeTemp = cc.fx.GameTool.getTimeMargin3(this.timeNumber);
NumberToImage.getTimeMargi3((this.timeNumber - 1), 45, "company_", this.timeLabel)
NumberToImage.getTimeMargi3((this.timeNumber), 45, "company_", this.timeLabel)
// this.timeLabel.string = timeTemp.toString();
if (!this.pause) this.failLevel("time");
}
@ -3901,7 +3901,7 @@ export default class MapConroler extends cc.Component {
if (!this.pause) this.failLevel("time");
}
// var timeTemp = cc.fx.GameTool.getTimeMargin3(this.timeNumber);
NumberToImage.getTimeMargi3((this.timeNumber - 1), 45, "company_", this.timeLabel)
NumberToImage.getTimeMargi3((this.timeNumber), 45, "company_", this.timeLabel)
// this.timeLabel.string = timeTemp.toString();
}
}.bind(this);
@ -4003,7 +4003,7 @@ export default class MapConroler extends cc.Component {
cc.fx.GameConfig.GM_INFO.freezeAmount -= 1;
// 倒计时加20秒
this.timeNumber += 20;
NumberToImage.getTimeMargi3((this.timeNumber - 1), 45, "company_", this.timeLabel)
NumberToImage.getTimeMargi3((this.timeNumber), 45, "company_", this.timeLabel)
if (cc.fx.GameConfig.GM_INFO.freezeAmount < 0)
cc.fx.GameConfig.GM_INFO.freezeAmount = 0;
this.setPropNum();

View File

@ -0,0 +1,13 @@
{
"ver": "1.1.3",
"uuid": "73314742-8aa0-4c5c-8959-0fa12a38d103",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

View File

@ -0,0 +1,111 @@
skeleton.png
size: 974,479
format: RGBA8888
filter: Linear,Linear
repeat: none
0090001
rotate: true
xy: 2, 348
size: 129, 190
orig: 200, 200
offset: 16, 0
index: -1
0090002
rotate: true
xy: 190, 192
size: 146, 191
orig: 200, 200
offset: 15, 0
index: -1
0090003
rotate: true
xy: 576, 182
size: 156, 182
orig: 200, 200
offset: 13, 0
index: -1
0090004
rotate: true
xy: 769, 2
size: 175, 199
orig: 200, 200
offset: 12, 0
index: -1
0090005
rotate: true
xy: 569, 5
size: 172, 198
orig: 200, 200
offset: 12, 0
index: -1
0090006
rotate: true
xy: 187, 22
size: 168, 195
orig: 200, 200
offset: 12, 0
index: -1
0090007
rotate: true
xy: 384, 22
size: 168, 183
orig: 200, 200
offset: 12, 0
index: -1
0090008
rotate: true
xy: 2, 26
size: 167, 183
orig: 200, 200
offset: 12, 0
index: -1
0090009
rotate: true
xy: 760, 179
size: 159, 183
orig: 200, 200
offset: 13, 0
index: -1
0090010
rotate: true
xy: 2, 195
size: 151, 186
orig: 200, 200
offset: 14, 0
index: -1
0090011
rotate: true
xy: 383, 192
size: 146, 191
orig: 200, 200
offset: 15, 0
index: -1
0090012
rotate: true
xy: 194, 340
size: 137, 193
orig: 200, 200
offset: 15, 0
index: -1
0090013
rotate: true
xy: 389, 340
size: 137, 193
orig: 200, 200
offset: 15, 0
index: -1
0090014
rotate: true
xy: 584, 340
size: 137, 193
orig: 200, 200
offset: 15, 0
index: -1
0090015
rotate: true
xy: 779, 340
size: 137, 193
orig: 200, 200
offset: 15, 0
index: -1

View File

@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "a023b779-85c2-4f90-ba58-5172c200adb3",
"importer": "asset",
"subMetas": {}
}

View File

@ -0,0 +1 @@
{"skeleton":{"hash":"vCfWI1AAQZ+iUmuJBwO1+SDkky0","spine":"3.8.75","x":-100,"y":-100,"width":200,"height":200,"images":"../009/","audio":""},"bones":[{"name":"root"},{"name":"骨骼","parent":"root"}],"slots":[{"name":"0090001","bone":"root","attachment":"0090015"}],"skins":[{"name":"default","attachments":{"0090001":{"0090001":{"width":200,"height":200},"0090002":{"width":200,"height":200},"0090003":{"width":200,"height":200},"0090004":{"width":200,"height":200},"0090005":{"width":200,"height":200},"0090006":{"width":200,"height":200},"0090007":{"width":200,"height":200},"0090008":{"width":200,"height":200},"0090009":{"width":200,"height":200},"0090010":{"width":200,"height":200},"0090011":{"width":200,"height":200},"0090012":{"width":200,"height":200},"0090013":{"width":200,"height":200},"0090014":{"width":200,"height":200},"0090015":{"width":200,"height":200}}}}],"animations":{"009":{"slots":{"0090001":{"attachment":[{"name":"0090001"},{"time":0.0667,"name":"0090002"},{"time":0.1333,"name":"0090003"},{"time":0.2,"name":"0090004"},{"time":0.3,"name":"0090005"},{"time":0.4,"name":"0090006"},{"time":0.5,"name":"0090007"},{"time":0.6,"name":"0090008"},{"time":0.7,"name":"0090009"},{"time":0.8,"name":"0090010"},{"time":0.9,"name":"0090011"},{"time":1,"name":"0090012"},{"time":1.1,"name":"0090013"},{"time":1.2,"name":"0090014"},{"time":1.3,"name":"0090015"},{"time":1.4,"name":"0090014"},{"time":1.5,"name":"0090013"},{"time":1.6,"name":"0090001"}]}}},"animation":{}}}

View File

@ -0,0 +1,10 @@
{
"ver": "1.2.5",
"uuid": "27e9567c-70be-4df3-85b6-acc2be20df73",
"importer": "spine",
"textures": [
"de1d24fc-d668-448e-b373-00596dcc4148"
],
"scale": 1,
"subMetas": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View File

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "de1d24fc-d668-448e-b373-00596dcc4148",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 974,
"height": 479,
"platformSettings": {},
"subMetas": {
"skeleton": {
"ver": "1.0.6",
"uuid": "5d3da5fa-8657-4248-8970-6332b56a3b48",
"importer": "sprite-frame",
"rawTextureUuid": "de1d24fc-d668-448e-b373-00596dcc4148",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 2,
"trimY": 2,
"width": 970,
"height": 475,
"rawWidth": 974,
"rawHeight": 479,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}