[gd_scene load_steps=6 format=3 uid="uid://daias2tkvj20c"] [ext_resource type="Script" path="res://src/game/ui/tileSetEditorSegment/TileSetEditorSegmentPanel.cs" id="1_to1lc"] [ext_resource type="Shader" path="res://resource/material/Grid.gdshader" id="2_t1p2n"] [ext_resource type="Texture2D" uid="uid://uhhfgdhpk7i4" path="res://icon.png" id="2_wr143"] [ext_resource type="Script" path="res://src/game/ui/tileSetEditorSegment/TileSetEditorSegmentLeftBg.cs" id="3_dnmr6"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_u3xqn"] shader = ExtResource("2_t1p2n") shader_parameter/color = Color(0.529412, 0.529412, 0.529412, 0.0431373) shader_parameter/size = Vector2(1334, 1076) shader_parameter/line_width = 2 shader_parameter/offset = Vector2(0, 0) shader_parameter/grid_size = 16.0 [node name="TileSetEditorSegment" 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_to1lc") [node name="HSplitContainer" type="HSplitContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="Left" type="Panel" parent="HSplitContainer"] layout_mode = 2 size_flags_horizontal = 3 size_flags_stretch_ratio = 70.0 [node name="MarginContainer" type="MarginContainer" parent="HSplitContainer/Left"] 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="LeftBg" type="ColorRect" parent="HSplitContainer/Left/MarginContainer"] clip_children = 2 z_index = 1 layout_mode = 2 color = Color(0.203922, 0.203922, 0.203922, 1) script = ExtResource("3_dnmr6") [node name="TileTexture" type="TextureRect" parent="HSplitContainer/Left/MarginContainer/LeftBg"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -32.0 offset_top = -32.0 offset_right = 32.0 offset_bottom = 32.0 grow_horizontal = 2 grow_vertical = 2 scale = Vector2(2, 2) texture = ExtResource("2_wr143") [node name="Brush" type="Control" parent="HSplitContainer/Left/MarginContainer/LeftBg/TileTexture"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 [node name="Grid" type="ColorRect" parent="HSplitContainer/Left/MarginContainer/LeftBg"] material = SubResource("ShaderMaterial_u3xqn") layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 [node name="Right" type="Panel" parent="HSplitContainer"] layout_mode = 2 size_flags_horizontal = 3 size_flags_stretch_ratio = 30.0 [node name="MarginContainer" type="MarginContainer" parent="HSplitContainer/Right"] 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