[gd_scene load_steps=6 format=3 uid="uid://d25r3nxm3p463"] [ext_resource type="Script" uid="uid://d1gpliy41d31n" path="res://Scripts/UI/EditorPopupMenu.gd" id="1_crqcj"] [ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="1_do11r"] [ext_resource type="PackedScene" uid="uid://dipo5e7fk3avd" path="res://Scenes/Prefabs/UI/LevelEditorKeybind.tscn" id="2_kaxuh"] [ext_resource type="Texture2D" uid="uid://bnhrmah4dk5xm" path="res://Assets/Sprites/UI/EditorKeybinds.png" id="3_kaxuh"] [sub_resource type="StyleBoxLine" id="StyleBoxLine_crqcj"] color = Color(1, 1, 1, 1) [node name="EditorKeybindsView" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_crqcj") [node name="BG" type="ColorRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0, 0, 0, 0.25) [node name="Panel" type="PanelContainer" parent="."] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -98.0 offset_top = -84.0 offset_right = 98.0 offset_bottom = 84.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/panel = ExtResource("1_do11r") [node name="MarginContainer" type="MarginContainer" parent="Panel"] layout_mode = 2 [node name="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer"] layout_mode = 2 theme_override_constants/separation = 4 [node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer"] layout_mode = 2 size_flags_horizontal = 4 text = "KEYBINDS" [node name="HSeparator" type="HSeparator" parent="Panel/MarginContainer/VBoxContainer/Label"] layout_mode = 1 anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = -4.0 grow_horizontal = 2 grow_vertical = 0 theme_override_styles/separator = SubResource("StyleBoxLine_crqcj") [node name="ScrollContainer" type="ScrollContainer" parent="Panel/MarginContainer/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 [node name="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="Layers" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(0, 24) layout_mode = 2 [node name="ButtonIcons" type="Control" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/Layers"] custom_minimum_size = Vector2(64, 0) layout_mode = 2 [node name="LevelEditorKeybind" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/Layers/ButtonIcons" instance=ExtResource("2_kaxuh")] position = Vector2(4, 0) hframes = 1 vframes = 2 region_rect = Rect2(0, 46, 21, 46) [node name="LevelEditorKeybind2" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/Layers/ButtonIcons" instance=ExtResource("2_kaxuh")] position = Vector2(36, 0) hframes = 1 vframes = 2 region_rect = Rect2(21, 46, 21, 46) [node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/Layers"] modulate = Color(0.29219002, 0.29219005, 0.29219002, 1) layout_mode = 2 text = "Layers" uppercase = true [node name="MovePlayer" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(0, 24) layout_mode = 2 [node name="ButtonIcons" type="Control" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/MovePlayer"] custom_minimum_size = Vector2(64, 0) layout_mode = 2 [node name="LevelEditorKeybind" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/MovePlayer/ButtonIcons" instance=ExtResource("2_kaxuh")] [node name="LevelEditorKeybind2" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/MovePlayer/ButtonIcons" instance=ExtResource("2_kaxuh")] position = Vector2(43, 0) region_rect = Rect2(60, 92, 30, 23) [node name="Sprite2D" type="Sprite2D" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/MovePlayer/ButtonIcons"] position = Vector2(36, 11) texture = ExtResource("3_kaxuh") region_enabled = true region_rect = Rect2(90, 92, 10, 11) [node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/MovePlayer"] modulate = Color(0.29219002, 0.29219005, 0.29219002, 1) layout_mode = 2 text = "Move Player" uppercase = true [node name="PickBlock" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(0, 24) layout_mode = 2 [node name="ButtonIcons" type="Control" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PickBlock"] custom_minimum_size = Vector2(64, 0) layout_mode = 2 [node name="LevelEditorKeybind2" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PickBlock/ButtonIcons" instance=ExtResource("2_kaxuh")] position = Vector2(22, 0) region_rect = Rect2(60, 92, 30, 23) [node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PickBlock"] modulate = Color(0.29219002, 0.29219005, 0.29219002, 1) layout_mode = 2 text = "PICK TILE" uppercase = true [node name="TestLevel" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(0, 24) layout_mode = 2 [node name="ButtonIcons" type="Control" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/TestLevel"] custom_minimum_size = Vector2(64, 0) layout_mode = 2 [node name="LevelEditorKeybind" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/TestLevel/ButtonIcons" instance=ExtResource("2_kaxuh")] position = Vector2(16, 0) region_rect = Rect2(58, 0, 58, 23) [node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/TestLevel"] modulate = Color(0.29219002, 0.29219005, 0.29219002, 1) layout_mode = 2 text = "Test Level" uppercase = true [node name="InspectTile" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(0, 24) layout_mode = 2 [node name="ButtonIcons" type="Control" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/InspectTile"] custom_minimum_size = Vector2(64, 0) layout_mode = 2 [node name="LevelEditorKeybind" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/InspectTile/ButtonIcons" instance=ExtResource("2_kaxuh")] [node name="LevelEditorKeybind2" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/InspectTile/ButtonIcons" instance=ExtResource("2_kaxuh")] position = Vector2(43, 0) region_rect = Rect2(0, 92, 30, 23) [node name="Sprite2D" type="Sprite2D" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/InspectTile/ButtonIcons"] position = Vector2(36, 11) texture = ExtResource("3_kaxuh") region_enabled = true region_rect = Rect2(90, 92, 10, 11) [node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/InspectTile"] modulate = Color(0.29219002, 0.29219005, 0.29219002, 1) layout_mode = 2 text = "Inspect tile" uppercase = true [node name="PlaceArea" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(0, 24) layout_mode = 2 [node name="ButtonIcons" type="Control" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PlaceArea"] custom_minimum_size = Vector2(64, 0) layout_mode = 2 [node name="LevelEditorKeybind" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PlaceArea/ButtonIcons" instance=ExtResource("2_kaxuh")] position = Vector2(2, 0) region_rect = Rect2(0, 23, 50, 23) [node name="LevelEditorKeybind2" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PlaceArea/ButtonIcons" instance=ExtResource("2_kaxuh")] position = Vector2(44, 0) region_rect = Rect2(0, 92, 30, 23) [node name="Sprite2D" type="Sprite2D" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PlaceArea/ButtonIcons"] position = Vector2(36, 11) texture = ExtResource("3_kaxuh") region_enabled = true region_rect = Rect2(90, 92, 10, 11) [node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PlaceArea"] modulate = Color(0.29219002, 0.29219005, 0.29219002, 1) layout_mode = 2 size_flags_horizontal = 3 text = "PLACE / REMOVE AREA" autowrap_mode = 2 uppercase = true [node name="PlaceArea2" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(0, 24) layout_mode = 2 [node name="ButtonIcons" type="Control" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PlaceArea2"] custom_minimum_size = Vector2(64, 0) layout_mode = 2 [node name="LevelEditorKeybind2" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PlaceArea2/ButtonIcons" instance=ExtResource("2_kaxuh")] position = Vector2(5, 0) region_rect = Rect2(50, 23, 30, 23) [node name="LevelEditorKeybind3" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PlaceArea2/ButtonIcons" instance=ExtResource("2_kaxuh")] position = Vector2(42, 0) region_rect = Rect2(80, 23, 30, 23) [node name="Sprite2D" type="Sprite2D" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PlaceArea2/ButtonIcons"] position = Vector2(31, 11) texture = ExtResource("3_kaxuh") region_enabled = true region_rect = Rect2(102, 97, 12, 18) [node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/PlaceArea2"] modulate = Color(0.29219002, 0.29219005, 0.29219002, 1) layout_mode = 2 size_flags_horizontal = 3 text = "CHANGE TILE" autowrap_mode = 2 uppercase = true