137 lines
4.2 KiB
Text
137 lines
4.2 KiB
Text
|
[gd_scene load_steps=4 format=3 uid="uid://te4su73iol18"]
|
||
|
|
||
|
[ext_resource type="Texture2D" uid="uid://eudnts7c3nxy" path="res://assets/background_checker.png" id="1_cpi1h"]
|
||
|
[ext_resource type="Script" path="res://scripts/xmle/xml_wizard_window.gd" id="1_xn2dv"]
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_k1kbl"]
|
||
|
region = Rect2(0, 0, 1, 1)
|
||
|
|
||
|
[node name="Control" type="PanelContainer"]
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 3
|
||
|
script = ExtResource("1_xn2dv")
|
||
|
|
||
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||
|
layout_mode = 2
|
||
|
theme_override_constants/margin_left = 8
|
||
|
theme_override_constants/margin_top = 8
|
||
|
theme_override_constants/margin_right = 8
|
||
|
theme_override_constants/margin_bottom = 8
|
||
|
|
||
|
[node name="HSplitContainer" type="HSplitContainer" parent="MarginContainer"]
|
||
|
layout_mode = 2
|
||
|
size_flags_vertical = 3
|
||
|
theme_override_constants/separation = 0
|
||
|
theme_override_constants/autohide = 0
|
||
|
|
||
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HSplitContainer"]
|
||
|
custom_minimum_size = Vector2(200, 0)
|
||
|
layout_mode = 2
|
||
|
theme_override_constants/separation = 8
|
||
|
|
||
|
[node name="AddNew" type="HBoxContainer" parent="MarginContainer/HSplitContainer/VBoxContainer"]
|
||
|
layout_mode = 2
|
||
|
|
||
|
[node name="name" type="LineEdit" parent="MarginContainer/HSplitContainer/VBoxContainer/AddNew"]
|
||
|
layout_mode = 2
|
||
|
size_flags_horizontal = 3
|
||
|
placeholder_text = "Animation Name"
|
||
|
|
||
|
[node name="switch" type="Button" parent="MarginContainer/HSplitContainer/VBoxContainer/AddNew"]
|
||
|
layout_mode = 2
|
||
|
text = "Add"
|
||
|
|
||
|
[node name="Tree" type="Tree" parent="MarginContainer/HSplitContainer/VBoxContainer"]
|
||
|
layout_mode = 2
|
||
|
size_flags_vertical = 3
|
||
|
allow_search = false
|
||
|
hide_folding = true
|
||
|
enable_recursive_folding = false
|
||
|
hide_root = true
|
||
|
select_mode = 1
|
||
|
scroll_horizontal_enabled = false
|
||
|
|
||
|
[node name="preset" type="MenuButton" parent="MarginContainer/HSplitContainer/VBoxContainer"]
|
||
|
layout_mode = 2
|
||
|
size_flags_horizontal = 3
|
||
|
tooltip_text = "Align all frames in the animation."
|
||
|
text = "Align All..."
|
||
|
flat = false
|
||
|
item_count = 9
|
||
|
popup/item_0/text = "Top Left"
|
||
|
popup/item_1/text = "Top"
|
||
|
popup/item_1/id = 1
|
||
|
popup/item_2/text = "Top Right"
|
||
|
popup/item_2/id = 2
|
||
|
popup/item_3/text = "Left"
|
||
|
popup/item_3/id = 3
|
||
|
popup/item_4/text = "Center"
|
||
|
popup/item_4/id = 4
|
||
|
popup/item_5/text = "Right"
|
||
|
popup/item_5/id = 5
|
||
|
popup/item_6/text = "Bottom Left"
|
||
|
popup/item_6/id = 6
|
||
|
popup/item_7/text = "Bottom"
|
||
|
popup/item_7/id = 7
|
||
|
popup/item_8/text = "Bottom Right"
|
||
|
popup/item_8/id = 8
|
||
|
|
||
|
[node name="Region" type="VBoxContainer" parent="MarginContainer/HSplitContainer"]
|
||
|
layout_mode = 2
|
||
|
theme_override_constants/separation = 8
|
||
|
|
||
|
[node name="RegionView" type="SubViewportContainer" parent="MarginContainer/HSplitContainer/Region"]
|
||
|
layout_mode = 2
|
||
|
size_flags_vertical = 3
|
||
|
stretch = true
|
||
|
|
||
|
[node name="Viewport" type="SubViewport" parent="MarginContainer/HSplitContainer/Region/RegionView"]
|
||
|
disable_3d = true
|
||
|
handle_input_locally = false
|
||
|
size = Vector2i(416, 428)
|
||
|
render_target_update_mode = 4
|
||
|
|
||
|
[node name="BG" type="TextureRect" parent="MarginContainer/HSplitContainer/Region/RegionView/Viewport"]
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 3
|
||
|
texture = ExtResource("1_cpi1h")
|
||
|
stretch_mode = 1
|
||
|
|
||
|
[node name="ReferenceRect" type="ReferenceRect" parent="MarginContainer/HSplitContainer/Region/RegionView/Viewport"]
|
||
|
border_width = 2.0
|
||
|
editor_only = false
|
||
|
|
||
|
[node name="Character" type="TextureRect" parent="MarginContainer/HSplitContainer/Region/RegionView/Viewport/ReferenceRect"]
|
||
|
layout_mode = 0
|
||
|
offset_right = 1.0
|
||
|
offset_bottom = 1.0
|
||
|
size_flags_horizontal = 4
|
||
|
size_flags_vertical = 4
|
||
|
texture = SubResource("AtlasTexture_k1kbl")
|
||
|
stretch_mode = 2
|
||
|
|
||
|
[node name="ReferenceRect" type="ReferenceRect" parent="MarginContainer/HSplitContainer/Region/RegionView/Viewport/ReferenceRect"]
|
||
|
layout_mode = 0
|
||
|
border_color = Color(0, 0, 1, 1)
|
||
|
border_width = 2.0
|
||
|
editor_only = false
|
||
|
|
||
|
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/HSplitContainer/Region"]
|
||
|
layout_mode = 2
|
||
|
alignment = 2
|
||
|
|
||
|
[node name="Button" type="Button" parent="MarginContainer/HSplitContainer/Region/HBoxContainer"]
|
||
|
custom_minimum_size = Vector2(100, 0)
|
||
|
layout_mode = 2
|
||
|
text = "OK"
|