This commit is contained in:
2025-08-26 10:55:15 +08:00
parent c3b9977b0c
commit 09c86944ac
8 changed files with 2256 additions and 2482 deletions

View File

@@ -67,72 +67,72 @@ export const GuideConfig: { [key: number]: IGuideStep } = {
0: {
id: "welcome", type: GuideStepType.WAIT,key:0,
targetPath: "root/gui/LayerUI/role_controller/mission_home/start/name",
tipText: "伟大的勇者,欢迎来到 『像素大陆』,可恶的兽人日常入侵我们的村庄,请带领您的英雄抵御兽人的入侵吧!",
handOffset: { x: 42, y: -45 }, tipOffset: { x: 0, y: 600 },
nextStep: "start_battle", waitTime: 2, end_event: "click", noInput: true,
tipText: "伟大的勇者,欢迎来到 『像素大陆』",
handOffset: { x: 42, y: -45 },
nextStep: "start_battle", waitTime: 5, end_event: "click", noInput: true,
},
1: {
id: "start_battle", type: GuideStepType.CLICK,key:1,
targetPath: "root/gui/LayerUI/role_controller/mission_home/start/name",
handOffset: { x: 42, y: -45 }, tipOffset: { x: 0, y: 200 },
tipText: "请带领您的英雄抵御兽人的入侵吧!",
handOffset: { x: 42, y: -45 },
// 42 45是手指的偏移量 0 0是提示的偏移量
},
2: {
id: "hero_page", type: GuideStepType.CLICK,key:2,
// 使用相对路径,从场景根节点开始查找
targetPath: "root/gui/LayerUI/role_controller/mission_home/btns/heros",
tipText: "伟大的勇者,感谢你愿意加入我们,可以到酒馆招募更多英雄增强队伍",
handOffset: { x: 42, y: -45 }, tipOffset: { x: 0, y: 200 },
tipText: "酒馆招募更多英雄增强队伍",
handOffset: { x: 42, y: -45 }, tipOffset: { x: 0, y: 600 },
},
3: {
id: "to_hero_info", type: GuideStepType.CLICK,key:3,
// 使用相对路径,从场景根节点开始查找
targetPath: "root/gui/LayerUI/role_controller/mission_home/heros_page",
handOffset: { x: 42, y: -45 }, tipOffset: { x: 0, y: 200 } // 向上偏移50像素避免遮挡
handOffset: { x: 42, y: -45 },
},
4: {
id: "do_hero_info", type: GuideStepType.CLICK,key:4,
// 使用相对路径,从场景根节点开始查找
targetPath: "root/gui/LayerUI/Hinfo/unLock",
handOffset: { x: 42, y: -45 }, tipOffset: { x: 0, y: 200 }// 向上偏移50像素避免遮挡
handOffset: { x: 42, y: -45 },
},
5: {
id: "up_lv_hero", type: GuideStepType.CLICK,key:5,
// 使用相对路径,从场景根节点开始查找
targetPath: "root/gui/LayerUI/Hinfo/upBtn",
handOffset: { x: 42, y: -45 },tipOffset: { x: 0, y: 200 } // 向上偏移50像素避免遮挡
handOffset: { x: 42, y: -45 },
},
6: {
id: "close_hinfo", type: GuideStepType.CLICK,key:6,
// 使用相对路径,从场景根节点开始查找
targetPath: "root/gui/LayerUI/Hinfo/back",
handOffset: { x: 42, y: -45 },tipOffset: { x: 0, y: 200 } // 向上偏移50像素避免遮挡
handOffset: { x: 42, y: -45 }
},
7: {
id: "to_mission", type: GuideStepType.CLICK,key:7,
// 使用相对路径,从场景根节点开始查找
targetPath: "root/gui/LayerUI/role_controller/mission_home/btns/fight",
handOffset: { x: 42, y: -45 }, tipOffset: { x: 0, y: 200 },
handOffset: { x: 42, y: -45 },
},
8: {
id: "to_add_hero", type: GuideStepType.CLICK,key:8,
// 使用相对路径,从场景根节点开始查找
targetPath: "root/gui/LayerUI/role_controller/mission_home/readyheros/hero3",
tipText: "伟大的勇者,请设置你的上阵英雄",
handOffset: { x: 42, y: -45 }, tipOffset: { x: 0, y: 200 },
tipText: "可以随时调整上阵英雄",
handOffset: { x: 42, y: -45 },
},
9: {
id: "to_hero_select", type: GuideStepType.CLICK,key:9,
// 使用相对路径,从场景根节点开始查找
targetPath: "root/gui/LayerUI/hero_select/main/view/heros/hero2",
handOffset: { x: 42, y: -45 }, tipOffset: { x: 0, y: 200 },
handOffset: { x: 42, y: -45 },
},
10: {
id: "start_battle", type: GuideStepType.CLICK,key:10,
targetPath: "root/gui/LayerUI/role_controller/mission_home/start/name",
tipText: "伟大的勇者,请再次为我们抵御兽人的入侵吧!",
handOffset: { x: 42, y: -45 }, tipOffset: { x: 0, y: 200 },
tipText: "享受战斗的乐趣吧!",
handOffset: { x: 42, y: -45 },
// 42 45是手指的偏移量 0 0是提示的偏移量
},
};