104 lines
2.3 KiB
Plaintext
104 lines
2.3 KiB
Plaintext
|
[gd_scene load_steps=4 format=2]
|
||
|
|
||
|
[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]
|
||
|
|
||
|
[node name="Editor" type="Node2D"]
|
||
|
script = ExtResource( 2 )
|
||
|
|
||
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||
|
margin_right = 40.0
|
||
|
margin_bottom = 40.0
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="New" type="Button" parent="HBoxContainer"]
|
||
|
margin_right = 44.0
|
||
|
margin_bottom = 40.0
|
||
|
text = "Clear"
|
||
|
|
||
|
[node name="SpinBox" type="SpinBox" parent="HBoxContainer"]
|
||
|
margin_left = 48.0
|
||
|
margin_right = 122.0
|
||
|
margin_bottom = 40.0
|
||
|
min_value = 1.0
|
||
|
max_value = 32.0
|
||
|
value = 1.0
|
||
|
|
||
|
[node name="OptionButton" type="OptionButton" parent="HBoxContainer"]
|
||
|
margin_left = 126.0
|
||
|
margin_right = 163.0
|
||
|
margin_bottom = 40.0
|
||
|
text = "0"
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="CoordsLabel" type="Label" parent="HBoxContainer"]
|
||
|
margin_left = 167.0
|
||
|
margin_top = 13.0
|
||
|
margin_right = 210.0
|
||
|
margin_bottom = 27.0
|
||
|
text = "Screen"
|
||
|
|
||
|
[node name="Coords" type="Label" parent="HBoxContainer"]
|
||
|
margin_left = 214.0
|
||
|
margin_top = 13.0
|
||
|
margin_right = 234.0
|
||
|
margin_bottom = 27.0
|
||
|
text = "0,0"
|
||
|
|
||
|
[node name="GridCoordsLabel" type="Label" parent="HBoxContainer"]
|
||
|
margin_left = 238.0
|
||
|
margin_top = 13.0
|
||
|
margin_right = 263.0
|
||
|
margin_bottom = 27.0
|
||
|
text = "Hex"
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="GridCoords" type="Label" parent="HBoxContainer"]
|
||
|
margin_left = 267.0
|
||
|
margin_top = 13.0
|
||
|
margin_right = 287.0
|
||
|
margin_bottom = 27.0
|
||
|
text = "0,0"
|
||
|
|
||
|
[node name="GridLevel" type="Node2D" parent="."]
|
||
|
z_index = -2
|
||
|
script = ExtResource( 1 )
|
||
|
|
||
|
[node name="Area2D" type="Node2D" parent="."]
|
||
|
script = ExtResource( 3 )
|
||
|
|
||
|
[node name="Highlight" type="Node2D" parent="Area2D"]
|
||
|
|
||
|
[node name="Highlight" type="Label" parent="Area2D/Highlight"]
|
||
|
margin_top = 13.0
|
||
|
margin_bottom = 27.0
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="AreaCoords" type="Label" parent="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="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
|
||
|
}
|