particles/MainMenu/MainMenu.tscn

115 lines
2.7 KiB
Plaintext
Raw Normal View History

2022-01-17 23:52:42 -05:00
[gd_scene load_steps=6 format=2]
[ext_resource path="res://ui/ui_theme.tres" type="Theme" id=1]
[ext_resource path="res://ui/particles_logo.png" type="Texture" id=2]
2022-01-18 12:01:37 -05:00
[ext_resource path="res://MainMenu/MainMenu.cs" type="Script" id=3]
2022-01-17 23:52:42 -05:00
[ext_resource path="res://ui/ColorTube-Regular.ttf" type="DynamicFontData" id=4]
[sub_resource type="DynamicFont" id=1]
size = 12
font_data = ExtResource( 4 )
[node name="MainMenu" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 1 )
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MenuButtons" type="VBoxContainer" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -150.0
2022-01-25 12:02:24 -05:00
margin_top = -132.0
2022-01-17 23:52:42 -05:00
margin_right = 150.0
2022-01-25 12:02:24 -05:00
margin_bottom = 337.685
2022-01-17 23:52:42 -05:00
custom_constants/separation = 12
__meta__ = {
"_edit_use_anchors_": false
}
2022-01-25 12:02:24 -05:00
[node name="ParticleCountLabel" type="Label" parent="MenuButtons"]
2022-01-17 23:52:42 -05:00
margin_right = 300.0
margin_bottom = 27.0
text = "Number of Particles"
align = 1
2022-01-25 12:02:24 -05:00
[node name="ParticleCountText" type="TextEdit" parent="MenuButtons"]
2022-01-17 23:52:42 -05:00
margin_top = 39.0
margin_right = 300.0
margin_bottom = 103.769
rect_min_size = Vector2( 0, 64.769 )
text = "1000"
2022-01-25 12:02:24 -05:00
[node name="SeedLabel" type="Label" parent="MenuButtons"]
2022-01-17 23:52:42 -05:00
margin_top = 115.0
margin_right = 300.0
2022-01-25 12:02:24 -05:00
margin_bottom = 142.0
text = "Optional 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
rect_min_size = Vector2( 0, 64.769 )
text = "12345"
[node name="SimulateButton" type="Button" parent="MenuButtons"]
margin_top = 230.0
margin_right = 300.0
margin_bottom = 281.251
2022-01-17 23:52:42 -05:00
text = "Simulate!"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Warning" type="Label" parent="MenuButtons"]
2022-01-25 12:02:24 -05:00
margin_top = 293.0
2022-01-17 23:52:42 -05:00
margin_right = 300.0
2022-01-25 12:02:24 -05:00
margin_bottom = 338.0
2022-01-17 23:52:42 -05:00
custom_fonts/font = SubResource( 1 )
text = "Simulation cannot be resized
once simulation starts!"
align = 1
[node name="HBoxContainer" type="HBoxContainer" parent="MenuButtons"]
2022-01-25 12:02:24 -05:00
margin_top = 350.0
2022-01-17 23:52:42 -05:00
margin_right = 300.0
2022-01-25 12:02:24 -05:00
margin_bottom = 350.0
2022-01-17 23:52:42 -05:00
__meta__ = {
"_edit_use_anchors_": false
}
2022-01-25 12:02:24 -05:00
[node name="ToggleFullscreenButton" type="Button" parent="MenuButtons"]
margin_top = 362.0
2022-01-17 23:52:42 -05:00
margin_right = 300.0
2022-01-25 12:02:24 -05:00
margin_bottom = 413.251
2022-01-17 23:52:42 -05:00
text = "Toggle Fullscreen"
[node name="Logo" type="TextureRect" parent="."]
show_behind_parent = true
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
2022-01-25 12:02:24 -05:00
margin_left = -339.0
margin_top = -384.0
margin_right = 1581.0
margin_bottom = 700.0
2022-01-17 23:52:42 -05:00
rect_scale = Vector2( 0.35, 0.35 )
mouse_filter = 2
texture = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
2022-01-25 12:02:24 -05:00
[connection signal="pressed" from="MenuButtons/ToggleFullscreenButton" to="." method="_on_ToggleFullscreen_pressed"]