c1_lua/lua/app/config/tutorial.lua
2025-10-26 18:10:13 +08:00

237 lines
3.3 KiB
Lua

local tutorial = {
[10000]={
["next_id"]=10010,
["type"]=6,
["finish"]=4,
["target_element"]={
13,
24,
25
}
},
[10010]={
["next_id"]=10020,
["type"]=4,
["finish"]=3
},
[10020]={
["next_id"]=10030,
["delay"]=1.0,
["type"]=3,
["txt"]="tutorial_txt_1",
["txt_offset"]={
0,
40
},
["target_name"]="battle_ui(Clone)/bg_2/battle_select_skill_comp/skill_node/skill_select_cell_1",
["arrow_direction"]=1,
["arrow_offset"]={
0,
-50
},
["show_mask"]=1,
["square_size"]={
50,
25
}
},
[10030]={
["next_id"]=10040,
["type"]=6,
["finish"]=4,
["target_element"]={
13,
14,
24,
33,
44,
45
}
},
[10040]={
["next_id"]=10050,
["type"]=4,
["finish"]=3
},
[10050]={
["next_id"]=10060,
["delay"]=1.0,
["type"]=6,
["finish"]=4,
["target_element"]={
13,
14,
24,
34
}
},
[10060]={
["next_id"]=10070,
["type"]=4,
["finish"]=3
},
[10070]={
["delay"]=1.0,
["type"]=6,
["finish"]=4,
["target_element"]={
13,
14,
24,
34
}
},
[20000]={
["next_id"]=20010,
["type"]=3,
["txt"]="tutorial_txt_2",
["txt_offset"]={
0,
180
},
["target_name"]="main_ui(Clone)/sub_ui_node/main_comp/middle_bg/box_btn",
["arrow_direction"]=1,
["arrow_offset"]={
0,
-50
},
["show_mask"]=2,
["circle_r"]=100,
["circle_offset"]={
0,
0
}
},
[20010]={
["next_id"]=20020,
["type"]=4,
["finish"]=1,
["finish_parameter"]=2
},
[20020]={
["next_id"]=20030,
["type"]=5,
["finish"]=2,
["finish_parameter"]=2
},
[20030]={
["next_id"]=20040,
["type"]=2,
["target_name"]="main_ui(Clone)/bottom_node/bottom_btn_cell_2",
["arrow_direction"]=2,
["arrow_offset"]={
0,
50
},
["show_mask"]=1,
["square_size"]={
50,
50
},
["square_offset"]={
0,
0
}
},
[20040]={
["next_id"]=20050,
["type"]=2,
["heroid"]=13001,
["arrow_direction"]=1,
["arrow_offset"]={
0,
-100
},
["show_mask"]=1,
["square_size"]={
25,
50
},
["square_offset"]={
0,
0
}
},
[20050]={
["next_id"]=20040,
["type"]=2,
["target_name"]="main_ui(Clone)/sub_ui_node/hero_ui/bottom_bg/scrollrect/viewport/content/large_hero_cell/hero_bg/use_btn",
["arrow_direction"]=1,
["arrow_offset"]={
0,
0
}
},
[20040]={
["next_id"]=20050,
["type"]=2,
["heroid"]=13001,
["arrow_direction"]=1,
["arrow_offset"]={
0,
-100
},
["show_mask"]=1,
["square_size"]={
25,
50
},
["square_offset"]={
0,
0
}
},
[20050]={
["next_id"]=20060,
["type"]=3,
["txt"]="tutorial_txt_3",
["txt_offset"]={
0,
180
},
["target_name"]="hero_detail_ui(Clone)/middle/hero_info/up/up_5_btn",
["arrow_direction"]=1,
["arrow_offset"]={
0,
0
}
},
[20060]={
["next_id"]=20070,
["delay"]=1.0,
["type"]=2,
["target_name"]="hero_detail_ui(Clone)/bottom/close_btn",
["arrow_direction"]=1,
["arrow_offset"]={
0,
0
}
},
[20070]={
["type"]=3,
["txt"]="tutorial_txt_4",
["txt_offset"]={
0,
40
},
["target_name"]="main_ui(Clone)/bottom_node/bottom_btn_cell_3",
["arrow_direction"]=1,
["arrow_offset"]={
0,
0
},
["show_mask"]=1,
["square_size"]={
50,
50
},
["square_offset"]={
0,
0
}
}
}
local config = {
data=tutorial,count=18
}
return config