2023-07-19 20:41:29 +00:00
|
|
|
[gd_scene load_steps=9 format=3 uid="uid://befxf8uruwnrl"]
|
2023-03-13 12:15:43 +00:00
|
|
|
|
2023-06-25 21:50:51 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://gldtxysavetf" path="res://logic-scenes/startup/startup.tscn" id="1_v5rpm"]
|
2023-05-18 07:40:52 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://b3b0gyvklqn50" path="res://base-environments/youth_room/youth_room.tscn" id="2_23ia3"]
|
2023-03-13 12:15:43 +00:00
|
|
|
[ext_resource type="Theme" uid="uid://b056fn288p8ha" path="res://logic-scenes/themes/messy.theme" id="3_8hrj7"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://d3ewjumh0b0g6" path="res://logic-scenes/main menu/logo.png" id="4_kslkj"]
|
2023-04-15 14:07:01 +00:00
|
|
|
[ext_resource type="Script" path="res://logic-scenes/main menu/Main Menu.gd" id="4_vj0j6"]
|
2023-07-15 22:59:33 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://6aaxpvoepqrm" path="res://disclaimer.tscn" id="7_t45fc"]
|
2023-03-13 12:15:43 +00:00
|
|
|
|
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_njt06"]
|
|
|
|
|
|
2023-07-08 20:03:39 +00:00
|
|
|
[sub_resource type="GDScript" id="GDScript_8sq0u"]
|
|
|
|
|
script/source = "extends Label
|
|
|
|
|
|
2023-08-01 09:01:52 +00:00
|
|
|
func _process(_delta):
|
2023-07-08 20:03:39 +00:00
|
|
|
text = str(Engine.get_frames_per_second())
|
|
|
|
|
"
|
|
|
|
|
|
2023-03-13 12:15:43 +00:00
|
|
|
[node name="root" type="Node3D"]
|
|
|
|
|
|
2023-06-25 21:50:51 +00:00
|
|
|
[node name="youth room" parent="." instance=ExtResource("2_23ia3")]
|
|
|
|
|
|
2023-03-13 12:15:43 +00:00
|
|
|
[node name="Main Menu" type="Panel" parent="."]
|
|
|
|
|
anchors_preset = 15
|
|
|
|
|
anchor_right = 1.0
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
theme = ExtResource("3_8hrj7")
|
|
|
|
|
theme_override_styles/panel = SubResource("StyleBoxEmpty_njt06")
|
2023-04-15 14:07:01 +00:00
|
|
|
script = ExtResource("4_vj0j6")
|
2023-03-13 12:15:43 +00:00
|
|
|
|
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Main Menu"]
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 3
|
|
|
|
|
anchor_left = 1.0
|
|
|
|
|
anchor_top = 1.0
|
|
|
|
|
anchor_right = 1.0
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
offset_left = -553.0
|
|
|
|
|
offset_top = -546.0
|
|
|
|
|
offset_right = 471.0
|
|
|
|
|
offset_bottom = 478.0
|
|
|
|
|
grow_horizontal = 0
|
|
|
|
|
grow_vertical = 0
|
|
|
|
|
scale = Vector2(0.5, 0.5)
|
|
|
|
|
texture = ExtResource("4_kslkj")
|
|
|
|
|
|
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="Main Menu"]
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 8
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_top = 0.5
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
|
|
|
|
[node name="Button" type="Button" parent="Main Menu/PanelContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "new Game"
|
|
|
|
|
|
2023-07-08 20:03:39 +00:00
|
|
|
[node name="Label" type="Label" parent="."]
|
|
|
|
|
offset_right = 40.0
|
|
|
|
|
offset_bottom = 35.0
|
|
|
|
|
script = SubResource("GDScript_8sq0u")
|
|
|
|
|
|
2023-07-15 22:59:33 +00:00
|
|
|
[node name="Startup Menu" parent="." instance=ExtResource("1_v5rpm")]
|
|
|
|
|
|
|
|
|
|
[node name="Disclaimer" parent="." instance=ExtResource("7_t45fc")]
|
|
|
|
|
|
2023-03-13 12:15:43 +00:00
|
|
|
[connection signal="pressed" from="Main Menu/PanelContainer/Button" to="youth room" method="start"]
|
2023-06-25 21:50:51 +00:00
|
|
|
[connection signal="pressed" from="Main Menu/PanelContainer/Button" to="Main Menu" method="hide"]
|
2023-07-15 22:59:33 +00:00
|
|
|
[connection signal="on_read" from="Disclaimer" to="Startup Menu" method="starting"]
|