1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2024-11-27 04:38:56 +00:00
bedrock-samples/resource_pack/ui/persona_cast_character_screen.json
Mike Ammerlaan 97eee80f88 v1.19.70.2
2023-03-14 09:38:55 -07:00

991 lines
30 KiB
JSON

{
"namespace": "persona_cast_character_screen",
"cast_modal_bottom_bar": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "95%", 32 ],
"offset": [ 0, -6 ],
"layer": 50,
"anchor_from": "bottom_middle",
"anchor_to": "bottom_middle",
"$cast_modal_bottom_bar_controls|default": [],
"controls": "$cast_modal_bottom_bar_controls"
},
"cast_common_dialog_background@common_dialogs.dialog_background_hollow_2": {
"size": [ "100%", "100%" ],
"$inner_contents|default": "persona_cast_character_screen.cast_character_select_main",
"$inner_contents_size|default": [ "100% - 16px", "100% - 65px" ],
"$inner_contents_offset|default": [ 0, -9.5 ],
"controls": [
{ "top_bar@persona_cast_character_screen.common_cast_modal_top_bar": {} },
{
"popup_inner_contents@$inner_contents": {
"size": "$inner_contents_size",
"offset": "$inner_contents_offset"
}
},
{ "cast_modal_bottom_bar@persona_cast_character_screen.cast_modal_bottom_bar": {} }
]
},
"cast_modal_panel": {
"type": "input_panel",
"$show_close_button": true,
"controls": [
{ "cast_preview_modal_content@persona_cast_character_screen.cast_common_dialog_background": {} }
],
"button_mappings": [
{
"from_button_id": "button.menu_select",
"to_button_id": "button.menu_select",
"mapping_type": "pressed"
},
{
"from_button_id": "button.menu_ok",
"to_button_id": "button.menu_ok",
"mapping_type": "focused"
}
]
},
"popup_dialog__cast_character_select@persona_cast_character_screen.common_dcast_popup_framework": {
"$cast_modal_bottom_bar_controls": [
{
"select_button@common_buttons.light_text_button": {
"size": [ "100%", "100%" ],
"$pressed_button_name": "button.cast_select",
"$button_text": "gui.select",
"$focus_override_down": "FOCUS_OVERRIDE_STOP",
"$focus_override_left": "FOCUS_OVERRIDE_STOP",
"$focus_override_right": "FOCUS_OVERRIDE_STOP",
"bindings": [
{
"binding_name": "#cast_enabled_select",
"binding_name_override": "#enabled"
}
]
}
}
],
"controls": [
{ "background@persona_cast_character_screen.common_background_blocker": {} },
{ "popup_background@persona_cast_character_screen.cast_modal_panel": { "size": [ "57%", "90%" ] } }
]
},
"common_dcast_popup_framework@popup_dialog.popup_dialog": {
"size": [ "100%", "100%" ],
"layer": 500,
"$section_content_size": [ "100%", "100% - 16px" ],
"$close_button_to_button_id": "button.cast_back",
"button_mappings": [
{
"from_button_id": "button.menu_cancel",
"to_button_id": "$close_button_to_button_id",
"mapping_type": "global"
},
{
"from_button_id": "button.menu_ok",
"to_button_id": "button.menu_ok",
"mapping_type": "focused"
},
{
"from_button_id": "button.menu_select",
"to_button_id": "button.menu_select",
"mapping_type": "pressed"
},
{
"from_button_id": "button.menu_left",
"to_button_id": "button.menu_left",
"mapping_type": "global",
"scope": "view"
},
{
"from_button_id": "button.menu_right",
"to_button_id": "button.menu_right",
"mapping_type": "global",
"scope": "view"
},
{
"from_button_id": "button.menu_up",
"to_button_id": "button.menu_up",
"mapping_type": "global",
"scope": "view"
},
{
"from_button_id": "button.menu_down",
"to_button_id": "button.menu_down",
"mapping_type": "global",
"scope": "view"
}
]
},
"common_cast_modal_top_bar": {
"type": "panel",
"anchor_from": "top_left",
"anchor_to": "top_left",
"size": [ "100%", "100%c" ],
"layer": 2,
"$close_button_offset": [ 0, 0 ],
"$use_compact_close_button": false,
"$character_cast_prompt_title|default": "menu.character_cast.select_title",
"controls": [
{
"title_panel": {
"type": "label",
"text": "$character_cast_prompt_title",
"layer": 2,
"offset": [ 0, 8 ],
"color": "$profile_create_character_selected_color",
"anchor_from": "top_middle",
"anchor_to": "top_middle"
}
},
{ "close_button_holder@common_dialogs.common_close_button_holder": {} }
]
},
"cast_character_select_main": {
"type": "panel",
"size": [ "100% - 16px", "100% - 65px" ],
"anchor_to": "center",
"anchor_from": "center",
"offset": [ 0, -9.5 ],
"controls": [
{
"modal_inner_background": {
"type": "image",
"size": [ "100%", "100%" ],
"texture": "textures/ui/White",
"color": "black",
"alpha": 1.0
}
},
{
"main_content_horizontal_stack": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", "100%" ],
"controls": [
{ "cast_grid@persona_cast_character_screen.cast_scroll_view_panel": {} },
{
"vertical_centerer@common.empty_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size" : ["fill", "100%"],
"controls": [
{ "top_fill@common.empty_panel": { "size": [ "100%", "fill" ] } },
{ "skin_viewer_panel@persona_cast_character_screen.persona_cast_paper_doll_panel": {} },
{ "bottom_fill@common.empty_panel": { "size": [ "100%", "fill" ] } },
{ "bottom_padding@common.empty_panel": { "size": [ "100%", "16px" ] } }
]
}
}
]
}
}
]
},
"cast_scroll_view_panel@common.scrolling_panel": {
"anchor_to": "top_left",
"anchor_from": "top_left",
"$show_background": false,
"size": [ "62%", "100%" ],
"focus_container": true,
"focus_wrap_enabled": false,
"focus_navigation_mode_left": "stop",
"focus_navigation_mode_right": "stop",
"focus_navigation_mode_up": "stop",
"$scroll_size": [ 2, "100% - 4px" ],
"$scrolling_content": "persona_cast_character_screen.cast_grid_panel",
"$scroll_view_port_size": [ "100%", "100%" ],
"$scroll_view_port_size_touch": [ "100%", "100%" ]
},
"cast_grid_with_buttons": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100% - 4px", "100%c" ],
"controls": [
{
"top_spacing": {
"type": "panel",
"size": [ "100%", 1 ]
}
},
{
"cast_grid": {
"type": "grid",
"size": [ "100%", "100%c" ],
"grid_item_template": "persona_cast_character_screen.cast_single_character_button_panel",
"grid_dimension_binding": "#cast_character_options_dimensions",
"collection_name": "cast_character_options",
"$cast_single_character_collection_name": "cast_character_options",
"bindings": [
{
"binding_type": "global",
"binding_name": "#cast_character_options_dimensions"
}
]
}
},
{
"bottom_spacing": {
"type": "panel",
"size": [ "100%", 1 ]
}
}
]
},
"cast_grid_panel": {
"type": "panel",
"size": [ "100%", "100%" ],
"min_size": [ "100%", "100%c" ],
"controls": [
{ "cast_grid@persona_cast_character_screen.cast_grid_with_buttons": {} }
]
},
"cast_single_character_button_panel": {
"type": "panel",
"size": [ "33%", "100%x" ],
"layer": 10,
"$pressed_button_name": "button.cast_single_character_button",
"controls": [
{
"cast_character_button@common.button": {
"max_size": [ "100%-2px", "100%-2px" ],
"$controller_left_bumper_mapping|default": "",
"$controller_right_bumper_mapping|default": "",
"anchor_from": "center",
"anchor_to": "center",
"controls": [
{
"background_image": {
"type": "image",
"size": [ "100%", "100%" ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"texture": "textures/ui/White",
"color": "black",
"alpha": 0.8
}
},
{
"selected@persona.selected_border": {
"layer": 8,
"$enable_border": false,
"bindings": [
{
"binding_type": "collection",
"binding_collection_name": "$cast_single_character_collection_name",
"binding_name": "#cast_button_selected",
"binding_name_override": "#visible"
}
]
}
},
{ "default@common.empty_panel": {} },
{ "hover@persona.focus_border": {} },
{ "pressed@persona.focus_border": {} },
{
"button_outline": {
"type": "image",
"size": [ "100%-2px", "100%-2px" ],
"anchor_from": "center",
"anchor_to": "center",
"texture": "textures/ui/White",
"color": "$dressing_room_semi_dark_bg_color",
"controls": [
{ "cast_character_content@persona_cast_character_screen.cast_character_button_content_panel": {} }
]
}
}
],
"button_mappings": [
{
"from_button_id": "button.menu_select",
"to_button_id": "$pressed_button_name",
"mapping_type": "pressed"
},
{
"from_button_id": "button.menu_ok",
"to_button_id": "$pressed_button_name",
"mapping_type": "focused"
},
{
"to_button_id": "button.asset_button_hovered",
"mapping_type": "pressed"
},
{
"ignored": "($controller_left_bumper_mapping = '')",
"from_button_id": "button.menu_tab_left",
"to_button_id": "$controller_left_bumper_mapping",
"mapping_type": "focused"
},
{
"ignored": "($controller_right_bumper_mapping = '')",
"from_button_id": "button.menu_tab_right",
"to_button_id": "$controller_right_bumper_mapping",
"mapping_type": "focused"
}
],
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "$cast_single_character_collection_name",
"binding_collection_prefix": "cast_character_options"
}
]
}
}
],
"bindings": [
{
"binding_name": "#cast_button_visible",
"binding_name_override": "#visible",
"binding_type": "collection",
"binding_collection_name": "$cast_single_character_collection_name"
}
]
},
"cast_character_button_content_panel": {
"type": "panel",
"controls": [
{
"cast_single_character_content_visible_panel": {
"type": "panel",
"controls": [
{
"cast_single_character_button_content@persona_cast_character_screen.in_use_grid_item": {
"size": [ "100% - 2px", "100% - 2px" ],
"$in_use_grid_collection_name": "$cast_single_character_collection_name"
}
}
]
}
}
]
},
"in_use_grid_item": {
"type": "image",
"layer": 5,
"size": [ 20, 20 ],
"fill": true,
"bindings": [
{
"binding_type": "collection",
"binding_collection_name": "$in_use_grid_collection_name",
"binding_name": "#in_use_texture",
"binding_name_override": "#texture"
},
{
"binding_type": "collection",
"binding_collection_name": "$in_use_grid_collection_name",
"binding_name": "#in_use_texture_file_system",
"binding_name_override": "#texture_file_system"
}
]
},
"persona_cast_paper_doll_panel": {
"type": "panel",
"size": [ "100%", "192%x" ],
"max_size": [ "100%", "100%" ],
"controls": [
{ "preset_input_panel@persona_cast_character_screen.cast_character_screen_right_side_model": {} }
]
},
"character_loading_anim@persona.loading_icon": {
"anchor_from": "center",
"anchor_to": "center"
},
"character_loading_anim_panel": {
"type": "image",
"size": [ "100%c + 12px", "100%c + 6px" ],
"texture": "textures/ui/Banners",
"layer": 600,
"controls": [
{ "character_loading_anim@persona_cast_character_screen.character_loading_anim": {} }
],
"bindings": [
{
"binding_name": "#is_character_loading",
"binding_name_override": "#visible"
}
]
},
"cast_character_screen_right_side_model": {
"type": "input_panel",
"size": [ "52%y", "90%" ],
"layer": 600,
"$skin_model_layer": 100,
"always_handle_controller_direction": true,
"gesture_tracking_button": "button.turn_character_select_doll",
"$gesture_input_panel_control": "preset_input_panel",
"$skin_preview": "#cast_preview_skin",
"controls": [
{ "skin_model_panel@persona.skin_viewer_panel_skin_model": {} },
{ "skin_model_loading_anim@persona_cast_character_screen.character_loading_anim_panel": {} },
{
"skin_model_label": {
"type": "label",
"text": "#selected_character_name",
"color": "$generic_button_text_color",
"anchor_from": "bottom_middle",
"anchor_to": "top_middle",
"bindings": [
{
"binding_name": "#selected_character_name"
}
]
}
}
],
"button_mappings": [
{
"from_button_id": "button.menu_select",
"to_button_id": "button.turn_character_select_doll",
"mapping_type": "pressed",
"button_up_right_of_first_refusal": true
}
]
},
"common_background_blocker@profile.modal_window_input_blocker": {
"controls": [
{
"modal_background_button": {
"type": "button",
"size": [ "100%", "100%" ],
"button_mappings": [
{
"from_button_id": "button.menu_select",
"to_button_id": "$close_button_to_button_id",
"mapping_type": "pressed"
},
{
"from_button_id": "button.menu_ok",
"to_button_id": "$close_button_to_button_id",
"mapping_type": "focused"
}
]
}
}
]
},
"common_preview_page_framework@persona_cast_character_screen.common_dcast_popup_framework": {
"$close_button_to_button_id": "button.close_entry_prompt_dialog",
"$cast_modal_bottom_bar_controls": [
{
"left_bottom_button@common_buttons.light_text_button": {
"size": [ "fill", "100%" ],
"$pressed_button_name": "button.cast_left_select",
"$left_button_text|default": "",
"$button_text": "$left_button_text",
"$focus_override_down": "FOCUS_OVERRIDE_STOP",
"$focus_override_left": "FOCUS_OVERRIDE_STOP",
"bindings": [
{
"binding_name": "#cast_enabled_select",
"binding_name_override": "#enabled"
}
]
}
},
{
"padding": {
"type": "panel",
"size": [ 4, "100%" ]
}
},
{
"right_bottom_button@common_buttons.light_text_button": {
"size": [ "fill", "100%" ],
"$pressed_button_name": "button.cast_right_select",
"$right_button_text|default": "",
"$button_text": "$right_button_text",
"$focus_override_down": "FOCUS_OVERRIDE_STOP",
"$focus_override_right": "FOCUS_OVERRIDE_STOP",
"bindings": [
{
"binding_name": "#cast_enabled_select",
"binding_name_override": "#enabled"
}
]
}
}
],
"controls": [
{ "background@persona_cast_character_screen.common_background_blocker": {} },
{ "cast_preview_modal@persona_cast_character_screen.cast_modal_panel": { "size": [ "71.40625%", "90%" ] } }
],
"button_mappings": [
{
"from_button_id": "button.menu_cancel",
"to_button_id": "$close_button_to_button_id",
"mapping_type": "global"
},
{
"from_button_id": "button.menu_ok",
"to_button_id": "button.menu_ok",
"mapping_type": "focused"
},
{
"from_button_id": "button.menu_select",
"to_button_id": "button.menu_select",
"mapping_type": "pressed"
},
{
"from_button_id": "button.menu_left",
"to_button_id": "button.menu_left",
"mapping_type": "global",
"scope": "view"
},
{
"from_button_id": "button.menu_right",
"to_button_id": "button.menu_right",
"mapping_type": "global",
"scope": "view"
},
{
"from_button_id": "button.menu_up",
"to_button_id": "button.menu_up",
"mapping_type": "global",
"scope": "view"
},
{
"from_button_id": "button.menu_down",
"to_button_id": "button.menu_down",
"mapping_type": "global",
"scope": "view"
}
]
},
"cast_preview_page_one@persona_cast_character_screen.common_preview_page_framework": {
"$character_cast_prompt_title": "menu.character_cast.ftue_title",
"$left_button_text": "dr.button.ok",
"$right_button_text": "menu.character_cast.see_how_to_select_one",
"$inner_contents": "persona_cast_character_screen.cast_preview_page_one_inner_section"
},
"cast_preview_page_two@persona_cast_character_screen.common_preview_page_framework": {
"$character_cast_prompt_title": "menu.character_cast.ftue_title",
"$left_button_text": "gui.back",
"$right_button_text": "menu.character_cast.go_to_dressing_room",
"$inner_contents": "persona_cast_character_screen.cast_preview_page_two_inner_section"
},
"cast_preview_page_one_inner_section": {
"type": "panel",
"$next_page_button_event": "button.cast_subpage_right",
"$prev_page_button_event": "button.cast_subpage_left",
"controls": [
{
"modal_inner_background": {
"type": "image",
"size": [ "100%", "100%" ],
"texture": "textures/ui/White",
"color": "black",
"alpha": 1.0
}
},
{
"cast_content": {
"type": "input_panel",
"size": [ "100%", "100%" ],
"controls": [
{
"cast_image_cycler@common.image_cycler": {
"size": [ "80%", "100%" ],
"images": [
{
"texture_path": "textures/ui/default_cast/ftue/00_dcast_lineup.png"
},
{
"texture_path": "textures/ui/default_cast/ftue/01_dcast_lineup_zuri.png"
},
{
"texture_path": "textures/ui/default_cast/ftue/02_dcast_lineup_noor.png"
},
{
"texture_path": "textures/ui/default_cast/ftue/03_dcast_lineup_kai.png"
},
{
"texture_path": "textures/ui/default_cast/ftue/04_dcast_lineup_ari.png"
},
{
"texture_path": "textures/ui/default_cast/ftue/05_dcast_lineup_steve.png"
},
{
"texture_path": "textures/ui/default_cast/ftue/06_dcast_lineup_alex.png"
},
{
"texture_path": "textures/ui/default_cast/ftue/07_dcast_lineup_efe.png"
},
{
"texture_path": "textures/ui/default_cast/ftue/08_dcast_lineup_makena.png"
},
{
"texture_path": "textures/ui/default_cast/ftue/09_dcast_lineup_sunny.png"
}
]
}
},
{
"cast_vertical_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%", "34%" ],
"anchor_from": "bottom_left",
"anchor_to": "bottom_left",
"controls": [
{
"controls_label_panel": {
"type": "panel",
"size": [ "100%", "100%c" ],
"controls": [
{
"text_cycler@common.text_cycler": {
"size": [ "100% - 4px", "default" ],
"layer": 2,
"offset": [ 0, 8 ],
"text_alignment": "center",
"target_cycler_to_compare": "cast_image_cycler",
"text_labels": [
"menu.character_cast.ftue_page1",
"skin.Standard.Zuri",
"skin.Standard.Noor",
"skin.Standard.Kai",
"skin.Standard.Ari",
"skin.Standard.Steve",
"skin.Standard.Alex",
"skin.Standard.Efe",
"skin.Standard.Makena",
"skin.Standard.Sunny"
]
}
}
]
}
},
{
"buffer_panel": {
"type": "panel",
"size": [ "100%", 6 ]
}
},
{ "controls_shoulder_button_display_panel@persona_cast_character_screen.ftue_subpage_indicator_panel": {} }
]
}
}
]
}
}
]
},
"chevron_image_panel": {
"type": "panel",
"size": [ "100%", "100%" ],
"controls": [
{ "chevron_image@common.chevron_image": { "color": "$text_color" } }
]
},
"chevron_button@common_buttons.light_content_button": {
"consume_event": false,
"$button_content": "persona_cast_character_screen.chevron_image_panel",
"$use_right_chevron|default": false,
"$chevron_visible_source_control|default": "gamepad_helper_left_bumper",
"$chevron_image_name|default": "textures/ui/chevron_left",
"variables": [
{
"requires": "$use_right_chevron",
"$chevron_visible_source_control": "gamepad_helper_right_bumper",
"$chevron_image_name": "textures/ui/chevron_right"
}
],
"button_mappings": [
{
"from_button_id": "button.menu_select",
"to_button_id": "$pressed_button_name",
"mapping_type": "pressed",
"scope": "global"
},
{
"from_button_id": "button.menu_ok",
"to_button_id": "$pressed_button_name",
"mapping_type": "focused",
"scope": "global"
}
],
"bindings": [
{
"binding_type": "view",
"source_control_name": "$chevron_visible_source_control",
"source_property_name": "(not #visible)",
"target_property_name": "#visible",
"resolve_sibling_scope": true
}
]
},
"shift_page_panel": {
"type": "panel",
"size": [ 30, "100%" ],
"$focus_wrap_enabled": false,
"controls": [
{
"centering_panel": {
"type": "panel",
"size": [ "100%", 25 ],
"controls": "$shift_page_controls"
}
}
]
},
"shift_page_left_panel@persona_cast_character_screen.shift_page_panel": {
"$pressed_button_name": "button.cast_subpage_left",
"$focus_id": "shift_page_left_button",
"$focus_override_right": "shift_page_right_button",
"$focus_override_up": "FOCUS_OVERRIDE_STOP",
"$shift_page_controls": [
{ "gamepad_helper_left_bumper@common.gamepad_helper_left_bumper": {} },
{ "left_chevron_button@persona_cast_character_screen.chevron_button": {} }
]
},
"shift_page_right_panel@persona_cast_character_screen.shift_page_panel": {
"$pressed_button_name": "button.cast_subpage_right",
"$use_right_chevron": true,
"$focus_id": "shift_page_right_button",
"$focus_override_left": "shift_page_left_button",
"$focus_override_up": "FOCUS_OVERRIDE_STOP",
"$shift_page_controls": [
{ "gamepad_helper_right_bumper@common.gamepad_helper_right_bumper": {} },
{ "right_chevron_button@persona_cast_character_screen.chevron_button": {} }
]
},
"horizontal_8px_padding": {
"type": "panel",
"size": [ 8, "100%" ]
},
"horizontal_20px_padding": {
"type": "panel",
"size": [ 20, "100%" ]
},
"ftue_subpage_indicator_panel": {
"type": "panel",
"size": [ "100%", "fill" ],
"controls": [
{
"controls_shoulder_button_display": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", "100%" ],
"controls": [
{ "left_padding@persona_cast_character_screen.horizontal_20px_padding": {} },
{ "left_shoulder_button_panel@persona_cast_character_screen.shift_page_left_panel": {} },
{ "left_shoulder_button_padding@persona_cast_character_screen.horizontal_8px_padding": {} },
{
"page_indicator_grid": {
"type": "grid_page_indicator",
"size": [ "fill", "100%" ],
"grid_item_template": "persona_cast_character_screen.individaul_cast_page_indicator",
"grid_item_when_current": "panel_when_current_page",
"grid_item_when_not_current": "panel_when_not_current_page",
"collection_name": "cast_page_indicator",
"cycler_manager_size_control_target": "cast_image_cycler"
}
},
{ "right_shoulder_button_padding@persona_cast_character_screen.horizontal_8px_padding": {} },
{ "right_shoulder_button_panel@persona_cast_character_screen.shift_page_right_panel": {} },
{ "right_padding@persona_cast_character_screen.horizontal_20px_padding": {} }
]
}
}
]
},
"individaul_cast_page_indicator": {
"type": "panel",
"size": [ "fill", "100%" ],
"alpha": 0.8,
"controls": [
{
"panel_when_current_page": {
"type": "panel",
"size": [ "100%", "100%" ],
"controls": [
{
"panel_with_padding": {
"type": "panel",
"size": [ 6, 6 ],
"controls": [
{
"cast_dot": {
"type": "image",
"size": [ 4, 4 ],
"texture": "textures/ui/White",
"color": "white"
}
}
]
}
}
]
}
},
{
"panel_when_not_current_page": {
"type": "panel",
"size": [ "100%", "100%" ],
"controls": [
{
"panel_with_padding": {
"type": "panel",
"size": [ 6, 6 ],
"controls": [
{
"cast_dot": {
"type": "image",
"size": [ 4, 4 ],
"texture": "textures/ui/White",
"alpha": 0.5
}
}
]
}
}
]
}
}
]
},
"how_to_section": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "48.5%", "100%" ],
"controls": [
{
"how_to_image": {
"type": "image",
"size": [ "100%", "75%" ],
"texture": "$how_to_image",
"keep_ratio": false
}
},
{
"how_to_label_section": {
"type": "panel",
"size": [ "100%", "fill" ],
"controls": [
{
"how_to_label": {
"type": "label",
"size": [ "100% - 4px", "default" ],
"max_size": [ "100% - 4px", "100% - 4px" ],
"layer": 2,
"font_size": "$instruction_text_size",
"color": "$generic_button_text_color",
"text": "$how_to_text"
}
}
]
}
}
]
},
"cast_preview_page_two_inner_section": {
"type": "image",
"size": [ "100%", "100%" ],
"texture": "textures/ui/white_background",
"fill": true,
"color": "black",
"$instruction_text_size": "normal",
"controls": [
{
"how_to_section_stack": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", "100%" ],
"controls": [
{
"how_to_section_left@persona_cast_character_screen.how_to_section": {
"$how_to_image": "textures/ui/default_cast/ftue/how_to_left_image",
"$how_to_text": "menu.character_cast.ftue_page2_left"
}
},
{
"divider_panel": {
"type": "panel",
"size": [ "fill", "100% + 2px" ],
"controls": [
{
"divider": {
"type": "image",
"offset": [ 0, -1 ],
"layer": 3,
"texture": "textures/ui/default_cast/ftue/how_to_page_divider"
}
}
]
}
},
{
"how_to_section_right@persona_cast_character_screen.how_to_section": {
"$how_to_image": "textures/ui/default_cast/ftue/how_to_right_image",
"$how_to_text": "menu.character_cast.ftue_page2_right"
}
}
]
}
}
]
}
}