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,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "f8b01427-2e93-44f0-b42e-3d9f951f0f3d",
"files": [
".jpg",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "f8b01427-2e93-44f0-b42e-3d9f951f0f3d@6c48a",
"displayName": "youmiaoxiang_3_cg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "f8b01427-2e93-44f0-b42e-3d9f951f0f3d",
"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": "f8b01427-2e93-44f0-b42e-3d9f951f0f3d@f9941",
"displayName": "youmiaoxiang_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": "f8b01427-2e93-44f0-b42e-3d9f951f0f3d@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": false,
"fixAlphaTransparencyArtifacts": false,
"redirect": "f8b01427-2e93-44f0-b42e-3d9f951f0f3d@6c48a"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 796 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 812 KiB

@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "eb7c1524-b668-4a53-afb0-4b43fa9bdd44",
"files": [],
"subMetas": {},
"userData": {}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 340 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 834 KiB

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "15d38ddb-497c-4217-a10c-911532cb8ed8",
"files": [],
"subMetas": {},
"userData": {}
}
@@ -0,0 +1 @@
{"ver":"1.1.50","importer":"scene","imported":true,"uuid":"1a23cd3e-e487-4fd1-a415-346c2087464d","files":[".json"],"subMetas":{},"userData":{}}
Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

@@ -0,0 +1,199 @@
/**
* 公共配置文件
*/
export const G_GlobalNode: string = '__GLobal_Node';
export namespace CommonConfig {
//本地保存
export enum StorageConfigUtil {
BaseData = 'li_' + 1000, // 登录相关
Channel = 2000, //渠道相关
}
export enum StorageConfig {
SETTING_SHAKEON = StorageConfigUtil.BaseData + 1,
SETTING_MUSIC = StorageConfigUtil.BaseData + 2,
SETTING_SOUND = StorageConfigUtil.BaseData + 3,
GAME_CITY = StorageConfigUtil.BaseData + 4, //所在省
GAME_RANK_CITY = StorageConfigUtil.BaseData + 5, //省排行数据 AI
GAME_RANK_USER = StorageConfigUtil.BaseData + 6, //玩家排行数据 AI
GAME_RANK_CDTIME = StorageConfigUtil.BaseData + 7, //上次排行数据刷新时间戳 AI
GAME_SCORE = StorageConfigUtil.BaseData + 8, //玩家积分
GAME_SKIN_ID = StorageConfigUtil.BaseData + 9, //当前选择的皮肤id
GAME_PASSLV = StorageConfigUtil.BaseData + 10, //已完成关卡
DAILYCHALLENGE_PASSLV = StorageConfigUtil.BaseData + 11, //已完成每日挑战关卡
TOOL_KAIKONG = StorageConfigUtil.BaseData + 12, //开孔工具使用过
TOOL_RENYIZHI = StorageConfigUtil.BaseData + 13, //任意指工具使用过
TOOL_RENYIGUAN = StorageConfigUtil.BaseData + 14, //任意罐工具使用过
DD_REGISTTIME = StorageConfigUtil.BaseData + 15, //注册时间字符串
DD_LEVELOPER = StorageConfigUtil.BaseData + 16, //进入关卡且首次进度>0时(或第一次操作)
GUIDE_MAIN = StorageConfigUtil.BaseData + 17, //主界面引导是否完成
GUIDE_TALK = StorageConfigUtil.BaseData + 18, //聊天界面引导是否完成
DOUYIN_SIDEBAR = StorageConfigUtil.Channel + 1, //抖音渠道侧边栏奖励是否领取
}
//UI层级
export enum UILayerGroup {
Layer_ground = 0,
Layer_ui1 = 1,
Layer_ui2 = 2,
Layer_dialog = 3,
Layer_tips = 4,
Layer_top = 5,
}
}
/**关卡配置信息 */
export interface I_LevelConfig {
/**是关卡场景图资源的名称,注意关卡选择界面选中关卡后展示的场景图资源也是这个 */
bgImage: string;
/**后续进入关卡后,关卡中需要播放的音乐资源名称 */
bgm: string;
/**在关卡中,聊天历史信息展示里,角色使用的头像,圆形 80*80 */
characterAvatar: string;
/**关卡中,提示信息界面里需要展示的角色性格文本 */
characterDisposition: string;
/**角色聊天切换的表情立绘,这个暂时先不处理,后面我们需要和你沟通下,资源改成英文名看你怎么匹配(Ai 返回的判断还是中文的) */
characterEmojiSet: string;
/**关卡中,提示信息界面,喜好话题部分需要展示的文本信息 */
characterFavoriteTopic: string;
/**角色默认立绘资源名称 */
characterFullLengthPortrait: string;
/**关卡提示信息界面里使用的角色半身胸像 */
characterHalfLengthPortrait: string;
/**关卡提示信息界面里,厌恶话题的展示文本信息 */
characterHateTopic: string;
/**角色名称,注意在关卡选择界面还有关卡中的聊天窗,关卡提示信息界面这几个地方都涉及展示 */
characterName: string;
/**角色职业设定信息,关卡提示信息界面里的职业部分展示 */
characterRole: string;
/**关卡选择界面里展示的关卡介绍文本信息 */
description: string;
/**关卡中对话得到高分后,额外向玩家展示的鼓励信息 */
encourageMessage: string;
/**结算图片 关卡 0 星,挑战失败的情况下在结算界面展示的 CG 资源名称 */
failureCG: string;
/**结算图片 关卡 1 星,挑战成功的情况下在结算界面展示的 CG 资源名称 */
oneStarCG: string;
/**结算图片 关卡 2 星,挑战成功的情况下在结算界面展示的 CG 资源名称 */
twoStarCG: string;
/**结算图片 关卡 3 星,那么需要展示的 CG 资源对应的名称 */
threeStarCG: string;
/**关卡中,对话得分特别低的情况下,额外给出的向玩家展示的鼓励信息 */
hateMessage: string;
/**关卡选择界面,菱形的头像资源名称 */
icon: string;
/**唯一的关卡 id 信息 */
id: string;
/**关卡是否已解锁,注意锁定状态仍然能够选择关卡,关卡选择界面中的背景和立绘需要切换做展示,但是玩家不能开启游戏哈 */
is_unlock: boolean;
/**npc名称 */
name: string;
/**关卡展示顺序 */
no: number;
/**关卡解锁需要通关的前置关卡 id 信息,对应id字段 */
preLevelId: string;
/**进入关卡后,角色发出给到玩家的开场白信息(历史聊天记录页面中也需要显示,一定是角色发出的第一句话) */
prologueMessage: string;
/**玩家在关卡中,点击随机填充按钮,需要随机选取一句,在输入框中填入,注意填入后不发送,玩家可修改,最终发送的信息还是以玩家点击发送按钮时,填入的信息为主 */
randomInputPool: string[];
/**关卡进行中的record_id,有值时要先获取一下之前的存档 */
record_id: string;
/**关卡历史最高分 */
score: number;
/**关卡历史最高星级 */
star: number;
/**关卡中,关卡提示信息界面里底部展示的提示信息文本,目前测试数据和关卡介绍信息一致,但后续会区分开来 */
tips: string;
/**Npc结算对话 3星时 */
threeStarSummary: string;
/**Npc结算对话 2星时 */
twoStarSummary: string;
/**Npc结算对话 1星时 */
oneStarSummary: string;
/**Npc结算对话 0星时 */
failureSummary: string;
/**Npc表情立绘 害羞 */
characterShyPortrait: string;
/**Npc表情立绘 厌恶 */
characterHatePortrait: string;
/**Npc表情立绘 开心 */
characterHappyPortrait: string;
}
/**关卡对话数据 */
export interface I_LevelStepData {
/**当前聊天次数 */
current_cnt: number;
/**结束评分 */
end_star: number;
/**关卡id */
id: string;
/**最大聊天次数 */
max_cnt: number;
/**当前状态 0:成功 1:进行中 2:失败 3:剩余聊天次数不足 */
status: number;
/**可用总聊天次数 */
total_cnt: number;
/**心动次数 */
heartbeat_cnt: number;
/**剩余可看广告次数 */
ad_num: number;
/**剩余可分享次数 */
share_num: number;
}
/**npc长连接中的回复 */
export interface I_NpcTalkBack {
/**ai表情 */
aiEmoji:string;
/**ai回复 */
aiResponse:string;
/**ai评分 */
aiScore:number;
/**是否完成 */
isFinished:boolean;
/**聊天次数 */
sourceCnt:number;
/**玩家发的文本 */
userInput: string;
/**评价 -1=未生成 0=心动 1=普通 2=厌恶 */
judgement: number;
}
/**对话历史记录数据 */
export interface I_TalkRecordInfo {
/**对话内容 */
talk: string;
/**是否是玩家自己 */
isMe: boolean;
}
/**玩家信息数据 */
export interface I_UserInfo {
id: number;
score: number;
status: number;
/**头像url */
avatar: string;
/**昵称 */
nickname: string;
/**剩余进入关卡次数 */
ticket: number;
/**剩余可看广告次数 - 进入关卡 */
game_ad_num: number;
/**剩余可分享次数 - 进入关卡 */
game_share_num: number;
/**剩余可看广告次数 - 聊天 */
level_ad_num: number;
/**剩余可分享次数 - 聊天 */
level_share_num: number;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "d257dd4d-e1cb-4661-889d-26e18add4362",
"files": [
".jpg",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "d257dd4d-e1cb-4661-889d-26e18add4362@6c48a",
"displayName": "hippo_2_cg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "d257dd4d-e1cb-4661-889d-26e18add4362",
"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": "d257dd4d-e1cb-4661-889d-26e18add4362@f9941",
"displayName": "hippo_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": "d257dd4d-e1cb-4661-889d-26e18add4362@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": false,
"fixAlphaTransparencyArtifacts": false,
"redirect": "d257dd4d-e1cb-4661-889d-26e18add4362@6c48a"
}
}
@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "0bfc3e76-d69a-4005-9325-7a89d93359ea",
"files": [],
"subMetas": {},
"userData": {}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 391 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "f0536913-756b-4f19-8f5a-11b980d8c025",
"files": [
".jpg",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "f0536913-756b-4f19-8f5a-11b980d8c025@6c48a",
"displayName": "phecda_1_cg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "f0536913-756b-4f19-8f5a-11b980d8c025",
"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": "f0536913-756b-4f19-8f5a-11b980d8c025@f9941",
"displayName": "phecda_1_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": "f0536913-756b-4f19-8f5a-11b980d8c025@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": false,
"fixAlphaTransparencyArtifacts": false,
"redirect": "f0536913-756b-4f19-8f5a-11b980d8c025@6c48a"
}
}