129 lines
3.4 KiB
Plaintext
129 lines
3.4 KiB
Plaintext
[gd_scene load_steps=2 format=2]
|
|
|
|
[ext_resource path="res://ui/WorldGeneratorUI.gd" type="Script" id=1]
|
|
|
|
[node name="WorldGeneratorUI" type="CenterContainer"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
margin_left = 16.0
|
|
margin_top = 61.0
|
|
margin_right = 303.0
|
|
margin_bottom = 339.0
|
|
custom_constants/separation = 20
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer"]
|
|
margin_right = 287.0
|
|
margin_bottom = 14.0
|
|
text = "World Generation"
|
|
align = 1
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="VBoxContainer"]
|
|
margin_top = 34.0
|
|
margin_right = 287.0
|
|
margin_bottom = 198.0
|
|
columns = 3
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/GridContainer"]
|
|
margin_top = 5.0
|
|
margin_right = 69.0
|
|
margin_bottom = 19.0
|
|
text = "Seed"
|
|
|
|
[node name="SeedLineEdit" type="LineEdit" parent="VBoxContainer/GridContainer"]
|
|
margin_left = 73.0
|
|
margin_right = 223.0
|
|
margin_bottom = 24.0
|
|
rect_min_size = Vector2( 150, 0 )
|
|
text = "0"
|
|
align = 2
|
|
caret_blink = true
|
|
|
|
[node name="RefreshSeedButton" type="Button" parent="VBoxContainer/GridContainer"]
|
|
margin_left = 227.0
|
|
margin_right = 287.0
|
|
margin_bottom = 24.0
|
|
text = "Refresh"
|
|
|
|
[node name="Label2" type="Label" parent="VBoxContainer/GridContainer"]
|
|
margin_top = 33.0
|
|
margin_right = 69.0
|
|
margin_bottom = 47.0
|
|
text = "Chunk Size"
|
|
|
|
[node name="ChunkSizeSpinBox" type="SpinBox" parent="VBoxContainer/GridContainer"]
|
|
margin_left = 73.0
|
|
margin_top = 28.0
|
|
margin_right = 223.0
|
|
margin_bottom = 52.0
|
|
min_value = 4.0
|
|
step = 2.0
|
|
value = 10.0
|
|
rounded = true
|
|
align = 2
|
|
|
|
[node name="Empty" type="Label" parent="VBoxContainer/GridContainer"]
|
|
margin_left = 227.0
|
|
margin_top = 33.0
|
|
margin_right = 287.0
|
|
margin_bottom = 47.0
|
|
|
|
[node name="Label4" type="Label" parent="VBoxContainer/GridContainer"]
|
|
margin_top = 103.0
|
|
margin_right = 69.0
|
|
margin_bottom = 117.0
|
|
text = "Objects"
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/GridContainer"]
|
|
margin_left = 73.0
|
|
margin_top = 56.0
|
|
margin_right = 223.0
|
|
margin_bottom = 164.0
|
|
|
|
[node name="ObjectTypeTreeCheckbox" type="CheckBox" parent="VBoxContainer/GridContainer/VBoxContainer"]
|
|
margin_right = 150.0
|
|
margin_bottom = 24.0
|
|
pressed = true
|
|
text = "Trees"
|
|
|
|
[node name="ObjectTypeGrassCheckbox" type="CheckBox" parent="VBoxContainer/GridContainer/VBoxContainer"]
|
|
margin_top = 28.0
|
|
margin_right = 150.0
|
|
margin_bottom = 52.0
|
|
pressed = true
|
|
text = "Grass"
|
|
|
|
[node name="ObjectTypeChestCheckbox" type="CheckBox" parent="VBoxContainer/GridContainer/VBoxContainer"]
|
|
margin_top = 56.0
|
|
margin_right = 150.0
|
|
margin_bottom = 80.0
|
|
pressed = true
|
|
text = "Chests"
|
|
|
|
[node name="ObjectTypeRockCheckbox" type="CheckBox" parent="VBoxContainer/GridContainer/VBoxContainer"]
|
|
margin_top = 84.0
|
|
margin_right = 150.0
|
|
margin_bottom = 108.0
|
|
pressed = true
|
|
text = "Rocks"
|
|
|
|
[node name="GenerateButton" type="Button" parent="VBoxContainer"]
|
|
margin_top = 218.0
|
|
margin_right = 287.0
|
|
margin_bottom = 238.0
|
|
size_flags_horizontal = 3
|
|
text = "Generate"
|
|
|
|
[node name="Back" type="Button" parent="VBoxContainer"]
|
|
margin_top = 258.0
|
|
margin_right = 287.0
|
|
margin_bottom = 278.0
|
|
size_flags_horizontal = 3
|
|
text = "Back"
|
|
|
|
[connection signal="pressed" from="VBoxContainer/GridContainer/RefreshSeedButton" to="." method="_on_RefreshSeedButton_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/GenerateButton" to="." method="_on_GenerateButton_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/Back" to="." method="_on_GenerateButton_pressed"]
|