feat: 提交资源
This commit is contained in:
9
assets/resources/auto-gen.meta
Normal file
9
assets/resources/auto-gen.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "5e398ff3-2864-4c54-8345-a38f79bada1e",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
BIN
assets/resources/auto-gen/cfg.bin
Normal file
BIN
assets/resources/auto-gen/cfg.bin
Normal file
Binary file not shown.
12
assets/resources/auto-gen/cfg.bin.meta
Normal file
12
assets/resources/auto-gen/cfg.bin.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"ver": "1.0.3",
|
||||
"importer": "buffer",
|
||||
"imported": true,
|
||||
"uuid": "be2d6bb9-23ff-40e1-8de7-ed1c8c5cdb8a",
|
||||
"files": [
|
||||
".bin",
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
136
assets/resources/guide-config.json
Normal file
136
assets/resources/guide-config.json
Normal file
@@ -0,0 +1,136 @@
|
||||
{
|
||||
"mainGuide": {
|
||||
"id": "newbie_guide_test",
|
||||
"name": "新手引导测试",
|
||||
"version": "1.0.0",
|
||||
"description": "包含10步的完整新手引导流程,展示分支逻辑和跳过功能",
|
||||
"priority": 1,
|
||||
"enabled": true,
|
||||
"trigger": {
|
||||
"type": "immediate",
|
||||
"params": {
|
||||
"scene": "main",
|
||||
"firstTime": true
|
||||
}
|
||||
},
|
||||
"startStepId": "step_welcome",
|
||||
"repeatable": false,
|
||||
"customData": {
|
||||
"category": "tutorial",
|
||||
"difficulty": "beginner",
|
||||
"estimatedTime": 300
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"id": "step_welcome",
|
||||
"type": "text",
|
||||
"title": "欢迎来到游戏!",
|
||||
"description": "让我们开始一段精彩的冒险之旅吧!点击任意位置继续。",
|
||||
"targetPath": "UIRoot/Button",
|
||||
"targetName": "Button",
|
||||
"maskShape": "rect",
|
||||
"maskOffset": { "x": 0, "y": 0 },
|
||||
"maskRadius": 10,
|
||||
"textPosition": { "x": 0, "y": -250 },
|
||||
"arrowDirection": "up",
|
||||
"arrowOffset": { "x": 0, "y": -50 },
|
||||
"nextStepId": "step_ui_intro",
|
||||
"skippable": true,
|
||||
"autoNextStep": true
|
||||
},
|
||||
{
|
||||
"id": "step_ui_intro",
|
||||
"type": "highlight",
|
||||
"title": "界面介绍",
|
||||
"description": "这是游戏的主界面,让我们来了解一下各个功能区域。",
|
||||
"targetPath": "UIRoot/Button-001",
|
||||
"targetName": "Button",
|
||||
"maskShape": "rect",
|
||||
"maskOffset": { "x": 0, "y": 0 },
|
||||
"maskRadius": 10,
|
||||
"textPosition": { "x": 0, "y": -250 },
|
||||
"arrowDirection": "up",
|
||||
"arrowOffset": { "x": 0, "y": -50 },
|
||||
"skippable": true,
|
||||
"autoNextStep": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"skipGuide": {
|
||||
"id": "skip_guide_test",
|
||||
"name": "跳过引导测试",
|
||||
"version": "1.0.0",
|
||||
"description": "测试引导跳过功能的简化配置",
|
||||
"priority": 2,
|
||||
"enabled": true,
|
||||
"trigger": {
|
||||
"type": "event",
|
||||
"params": {
|
||||
"event": "skip_guide_requested"
|
||||
}
|
||||
},
|
||||
"startStepId": "step_skip_confirm",
|
||||
"repeatable": true,
|
||||
"steps": [
|
||||
{
|
||||
"id": "step_skip_confirm",
|
||||
"type": "text",
|
||||
"title": "确认跳过",
|
||||
"description": "您确定要跳过新手引导吗?跳过后您将错过一些重要的游戏介绍。",
|
||||
"textPosition": { "x": 0, "y": 0 },
|
||||
"skippable": false,
|
||||
"branches": [
|
||||
{
|
||||
"id": "branch_confirm_skip",
|
||||
"condition": {
|
||||
"type": "user_choice",
|
||||
"params": { "choice": "confirm" },
|
||||
"expression": "choice === 'confirm'"
|
||||
},
|
||||
"nextStepId": "step_skip_completed"
|
||||
},
|
||||
{
|
||||
"id": "branch_cancel_skip",
|
||||
"condition": {
|
||||
"type": "user_choice",
|
||||
"params": { "choice": "cancel" },
|
||||
"expression": "choice === 'cancel'"
|
||||
},
|
||||
"nextStepId": "step_return_to_guide"
|
||||
}
|
||||
],
|
||||
"customData": {
|
||||
"showConfirmDialog": true,
|
||||
"confirmText": "确认跳过",
|
||||
"cancelText": "继续引导"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "step_skip_completed",
|
||||
"type": "text",
|
||||
"title": "跳过完成",
|
||||
"description": "新手引导已跳过。您可以在设置菜单中重新开始引导。",
|
||||
"textPosition": { "x": 0, "y": 0 },
|
||||
"waitTime": 2000,
|
||||
"skippable": false,
|
||||
"customData": {
|
||||
"skipCompleted": true,
|
||||
"enableReplayButton": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "step_return_to_guide",
|
||||
"type": "text",
|
||||
"title": "继续引导",
|
||||
"description": "好的,让我们继续新手引导。",
|
||||
"textPosition": { "x": 0, "y": 0 },
|
||||
"waitTime": 1000,
|
||||
"skippable": false,
|
||||
"customData": {
|
||||
"returnToMainGuide": true,
|
||||
"resumeStepId": "step_welcome"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
11
assets/resources/guide-config.json.meta
Normal file
11
assets/resources/guide-config.json.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "2.0.1",
|
||||
"importer": "json",
|
||||
"imported": true,
|
||||
"uuid": "fad171db-1987-4f39-a151-fa60ca0e4d9f",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
BIN
assets/resources/jiabina.png
Normal file
BIN
assets/resources/jiabina.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 161 KiB |
137
assets/resources/jiabina.png.meta
Normal file
137
assets/resources/jiabina.png.meta
Normal file
@@ -0,0 +1,137 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "9098352a-53d4-417e-8764-a21745e74319",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "9098352a-53d4-417e-8764-a21745e74319@6c48a",
|
||||
"displayName": "jiabina",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"minfilter": "linear",
|
||||
"magfilter": "linear",
|
||||
"mipfilter": "none",
|
||||
"anisotropy": 0,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "9098352a-53d4-417e-8764-a21745e74319",
|
||||
"visible": false
|
||||
},
|
||||
"ver": "1.0.22",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"f9941": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "9098352a-53d4-417e-8764-a21745e74319@f9941",
|
||||
"displayName": "jiabina",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"rawWidth": 512,
|
||||
"rawHeight": 512,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-256,
|
||||
-256,
|
||||
0,
|
||||
256,
|
||||
-256,
|
||||
0,
|
||||
-256,
|
||||
256,
|
||||
0,
|
||||
256,
|
||||
256,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
0,
|
||||
512,
|
||||
512,
|
||||
512,
|
||||
0,
|
||||
0,
|
||||
512,
|
||||
0
|
||||
],
|
||||
"nuv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-256,
|
||||
-256,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
256,
|
||||
256,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "9098352a-53d4-417e-8764-a21745e74319@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"hasAlpha": true,
|
||||
"type": "sprite-frame",
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "9098352a-53d4-417e-8764-a21745e74319@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true
|
||||
}
|
||||
}
|
||||
}
|
||||
10
assets/resources/net-config.json
Normal file
10
assets/resources/net-config.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"httpRootUrl": "http://127.0.0.1:7001",
|
||||
"wsRootUrl": "ws://127.0.0.1:8080",
|
||||
"defaultTimeout": 30000,
|
||||
"defaultRetryCount": 3,
|
||||
"defaultRetryDelay": 1000,
|
||||
"defaultHeaders": {
|
||||
"Content-Type": "application/json"
|
||||
}
|
||||
}
|
||||
11
assets/resources/net-config.json.meta
Normal file
11
assets/resources/net-config.json.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "2.0.1",
|
||||
"importer": "json",
|
||||
"imported": true,
|
||||
"uuid": "304e861b-efd6-46b6-8537-6752e095fca8",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
156
assets/resources/task-configs.json
Normal file
156
assets/resources/task-configs.json
Normal file
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"dailyTasks": [
|
||||
{
|
||||
"id": "daily_login",
|
||||
"name": "每日登录",
|
||||
"description": "每天登录游戏获得奖励",
|
||||
"type": "daily",
|
||||
"priority": 1,
|
||||
"icon": "icon_daily_login",
|
||||
"targets": [
|
||||
{
|
||||
"id": "login_count",
|
||||
"type": "count",
|
||||
"description": "登录游戏",
|
||||
"targetCount": 1,
|
||||
"currentCount": 0
|
||||
}
|
||||
],
|
||||
"rewards": [
|
||||
{
|
||||
"type": "gold",
|
||||
"id": "gold",
|
||||
"amount": 100,
|
||||
"name": "金币",
|
||||
"description": "游戏货币"
|
||||
},
|
||||
{
|
||||
"type": "exp",
|
||||
"id": "exp",
|
||||
"amount": 50,
|
||||
"name": "经验值",
|
||||
"description": "角色经验"
|
||||
}
|
||||
],
|
||||
"resetCycle": "daily",
|
||||
"enabled": true,
|
||||
"repeatable": true
|
||||
},
|
||||
{
|
||||
"id": "daily_battle",
|
||||
"name": "每日战斗",
|
||||
"description": "完成3场战斗",
|
||||
"type": "daily",
|
||||
"priority": 2,
|
||||
"targets": [
|
||||
{
|
||||
"id": "battle_count",
|
||||
"type": "count",
|
||||
"description": "完成战斗",
|
||||
"targetCount": 3,
|
||||
"currentCount": 0
|
||||
}
|
||||
],
|
||||
"rewards": [
|
||||
{
|
||||
"type": "gold",
|
||||
"id": "gold",
|
||||
"amount": 200,
|
||||
"name": "金币"
|
||||
}
|
||||
],
|
||||
"resetCycle": "daily",
|
||||
"enabled": true,
|
||||
"repeatable": true
|
||||
}
|
||||
],
|
||||
"weeklyTasks": [
|
||||
{
|
||||
"id": "weekly_dungeon",
|
||||
"name": "每周副本",
|
||||
"description": "完成5次副本挑战",
|
||||
"type": "weekly",
|
||||
"priority": 1,
|
||||
"targets": [
|
||||
{
|
||||
"id": "dungeon_count",
|
||||
"type": "count",
|
||||
"description": "完成副本",
|
||||
"targetCount": 5,
|
||||
"currentCount": 0
|
||||
}
|
||||
],
|
||||
"rewards": [
|
||||
{
|
||||
"type": "item",
|
||||
"id": "rare_equipment_box",
|
||||
"amount": 1,
|
||||
"name": "稀有装备箱"
|
||||
}
|
||||
],
|
||||
"resetCycle": "weekly",
|
||||
"enabled": true,
|
||||
"repeatable": true
|
||||
}
|
||||
],
|
||||
"monthlyTasks": [
|
||||
{
|
||||
"id": "monthly_achievement",
|
||||
"name": "月度成就",
|
||||
"description": "本月累计获得10000经验",
|
||||
"type": "monthly",
|
||||
"priority": 1,
|
||||
"targets": [
|
||||
{
|
||||
"id": "exp_gain",
|
||||
"type": "gain",
|
||||
"description": "获得经验",
|
||||
"targetCount": 10000,
|
||||
"currentCount": 0
|
||||
}
|
||||
],
|
||||
"rewards": [
|
||||
{
|
||||
"type": "title",
|
||||
"id": "monthly_hero",
|
||||
"amount": 1,
|
||||
"name": "月度英雄"
|
||||
}
|
||||
],
|
||||
"resetCycle": "monthly",
|
||||
"enabled": true,
|
||||
"repeatable": true
|
||||
}
|
||||
],
|
||||
"seasonalTasks": [
|
||||
{
|
||||
"id": "season_1_master",
|
||||
"name": "赛季大师",
|
||||
"description": "在第一赛季达到大师段位",
|
||||
"type": "seasonal",
|
||||
"priority": 1,
|
||||
"targets": [
|
||||
{
|
||||
"id": "rank_master",
|
||||
"type": "reach_level",
|
||||
"description": "达到大师段位",
|
||||
"targetCount": 1,
|
||||
"currentCount": 0
|
||||
}
|
||||
],
|
||||
"rewards": [
|
||||
{
|
||||
"type": "item",
|
||||
"id": "legendary_skin",
|
||||
"amount": 1,
|
||||
"name": "传说皮肤"
|
||||
}
|
||||
],
|
||||
"resetCycle": "seasonal",
|
||||
"startTime": 1640995200000,
|
||||
"endTime": 1648771200000,
|
||||
"enabled": true,
|
||||
"repeatable": false
|
||||
}
|
||||
]
|
||||
}
|
||||
11
assets/resources/task-configs.json.meta
Normal file
11
assets/resources/task-configs.json.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "2.0.1",
|
||||
"importer": "json",
|
||||
"imported": true,
|
||||
"uuid": "e3426846-639f-4978-9fa1-0c2cb9049cf1",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
Reference in New Issue
Block a user