2023-07-15 00:39:38 +02:00
|
|
|
[gd_scene load_steps=3 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://scenes/tests/EditorUI.cs" type="Script" id=1]
|
|
|
|
|
|
|
|
[sub_resource type="ButtonGroup" id=4]
|
|
|
|
resource_local_to_scene = false
|
2023-08-12 18:16:45 +02:00
|
|
|
resource_name = "InputTypeButtonGroup"
|
2023-07-15 00:39:38 +02:00
|
|
|
|
|
|
|
[node name="EditorUI" type="Control"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
mouse_filter = 2
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
World = NodePath("../TileWorld")
|
|
|
|
StreamContainer = NodePath("../StreamContainer")
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
|
|
|
margin_left = 10.0
|
|
|
|
margin_top = 10.0
|
|
|
|
margin_right = 240.0
|
|
|
|
margin_bottom = 35.0
|
|
|
|
|
|
|
|
[node name="ResetButton" type="Button" parent="HBoxContainer"]
|
|
|
|
margin_right = 48.0
|
|
|
|
margin_bottom = 25.0
|
|
|
|
text = "Reset"
|
|
|
|
|
|
|
|
[node name="ModeLabel" type="Label" parent="HBoxContainer"]
|
|
|
|
margin_left = 52.0
|
|
|
|
margin_top = 5.0
|
|
|
|
margin_right = 88.0
|
|
|
|
margin_bottom = 19.0
|
|
|
|
text = "Mode"
|
|
|
|
|
|
|
|
[node name="GrassButton" type="Button" parent="HBoxContainer"]
|
|
|
|
margin_left = 92.0
|
|
|
|
margin_right = 140.0
|
|
|
|
margin_bottom = 25.0
|
|
|
|
toggle_mode = true
|
|
|
|
group = SubResource( 4 )
|
|
|
|
text = "Grass"
|
|
|
|
|
|
|
|
[node name="WaterButton" type="Button" parent="HBoxContainer"]
|
|
|
|
margin_left = 144.0
|
|
|
|
margin_right = 194.0
|
|
|
|
margin_bottom = 25.0
|
|
|
|
toggle_mode = true
|
|
|
|
group = SubResource( 4 )
|
|
|
|
text = "Water"
|
|
|
|
|
|
|
|
[node name="SandButton" type="Button" parent="HBoxContainer"]
|
|
|
|
margin_left = 198.0
|
|
|
|
margin_right = 240.0
|
|
|
|
margin_bottom = 25.0
|
|
|
|
toggle_mode = true
|
|
|
|
group = SubResource( 4 )
|
|
|
|
text = "Sand"
|
|
|
|
|
2023-08-12 18:16:45 +02:00
|
|
|
[node name="ObstacleButton" type="Button" parent="HBoxContainer"]
|
|
|
|
margin_left = 244.0
|
|
|
|
margin_right = 313.0
|
|
|
|
margin_bottom = 25.0
|
|
|
|
toggle_mode = true
|
|
|
|
group = SubResource( 4 )
|
|
|
|
text = "Obstacle"
|
|
|
|
|
|
|
|
[node name="NavigateButton" type="Button" parent="HBoxContainer"]
|
|
|
|
margin_left = 317.0
|
|
|
|
margin_right = 384.0
|
|
|
|
margin_bottom = 25.0
|
|
|
|
toggle_mode = true
|
|
|
|
group = SubResource( 4 )
|
|
|
|
text = "Navigate"
|
|
|
|
|
2023-07-15 00:39:38 +02:00
|
|
|
[node name="ViewFlagsContainer" type="HBoxContainer" parent="."]
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_top = -40.0
|
|
|
|
margin_right = 146.0
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="ViewFlagsContainer"]
|
|
|
|
margin_top = 13.0
|
|
|
|
margin_right = 30.0
|
|
|
|
margin_bottom = 27.0
|
|
|
|
text = "View"
|
|
|
|
|
|
|
|
[node name="GameGeometryCheckBox" type="CheckBox" parent="ViewFlagsContainer"]
|
|
|
|
margin_left = 34.0
|
|
|
|
margin_right = 100.0
|
|
|
|
margin_bottom = 40.0
|
|
|
|
text = "Game"
|
|
|
|
|
|
|
|
[node name="PhysicsGeometryCheckBox" type="CheckBox" parent="ViewFlagsContainer"]
|
|
|
|
margin_left = 104.0
|
|
|
|
margin_right = 180.0
|
|
|
|
margin_bottom = 40.0
|
|
|
|
text = "Physics"
|
2023-08-12 18:16:45 +02:00
|
|
|
|
|
|
|
[node name="NavigationGeometryCheckBox" type="CheckBox" parent="ViewFlagsContainer"]
|
|
|
|
margin_left = 184.0
|
|
|
|
margin_right = 279.0
|
|
|
|
margin_bottom = 40.0
|
|
|
|
text = "Navigation"
|