PirateTreasureHunt/editor/IslandEditor.tscn

128 lines
2.9 KiB
Plaintext
Raw Normal View History

2021-06-13 20:40:05 +02:00
[gd_scene load_steps=5 format=2]
2021-06-13 15:03:10 +02:00
[ext_resource path="res://editor/GridLevel.gd" type="Script" id=1]
[ext_resource path="res://editor/IslandEditor.gd" type="Script" id=2]
[ext_resource path="res://editor/Area2D.gd" type="Script" id=3]
2021-06-13 20:40:05 +02:00
[ext_resource path="res://editor/Camera2D.gd" type="Script" id=4]
2021-06-13 15:03:10 +02:00
[node name="Editor" type="Node2D"]
script = ExtResource( 2 )
2021-06-13 20:40:05 +02:00
[node name="GridLevel" type="Node2D" parent="."]
z_index = -2
script = ExtResource( 1 )
[node name="Camera2D" type="Camera2D" parent="."]
current = true
script = ExtResource( 4 )
[node name="Area2D" type="Node2D" parent="Camera2D"]
script = ExtResource( 3 )
[node name="Highlight" type="Node2D" parent="Camera2D/Area2D"]
[node name="Highlight" type="Label" parent="Camera2D/Area2D/Highlight"]
margin_top = 13.0
margin_bottom = 27.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="AreaCoords" type="Label" parent="Camera2D/Area2D/Highlight"]
margin_left = 10.8379
margin_top = 34.1084
margin_right = 29.8379
margin_bottom = 48.1084
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HexCoords" type="Label" parent="Camera2D/Area2D/Highlight"]
margin_left = 8.0
margin_top = 13.0
margin_right = 27.0
margin_bottom = 27.0
rect_pivot_offset = Vector2( -534.527, -13 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="UI" type="HBoxContainer" parent="Camera2D"]
margin_right = 287.0
2021-06-13 15:03:10 +02:00
margin_bottom = 40.0
__meta__ = {
"_edit_use_anchors_": false
}
2021-06-13 20:40:05 +02:00
[node name="New" type="Button" parent="Camera2D/UI"]
2021-06-13 15:03:10 +02:00
margin_right = 44.0
margin_bottom = 40.0
text = "Clear"
2021-06-13 20:40:05 +02:00
[node name="SpinBox" type="SpinBox" parent="Camera2D/UI"]
2021-06-13 15:03:10 +02:00
margin_left = 48.0
margin_right = 122.0
margin_bottom = 40.0
min_value = 1.0
max_value = 32.0
value = 1.0
2021-06-13 20:40:05 +02:00
[node name="TileType" type="OptionButton" parent="Camera2D/UI"]
2021-06-13 15:03:10 +02:00
margin_left = 126.0
2021-06-13 20:40:05 +02:00
margin_right = 155.0
2021-06-13 15:03:10 +02:00
margin_bottom = 40.0
__meta__ = {
"_edit_use_anchors_": false
}
2021-06-13 20:40:05 +02:00
[node name="ScreenCoordsLabel" type="Label" parent="Camera2D/UI"]
margin_left = 159.0
2021-06-13 15:03:10 +02:00
margin_top = 13.0
2021-06-13 20:40:05 +02:00
margin_right = 202.0
2021-06-13 15:03:10 +02:00
margin_bottom = 27.0
text = "Screen"
2021-06-13 20:40:05 +02:00
[node name="ScreenCoords" type="Label" parent="Camera2D/UI"]
margin_left = 206.0
2021-06-13 15:03:10 +02:00
margin_top = 13.0
2021-06-13 20:40:05 +02:00
margin_right = 226.0
2021-06-13 15:03:10 +02:00
margin_bottom = 27.0
text = "0,0"
2021-06-13 20:40:05 +02:00
[node name="HexCoordsLabel" type="Label" parent="Camera2D/UI"]
margin_left = 230.0
2021-06-13 15:03:10 +02:00
margin_top = 13.0
2021-06-13 20:40:05 +02:00
margin_right = 255.0
2021-06-13 15:03:10 +02:00
margin_bottom = 27.0
text = "Hex"
__meta__ = {
"_edit_use_anchors_": false
}
2021-06-13 20:40:05 +02:00
[node name="HexCoords" type="Label" parent="Camera2D/UI"]
margin_left = 259.0
2021-06-13 15:03:10 +02:00
margin_top = 13.0
2021-06-13 20:40:05 +02:00
margin_right = 279.0
2021-06-13 15:03:10 +02:00
margin_bottom = 27.0
text = "0,0"
2021-06-13 20:40:05 +02:00
[node name="WorldCoordsLabel" type="Label" parent="Camera2D/UI"]
margin_left = 283.0
2021-06-13 15:03:10 +02:00
margin_top = 13.0
2021-06-13 20:40:05 +02:00
margin_right = 321.0
2021-06-13 15:03:10 +02:00
margin_bottom = 27.0
2021-06-13 20:40:05 +02:00
text = "World"
2021-06-13 15:03:10 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
2021-06-13 20:40:05 +02:00
[node name="WorldCoords" type="Label" parent="Camera2D/UI"]
margin_left = 325.0
2021-06-13 15:03:10 +02:00
margin_top = 13.0
2021-06-13 20:40:05 +02:00
margin_right = 345.0
2021-06-13 15:03:10 +02:00
margin_bottom = 27.0
2021-06-13 20:40:05 +02:00
text = "0,0"
2021-06-13 15:03:10 +02:00
__meta__ = {
"_edit_use_anchors_": false
}