[gd_scene load_steps=10 format=3 uid="uid://dfqb73y4br8yd"] [ext_resource type="Script" path="res://src/game/ui/tileSetEditorTerrain/TileSetEditorTerrainPanel.cs" id="1_6jjk7"] [ext_resource type="Script" path="res://src/game/ui/tileSetEditorTerrain/down/TileEditArea.cs" id="2_ynf0r"] [ext_resource type="Script" path="res://src/game/common/ui/EditorMaskBrush.cs" id="3_gydh0"] [ext_resource type="Script" path="res://src/game/ui/tileSetEditorTerrain/up/TileEditTerrain.cs" id="5_0x7yx"] [ext_resource type="Texture2D" uid="uid://d2wslibovwv7w" path="res://resource/sprite/ui/commonIcon/CenterTool.png" id="5_08bc4"] [ext_resource type="Texture2D" uid="uid://bud6ah5xyey37" path="res://resource/sprite/map/TerrainMask2.png" id="5_xabgh"] [ext_resource type="Texture2D" uid="uid://chisfq2alcq16" path="res://resource/sprite/map/TerrainMask3.png" id="6_vmj5y"] [ext_resource type="Texture2D" uid="uid://cvjj6jnmxgprw" path="res://resource/sprite/map/TerrainMask.png" id="7_g8dxk"] [ext_resource type="Script" path="res://src/game/ui/tileSetEditorTerrain/up/TerrainBrush.cs" id="7_lmu64"] [node name="TileSetEditorTerrain" 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_6jjk7") [node name="VSplitContainer" type="VSplitContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="PanelTop" type="Panel" parent="VSplitContainer"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 size_flags_stretch_ratio = 50.0 [node name="MarginContainer" type="MarginContainer" parent="VSplitContainer/PanelTop"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/margin_left = 2 theme_override_constants/margin_top = 2 theme_override_constants/margin_right = 2 theme_override_constants/margin_bottom = 2 [node name="TopBg" type="ColorRect" parent="VSplitContainer/PanelTop/MarginContainer"] clip_children = 2 z_index = 1 layout_mode = 2 size_flags_horizontal = 3 color = Color(0.496094, 0.496094, 0.496094, 1) script = ExtResource("5_0x7yx") [node name="TerrainRoot" type="Control" parent="VSplitContainer/PanelTop/MarginContainer/TopBg"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -291.0 offset_top = -92.0 offset_right = -98.0 offset_bottom = 4.0 grow_horizontal = 2 grow_vertical = 2 scale = Vector2(3, 3) mouse_filter = 2 [node name="CellRoot" type="Control" parent="VSplitContainer/PanelTop/MarginContainer/TopBg/TerrainRoot"] layout_mode = 3 anchors_preset = 0 offset_right = 1.0 offset_bottom = 1.0 mouse_filter = 2 [node name="RightCell" type="Control" parent="VSplitContainer/PanelTop/MarginContainer/TopBg/TerrainRoot/CellRoot"] z_index = 1 anchors_preset = 0 offset_right = 16.0 offset_bottom = 16.0 mouse_filter = 1 [node name="CellTexture" type="Sprite2D" parent="VSplitContainer/PanelTop/MarginContainer/TopBg/TerrainRoot/CellRoot/RightCell"] z_index = -1 centered = false [node name="TerrainTexture1" type="TextureRect" parent="VSplitContainer/PanelTop/MarginContainer/TopBg/TerrainRoot"] self_modulate = Color(1, 1, 1, 0.27451) custom_minimum_size = Vector2(192, 64) layout_mode = 1 offset_right = 192.0 offset_bottom = 64.0 mouse_filter = 2 texture = ExtResource("7_g8dxk") [node name="Label" type="Label" parent="VSplitContainer/PanelTop/MarginContainer/TopBg/TerrainRoot/TerrainTexture1"] layout_mode = 0 offset_top = -10.0 offset_right = 136.0 offset_bottom = 30.0 scale = Vector2(0.25, 0.25) text = "顶部墙壁" [node name="TerrainTexture2" type="TextureRect" parent="VSplitContainer/PanelTop/MarginContainer/TopBg/TerrainRoot"] self_modulate = Color(1, 1, 1, 0.27451) custom_minimum_size = Vector2(64, 16) layout_mode = 1 offset_top = 80.0 offset_right = 64.0 offset_bottom = 96.0 mouse_filter = 2 texture = ExtResource("5_xabgh") [node name="Label" type="Label" parent="VSplitContainer/PanelTop/MarginContainer/TopBg/TerrainRoot/TerrainTexture2"] layout_mode = 0 offset_top = -10.0 offset_right = 136.0 offset_bottom = 30.0 scale = Vector2(0.25, 0.25) text = "侧方墙壁" [node name="TerrainTexture3" type="TextureRect" parent="VSplitContainer/PanelTop/MarginContainer/TopBg/TerrainRoot"] self_modulate = Color(1, 1, 1, 0.27451) custom_minimum_size = Vector2(16, 16) layout_mode = 1 offset_left = 80.0 offset_top = 80.0 offset_right = 96.0 offset_bottom = 96.0 mouse_filter = 2 texture = ExtResource("6_vmj5y") [node name="Label" type="Label" parent="VSplitContainer/PanelTop/MarginContainer/TopBg/TerrainRoot/TerrainTexture3"] layout_mode = 0 offset_top = -10.0 offset_right = 136.0 offset_bottom = 30.0 scale = Vector2(0.25, 0.25) text = "地板" [node name="Brush" type="Control" parent="VSplitContainer/PanelTop/MarginContainer/TopBg/TerrainRoot"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 script = ExtResource("7_lmu64") [node name="Grid" type="ColorRect" parent="VSplitContainer/PanelTop/MarginContainer/TopBg"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 color = Color(1, 1, 1, 0) [node name="FocusBtn" type="TextureButton" parent="VSplitContainer/PanelTop/MarginContainer/TopBg"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -79.0 offset_top = 14.0 offset_right = -15.0 offset_bottom = 78.0 grow_horizontal = 0 tooltip_text = "聚焦" texture_normal = ExtResource("5_08bc4") ignore_texture_size = true stretch_mode = 5 [node name="PanelBottom" type="Panel" parent="VSplitContainer"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 size_flags_stretch_ratio = 50.0 [node name="MarginContainer" type="MarginContainer" parent="VSplitContainer/PanelBottom"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/margin_left = 2 theme_override_constants/margin_top = 2 theme_override_constants/margin_right = 2 theme_override_constants/margin_bottom = 2 [node name="BottomBg" type="ColorRect" parent="VSplitContainer/PanelBottom/MarginContainer"] clip_children = 2 z_index = 1 layout_mode = 2 color = Color(0.203922, 0.203922, 0.203922, 1) script = ExtResource("2_ynf0r") [node name="TileTexture" type="TextureRect" parent="VSplitContainer/PanelBottom/MarginContainer/BottomBg"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 grow_horizontal = 2 grow_vertical = 2 scale = Vector2(2, 2) mouse_filter = 2 [node name="CellRoot" type="Control" parent="VSplitContainer/PanelBottom/MarginContainer/BottomBg/TileTexture"] anchors_preset = 0 offset_right = 1.0 offset_bottom = 1.0 mouse_filter = 2 [node name="BottomCell" type="Control" parent="VSplitContainer/PanelBottom/MarginContainer/BottomBg/TileTexture/CellRoot"] anchors_preset = 0 offset_right = 16.0 offset_bottom = 16.0 mouse_filter = 2 [node name="MaskBrush" type="Control" parent="VSplitContainer/PanelBottom/MarginContainer/BottomBg/TileTexture"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 script = ExtResource("3_gydh0") [node name="Grid" type="ColorRect" parent="VSplitContainer/PanelBottom/MarginContainer/BottomBg"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 color = Color(1, 1, 1, 0) [node name="FocusBtn" type="TextureButton" parent="VSplitContainer/PanelBottom/MarginContainer/BottomBg"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -79.0 offset_top = 14.0 offset_right = -15.0 offset_bottom = 78.0 grow_horizontal = 0 tooltip_text = "聚焦" texture_normal = ExtResource("5_08bc4") ignore_texture_size = true stretch_mode = 5 [node name="DragSprite" type="Sprite2D" parent="."] z_index = 10 region_enabled = true