| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248 |
- [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
|