This commit is contained in:
2025-07-17 17:18:21 +08:00
commit 1ffc1b5cf0
5309 changed files with 1150310 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "81ff2f13-fde0-4d06-856a-ed4b2518e782",
"files": [
".jpg",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "81ff2f13-fde0-4d06-856a-ed4b2518e782@6c48a",
"displayName": "pauline_2_cg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "81ff2f13-fde0-4d06-856a-ed4b2518e782",
"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": "81ff2f13-fde0-4d06-856a-ed4b2518e782@f9941",
"displayName": "pauline_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": "81ff2f13-fde0-4d06-856a-ed4b2518e782@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": false,
"fixAlphaTransparencyArtifacts": false,
"redirect": "81ff2f13-fde0-4d06-856a-ed4b2518e782@6c48a"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 443 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

@@ -0,0 +1,17 @@
//消息枚举
export enum InnerMsgCode {
GM_UI_Close, //关闭GM界面
SceneLayerBgUp, //刷新场景背景图
UI_Talk_Back, //从聊天界面返回
UI_BD_Sidebar, //抖音侧边栏状态刷新
UI_Socket_Timeout, //socket超时
UI_TalkStageUp, //更改聊天阶段
UI_ResartGame, //重新开始游戏
Data_UserInfo_Up, //用户信息更新
Data_NpcTalkBack, //NPC对话返回
Data_LevelStarUp, //刷新关卡星级
Data_LunciUp, //刷新聊天次数
Data_BDSidebarReward, //抖音侧边栏奖励领取消息
}
@@ -0,0 +1,11 @@
{
"ver": "1.7.1",
"importer": "effect",
"imported": true,
"uuid": "892895f8-9bb3-45b7-8b7b-d11a39d5dc5d",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 330 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 KiB

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "390c3151-0082-4f89-b341-3a83bc8b93bd",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "390c3151-0082-4f89-b341-3a83bc8b93bd@6c48a",
"displayName": "zjm_22",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "390c3151-0082-4f89-b341-3a83bc8b93bd",
"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": "390c3151-0082-4f89-b341-3a83bc8b93bd@f9941",
"displayName": "zjm_22",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 500,
"height": 769,
"rawWidth": 500,
"rawHeight": 769,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-250,
-384.5,
0,
250,
-384.5,
0,
-250,
384.5,
0,
250,
384.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
769,
500,
769,
0,
0,
500,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-250,
-384.5,
0
],
"maxPos": [
250,
384.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "390c3151-0082-4f89-b341-3a83bc8b93bd@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "390c3151-0082-4f89-b341-3a83bc8b93bd@6c48a"
}
}
@@ -0,0 +1,67 @@
import { _decorator, Node, Sprite } from 'cc';
import { GButton } from '../../Main/Common/GButton';
import Utils from '../../Main/Common/Utils';
import { InnerMsgCode } from '../../Main/Config/InnerMsgCode';
import li_BaseView from '../../Main/Common/li_BaseView';
import GameManager from '../../Main/Manager/GameManager';
import ResManager from '../../Main/Manager/ResManager';
const { ccclass, property } = _decorator;
//关卡提示界面
@ccclass('Tips_UI')
export class Tips_UI extends li_BaseView {
private _nodeTab: any = {};
private _data;
//----重写父类接口---------------------------------------
onLoadCT() {
this.registerListenner();
Utils.parseNode(this.node, this._nodeTab)
}
openUIDataCT(data: any): void {
this._data = data
}
registerListenner() {
// Utils.addInnerEL(InnerMsgCode.GM_UI_Close, this, this.resiveGMClose)
}
start() {
GButton.BandClick(this._nodeTab.mask, ()=>{
this.doClose();
}, this, 0, null, null, false);
GButton.BandClick(this._nodeTab.btnClose, ()=>{
this.doClose();
}, this);
let lvCfg = GameManager.getLevelCfg(GameManager.CurLevelId)
//名字
Utils.setString(this._nodeTab.labName, lvCfg.name)
//职业名
Utils.setString(this._nodeTab.labJob, lvCfg.characterRole)
//喜欢话题
Utils.setString(this._nodeTab.labXihuan, lvCfg.characterFavoriteTopic)
//讨厌话题
Utils.setString(this._nodeTab.labTaoyan, lvCfg.characterHateTopic)
//性格
Utils.setString(this._nodeTab.labXingge, lvCfg.characterDisposition)
//提示文本
Utils.setString(this._nodeTab.labTips, lvCfg.tips)
//半身像
let halfPath = `halfPic/${lvCfg.characterHalfLengthPortrait}`
let half = this._nodeTab.half.getComponent(Sprite)
ResManager.I.changeBundleSpriteFrame(half, halfPath, "Raw")
}
update(deltaTime: number) {
}
}
@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "76b69a88-aa5d-473c-b468-bc6a8912c01e",
"files": [
".jpg",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "76b69a88-aa5d-473c-b468-bc6a8912c01e@6c48a",
"displayName": "yeshchina_3_cg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "76b69a88-aa5d-473c-b468-bc6a8912c01e",
"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": "76b69a88-aa5d-473c-b468-bc6a8912c01e@f9941",
"displayName": "yeshchina_3_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": "76b69a88-aa5d-473c-b468-bc6a8912c01e@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": false,
"fixAlphaTransparencyArtifacts": false,
"redirect": "76b69a88-aa5d-473c-b468-bc6a8912c01e@6c48a"
}
}
File diff suppressed because it is too large Load Diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB