Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / ui / MapEditor.tscn
@小李xl 小李xl on 11 Jul 2023 1 KB 搭建地图编辑器中...
[gd_scene load_steps=3 format=3 uid="uid://csbxfkdupsckv"]

[ext_resource type="Script" path="res://src/game/ui/mapEditor/MapEditorPanel.cs" id="1_5s7a0"]
[ext_resource type="Script" path="res://src/game/ui/mapEditor/TileView/EditorTileMap.cs" id="2_waq8f"]

[node name="MapEditor" 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_5s7a0")

[node name="Bg" type="Panel" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="HSplitContainer" type="HSplitContainer" parent="Bg"]
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="Bg/HSplitContainer"]
custom_minimum_size = Vector2(1000, 0)
layout_mode = 2

[node name="MapView" type="SubViewportContainer" parent="Bg/HSplitContainer/Left"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="SubViewport" type="SubViewport" parent="Bg/HSplitContainer/Left/MapView"]
handle_input_locally = false
size = Vector2i(1000, 1080)
render_target_update_mode = 4

[node name="TileMap" type="TileMap" parent="Bg/HSplitContainer/Left/MapView/SubViewport"]
scale = Vector2(4, 4)
format = 2
script = ExtResource("2_waq8f")

[node name="Right" type="Panel" parent="Bg/HSplitContainer"]
custom_minimum_size = Vector2(300, 0)
layout_mode = 2