randomize seed for menu
This commit is contained in:
@@ -23,76 +23,99 @@ anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -150.0
|
||||
margin_top = -132.0
|
||||
margin_right = 150.0
|
||||
margin_bottom = 337.685
|
||||
margin_left = -259.5
|
||||
margin_top = -114.0
|
||||
margin_right = 259.5
|
||||
margin_bottom = 172.5
|
||||
custom_constants/separation = 12
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="ParticleCountLabel" type="Label" parent="MenuButtons"]
|
||||
margin_right = 300.0
|
||||
[node name="Inputs" type="HBoxContainer" parent="MenuButtons"]
|
||||
margin_right = 519.0
|
||||
margin_bottom = 150.0
|
||||
alignment = 1
|
||||
|
||||
[node name="Seed" type="VBoxContainer" parent="MenuButtons/Inputs"]
|
||||
margin_right = 250.946
|
||||
margin_bottom = 150.0
|
||||
rect_min_size = Vector2( 250.946, 0 )
|
||||
|
||||
[node name="SeedLabel" type="Label" parent="MenuButtons/Inputs/Seed"]
|
||||
margin_right = 250.0
|
||||
margin_bottom = 27.0
|
||||
text = "Number of Particles"
|
||||
align = 1
|
||||
|
||||
[node name="ParticleCountText" type="TextEdit" parent="MenuButtons"]
|
||||
margin_top = 39.0
|
||||
margin_right = 300.0
|
||||
margin_bottom = 103.769
|
||||
rect_min_size = Vector2( 0, 64.769 )
|
||||
text = "1000"
|
||||
|
||||
[node name="SeedLabel" type="Label" parent="MenuButtons"]
|
||||
margin_top = 115.0
|
||||
margin_right = 300.0
|
||||
margin_bottom = 142.0
|
||||
text = "Optional Seed Number"
|
||||
text = "Seed Number"
|
||||
align = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="SeedText" type="TextEdit" parent="MenuButtons"]
|
||||
margin_top = 154.0
|
||||
margin_right = 300.0
|
||||
margin_bottom = 218.769
|
||||
[node name="SeedText" type="TextEdit" parent="MenuButtons/Inputs/Seed"]
|
||||
margin_top = 31.0
|
||||
margin_right = 250.0
|
||||
margin_bottom = 95.769
|
||||
rect_min_size = Vector2( 0, 64.769 )
|
||||
text = "12345"
|
||||
|
||||
[node name="RandomizeButton" type="Button" parent="MenuButtons/Inputs/Seed"]
|
||||
margin_top = 99.0
|
||||
margin_right = 250.0
|
||||
margin_bottom = 150.251
|
||||
text = "Randomize!"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="ParticleCount" type="VBoxContainer" parent="MenuButtons/Inputs"]
|
||||
margin_left = 254.0
|
||||
margin_right = 519.0
|
||||
margin_bottom = 150.0
|
||||
|
||||
[node name="ParticleCountLabel" type="Label" parent="MenuButtons/Inputs/ParticleCount"]
|
||||
margin_right = 265.0
|
||||
margin_bottom = 27.0
|
||||
text = "Number of Particles"
|
||||
align = 1
|
||||
|
||||
[node name="ParticleCountText" type="TextEdit" parent="MenuButtons/Inputs/ParticleCount"]
|
||||
margin_top = 31.0
|
||||
margin_right = 265.0
|
||||
margin_bottom = 95.769
|
||||
rect_min_size = Vector2( 0, 64.769 )
|
||||
text = "1000"
|
||||
|
||||
[node name="SimulateButton" type="Button" parent="MenuButtons"]
|
||||
margin_top = 230.0
|
||||
margin_right = 300.0
|
||||
margin_bottom = 281.251
|
||||
margin_top = 162.0
|
||||
margin_right = 519.0
|
||||
margin_bottom = 213.251
|
||||
text = "Simulate!"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Warning" type="Label" parent="MenuButtons"]
|
||||
margin_top = 293.0
|
||||
margin_right = 300.0
|
||||
margin_bottom = 338.0
|
||||
margin_top = 225.0
|
||||
margin_right = 519.0
|
||||
margin_bottom = 270.0
|
||||
custom_fonts/font = SubResource( 1 )
|
||||
text = "Simulation cannot be resized
|
||||
once simulation starts!"
|
||||
align = 1
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MenuButtons"]
|
||||
margin_top = 350.0
|
||||
margin_right = 300.0
|
||||
margin_bottom = 350.0
|
||||
margin_top = 282.0
|
||||
margin_right = 519.0
|
||||
margin_bottom = 282.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="ToggleFullscreenButton" type="Button" parent="MenuButtons"]
|
||||
margin_top = 362.0
|
||||
margin_right = 300.0
|
||||
margin_bottom = 413.251
|
||||
text = "Toggle Fullscreen"
|
||||
margin_top = 294.0
|
||||
margin_right = 519.0
|
||||
margin_bottom = 345.251
|
||||
text = "Toggle Fullscreen!"
|
||||
|
||||
[node name="Logo" type="TextureRect" parent="."]
|
||||
show_behind_parent = true
|
||||
@@ -110,5 +133,3 @@ texture = ExtResource( 2 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[connection signal="pressed" from="MenuButtons/ToggleFullscreenButton" to="." method="_on_ToggleFullscreen_pressed"]
|
||||
|
||||
Reference in New Issue
Block a user