particles/MainMenu/MainMenu.tscn

201 lines
4.6 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
2022-01-25 23:06:48 -05:00
anchor_top = 0.582
2022-01-17 23:52:42 -05:00
anchor_right = 0.5
2022-01-25 23:06:48 -05:00
anchor_bottom = 0.582
margin_left = -304.0
margin_top = -172.5
margin_right = 304.0
2022-01-25 12:33:18 -05:00
margin_bottom = 172.5
2022-01-17 23:52:42 -05:00
custom_constants/separation = 12
__meta__ = {
"_edit_use_anchors_": false
}
2022-01-25 12:33:18 -05:00
[node name="Inputs" type="HBoxContainer" parent="MenuButtons"]
2022-01-25 23:06:48 -05:00
margin_right = 608.0
2022-01-25 12:33:18 -05:00
margin_bottom = 150.0
alignment = 1
[node name="Seed" type="VBoxContainer" parent="MenuButtons/Inputs"]
2022-01-25 23:06:48 -05:00
margin_right = 200.0
2022-01-25 12:33:18 -05:00
margin_bottom = 150.0
2022-01-25 23:06:48 -05:00
rect_min_size = Vector2( 200, 0 )
2022-01-25 12:33:18 -05:00
[node name="SeedLabel" type="Label" parent="MenuButtons/Inputs/Seed"]
2022-01-25 23:06:48 -05:00
margin_right = 200.0
2022-01-17 23:52:42 -05:00
margin_bottom = 27.0
2022-01-25 12:33:18 -05:00
text = "Seed Number"
2022-01-17 23:52:42 -05:00
align = 1
2022-01-25 12:33:18 -05:00
__meta__ = {
"_edit_use_anchors_": false
}
2022-01-17 23:52:42 -05:00
2022-01-25 12:33:18 -05:00
[node name="SeedText" type="TextEdit" parent="MenuButtons/Inputs/Seed"]
margin_top = 31.0
2022-01-25 23:06:48 -05:00
margin_right = 200.0
2022-01-25 12:33:18 -05:00
margin_bottom = 95.769
2022-01-17 23:52:42 -05:00
rect_min_size = Vector2( 0, 64.769 )
2022-01-25 12:33:18 -05:00
text = "12345"
2022-01-17 23:52:42 -05:00
2022-01-25 12:33:18 -05:00
[node name="RandomizeButton" type="Button" parent="MenuButtons/Inputs/Seed"]
margin_top = 99.0
2022-01-25 23:06:48 -05:00
margin_right = 200.0
2022-01-25 12:33:18 -05:00
margin_bottom = 150.251
text = "Randomize!"
2022-01-25 12:02:24 -05:00
__meta__ = {
"_edit_use_anchors_": false
}
2022-01-25 12:33:18 -05:00
[node name="ParticleCount" type="VBoxContainer" parent="MenuButtons/Inputs"]
2022-01-25 23:06:48 -05:00
margin_left = 204.0
margin_right = 404.0
2022-01-25 12:33:18 -05:00
margin_bottom = 150.0
2022-01-25 23:06:48 -05:00
rect_min_size = Vector2( 200, 0 )
2022-01-25 12:33:18 -05:00
[node name="ParticleCountLabel" type="Label" parent="MenuButtons/Inputs/ParticleCount"]
2022-01-25 23:06:48 -05:00
margin_right = 200.0
2022-01-25 12:33:18 -05:00
margin_bottom = 27.0
2022-01-25 23:06:48 -05:00
text = "Particle Count"
2022-01-25 12:33:18 -05:00
align = 1
[node name="ParticleCountText" type="TextEdit" parent="MenuButtons/Inputs/ParticleCount"]
margin_top = 31.0
2022-01-25 23:06:48 -05:00
margin_right = 200.0
margin_bottom = 96.0
rect_min_size = Vector2( 0, 65 )
2022-01-25 12:33:18 -05:00
text = "1000"
2022-01-25 12:02:24 -05:00
2022-01-25 23:06:48 -05:00
[node name="Zoom" type="VBoxContainer" parent="MenuButtons/Inputs"]
margin_left = 408.0
margin_right = 608.0
margin_bottom = 150.0
rect_min_size = Vector2( 200, 0 )
[node name="ZoomLabel" type="Label" parent="MenuButtons/Inputs/Zoom"]
margin_right = 200.0
margin_bottom = 27.0
text = "Zoom"
align = 1
[node name="ZoomValue" type="Label" parent="MenuButtons/Inputs/Zoom"]
margin_top = 31.0
margin_right = 200.0
margin_bottom = 58.0
text = "1.4"
align = 1
[node name="ZoomSlider" type="HSlider" parent="MenuButtons/Inputs/Zoom"]
margin_top = 62.0
margin_right = 200.0
margin_bottom = 104.0
min_value = 0.5
max_value = 5.0
step = 0.1
value = 1.4
2022-01-25 12:02:24 -05:00
[node name="SimulateButton" type="Button" parent="MenuButtons"]
2022-01-25 12:33:18 -05:00
margin_top = 162.0
2022-01-25 23:06:48 -05:00
margin_right = 608.0
2022-01-25 12:33:18 -05:00
margin_bottom = 213.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:33:18 -05:00
margin_top = 225.0
2022-01-25 23:06:48 -05:00
margin_right = 608.0
2022-01-25 12:33:18 -05:00
margin_bottom = 270.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:33:18 -05:00
margin_top = 282.0
2022-01-25 23:06:48 -05:00
margin_right = 608.0
2022-01-25 12:33:18 -05:00
margin_bottom = 282.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"]
2022-01-25 12:33:18 -05:00
margin_top = 294.0
2022-01-25 23:06:48 -05:00
margin_right = 608.0
2022-01-25 12:33:18 -05:00
margin_bottom = 345.251
text = "Toggle Fullscreen!"
2022-01-17 23:52:42 -05:00
[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__ = {
2022-01-25 23:06:48 -05:00
"_edit_lock_": true,
2022-01-17 23:52:42 -05:00
"_edit_use_anchors_": false
}
2022-01-25 23:06:48 -05:00
[node name="Controls" type="Label" parent="."]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -183.0
margin_top = -81.0
margin_right = -10.0
margin_bottom = -12.0
custom_fonts/font = SubResource( 1 )
text = "Controls
R to Restart
Esc to Exit"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="InvalidLabel" type="Label" parent="."]
modulate = Color( 1, 1, 1, 0 )
margin_left = 15.0
margin_top = 16.0
margin_right = 226.0
margin_bottom = 43.0
text = "Invalid Inputs!"
uppercase = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="InvalidTween" type="Tween" parent="."]
[node name="InvalidTimer" type="Timer" parent="."]
one_shot = true