This commit is contained in:
2025-07-17 17:18:21 +08:00
commit 1ffc1b5cf0
5309 changed files with 1150310 additions and 0 deletions
@@ -0,0 +1,3 @@
{
"__version__": "1.0.6"
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "52bdd6b1-c1bd-41b9-a53c-3e63ef23ba35",
"files": [
".jpg",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "52bdd6b1-c1bd-41b9-a53c-3e63ef23ba35@6c48a",
"displayName": "yunge_2_cg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "52bdd6b1-c1bd-41b9-a53c-3e63ef23ba35",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "52bdd6b1-c1bd-41b9-a53c-3e63ef23ba35@f9941",
"displayName": "yunge_2_cg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 996,
"height": 1280,
"rawWidth": 996,
"rawHeight": 1280,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-498,
-640,
0,
498,
-640,
0,
-498,
640,
0,
498,
640,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
1280,
996,
1280,
0,
0,
996,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-498,
-640,
0
],
"maxPos": [
498,
640,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "52bdd6b1-c1bd-41b9-a53c-3e63ef23ba35@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": false,
"fixAlphaTransparencyArtifacts": false,
"redirect": "52bdd6b1-c1bd-41b9-a53c-3e63ef23ba35@6c48a"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "de914f26-3189-46bb-ae63-dd2c1a243a90",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "de914f26-3189-46bb-ae63-dd2c1a243a90@6c48a",
"displayName": "hanako_disgust",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "de914f26-3189-46bb-ae63-dd2c1a243a90",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "de914f26-3189-46bb-ae63-dd2c1a243a90@f9941",
"displayName": "hanako_disgust",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -5,
"offsetY": -55.5,
"trimX": 180,
"trimY": 111,
"width": 555,
"height": 1078,
"rawWidth": 925,
"rawHeight": 1189,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-277.5,
-539,
0,
277.5,
-539,
0,
-277.5,
539,
0,
277.5,
539,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
180,
1078,
735,
1078,
180,
0,
735,
0
],
"nuv": [
0.1945945945945946,
0,
0.7945945945945946,
0,
0.1945945945945946,
0.9066442388561816,
0.7945945945945946,
0.9066442388561816
],
"minPos": [
-277.5,
-539,
0
],
"maxPos": [
277.5,
539,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "de914f26-3189-46bb-ae63-dd2c1a243a90@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "de914f26-3189-46bb-ae63-dd2c1a243a90@6c48a"
}
}
@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "cf42341f-b68a-4dce-bd62-9e080af1e8bc",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "cf42341f-b68a-4dce-bd62-9e080af1e8bc@6c48a",
"displayName": "jinhyun_laugh",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "cf42341f-b68a-4dce-bd62-9e080af1e8bc",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "cf42341f-b68a-4dce-bd62-9e080af1e8bc@f9941",
"displayName": "jinhyun_laugh",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 28,
"offsetY": -4.5,
"trimX": 75,
"trimY": 9,
"width": 831,
"height": 1180,
"rawWidth": 925,
"rawHeight": 1189,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-415.5,
-590,
0,
415.5,
-590,
0,
-415.5,
590,
0,
415.5,
590,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
75,
1180,
906,
1180,
75,
0,
906,
0
],
"nuv": [
0.08108108108108109,
0,
0.9794594594594594,
0,
0.08108108108108109,
0.992430613961312,
0.9794594594594594,
0.992430613961312
],
"minPos": [
-415.5,
-590,
0
],
"maxPos": [
415.5,
590,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "cf42341f-b68a-4dce-bd62-9e080af1e8bc@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "cf42341f-b68a-4dce-bd62-9e080af1e8bc@6c48a"
}
}
@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "cf120bc1-5d3d-4351-8db9-6c53f1063eec",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "cf120bc1-5d3d-4351-8db9-6c53f1063eec@6c48a",
"displayName": "danyu_default",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "cf120bc1-5d3d-4351-8db9-6c53f1063eec",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "cf120bc1-5d3d-4351-8db9-6c53f1063eec@f9941",
"displayName": "danyu_default",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0.5,
"offsetY": -7.5,
"trimX": 138,
"trimY": 15,
"width": 525,
"height": 1014,
"rawWidth": 800,
"rawHeight": 1029,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-262.5,
-507,
0,
262.5,
-507,
0,
-262.5,
507,
0,
262.5,
507,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
138,
1014,
663,
1014,
138,
0,
663,
0
],
"nuv": [
0.1725,
0,
0.82875,
0,
0.1725,
0.9854227405247813,
0.82875,
0.9854227405247813
],
"minPos": [
-262.5,
-507,
0
],
"maxPos": [
262.5,
507,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "cf120bc1-5d3d-4351-8db9-6c53f1063eec@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "cf120bc1-5d3d-4351-8db9-6c53f1063eec@6c48a"
}
}
@@ -0,0 +1,30 @@
{
"__version__": "1.0.3",
"builder": {
"common": {
"buildPath": "project://build",
"outputName": "bytedance-mini-game",
"mainBundleCompressionType": "merge_dep",
"platform": "bytedance-mini-game",
"startScene": "16b0d021-6436-4bbc-ba5e-05ebe3e84ba4",
"server": "https://hxzgame.vip.hnhxzkj.com/lzx/XiangQin/remFile.bd.1.0.0"
},
"taskOptionsMap": {
"1736838627770": {
"buildOpenDataContextTemplate": "",
"appid": "testappId",
"orientation": "portrait",
"physX": {
"use": "project",
"notPackPhysXLibs": false,
"multiThread": false,
"subThreadCount": 1,
"epsilon": 0.001
},
"devToolsLaunchMethod": "lite",
"__version__": "1.0.3"
}
},
"__version__": "1.3.8"
}
}
@@ -0,0 +1,60 @@
import { _decorator } from "cc";
import Utils from "../Common/Utils";
const { ccclass, property } = _decorator;
//配置表管理器
@ccclass('Resource')
export default class Resource {
static instance: Resource = null;
private _config = {};//策划数值表
static getInstance() {
if (!this.instance) this.init();
return this.instance;
}
//初始化
static init() {
if (!this.instance) {
this.instance = new Resource();
(window as any).Resource = this;
}
}
/**加载子包时添加 */
static addSubJsonConfig(name, tab) {
let _instance = this.getInstance();
if (!_instance._config) _instance._config = {};
if (!_instance._config[name]) _instance._config[name] = {};
let json_SS, json_key1, json_key2
for (const key in tab) {
json_SS = tab[key];
if (!json_key1){
json_key1 = json_SS.id ? "id" : "ID" //默认用id
}
json_key2 = json_SS[json_key1]
_instance._config[name][json_key2] = json_SS;
}
}
/**
* 获取表数据
* @param table 表名
*/
static getConfig(table: string) {
if (!table) {
Utils.Log('策划数值表名为空!', table);
return null;
}
let _instance = this.getInstance();
if (!_instance._config) _instance._config = {};
if (!_instance._config[table]) {
// _instance._config[table] = {};
Utils.Error("配置表未找到:", table)
return null;
}
let config_D = _instance._config[table];
return config_D;
}
}
@@ -0,0 +1,28 @@
import { _decorator, Component, Node, tween, UIOpacity, Vec3 } from 'cc';
const { ccclass, property } = _decorator;
/**界面打开动画 */
@ccclass('UIOpenAni')
export class UIOpenAni extends Component {
private uiopa: UIOpacity = null;
start() {
this.uiopa = this.node.getComponent(UIOpacity);
if (!this.uiopa) {
this.uiopa = this.node.addComponent(UIOpacity);
}
//动作1 透明度
this.uiopa.opacity = 50;
tween(this.uiopa).to(0.15, { opacity: 255 }).start();
//动作2 缩放
let origScale = new Vec3(this.node.scale.x, this.node.scale.y, this.node.scale.z);
this.node.scale = new Vec3(0.7, 0.7, 0.7);
tween(this.node).to(0.2, { scale: origScale }, { easing: 'backOut' }).start();
}
update(deltaTime: number) {
}
}
@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "4ed6322f-afd1-47ab-a06b-9c3eaa5342a3",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "4ed6322f-afd1-47ab-a06b-9c3eaa5342a3@6c48a",
"displayName": "lingxia_disgust",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "4ed6322f-afd1-47ab-a06b-9c3eaa5342a3",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "4ed6322f-afd1-47ab-a06b-9c3eaa5342a3@f9941",
"displayName": "lingxia_disgust",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 18,
"offsetY": -9.5,
"trimX": 182,
"trimY": 19,
"width": 597,
"height": 1170,
"rawWidth": 925,
"rawHeight": 1189,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-298.5,
-585,
0,
298.5,
-585,
0,
-298.5,
585,
0,
298.5,
585,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
182,
1170,
779,
1170,
182,
0,
779,
0
],
"nuv": [
0.19675675675675675,
0,
0.8421621621621621,
0,
0.19675675675675675,
0.9840201850294366,
0.8421621621621621,
0.9840201850294366
],
"minPos": [
-298.5,
-585,
0
],
"maxPos": [
298.5,
585,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "4ed6322f-afd1-47ab-a06b-9c3eaa5342a3@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "4ed6322f-afd1-47ab-a06b-9c3eaa5342a3@6c48a"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 874 KiB

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "a6988c10-f6cf-4606-9bdf-19eaac8d7d25",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "a6988c10-f6cf-4606-9bdf-19eaac8d7d25@6c48a",
"displayName": "pauline_avatar",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "a6988c10-f6cf-4606-9bdf-19eaac8d7d25",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "a6988c10-f6cf-4606-9bdf-19eaac8d7d25@f9941",
"displayName": "pauline_avatar",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 80,
"height": 80,
"rawWidth": 80,
"rawHeight": 80,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-40,
-40,
0,
40,
-40,
0,
-40,
40,
0,
40,
40,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
80,
80,
80,
0,
0,
80,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-40,
-40,
0
],
"maxPos": [
40,
40,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "a6988c10-f6cf-4606-9bdf-19eaac8d7d25@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "a6988c10-f6cf-4606-9bdf-19eaac8d7d25@6c48a"
}
}