2023-03-11 14:18:11 -07:00
|
|
|
[gd_scene load_steps=11 format=3 uid="uid://dtvtu8w6b5es0"]
|
2023-01-24 13:33:37 -07:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/mainmenu.gd" id="1_w5lhm"]
|
2023-02-24 23:49:49 -07:00
|
|
|
[ext_resource type="Texture2D" uid="uid://gt440iakn1t5" path="res://2DArt/Main Menu/ProjectTeddyFULLLogo.png" id="3_kac7j"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://256bck7an7h" path="res://2DArt/Main Menu/PlayUnselected.png" id="4_aht2t"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cuev8l405quxs" path="res://2DArt/Main Menu/PlaySelected.png" id="4_tg1yj"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://b3ftohrlyygnr" path="res://2DArt/Main Menu/SettingsSelected.png" id="6_1gsb2"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://6o45rgrqwraw" path="res://2DArt/Main Menu/SettingsUnselected.png" id="6_f1knf"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://c8q2aon4qw0xp" path="res://2DArt/Main Menu/CreditUnselected.png" id="8_h20ni"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://ds6ymkq367mdi" path="res://2DArt/Main Menu/CreditSelected.png" id="8_plwex"]
|
2023-03-02 13:35:35 -07:00
|
|
|
[ext_resource type="Texture2D" uid="uid://deqe3xaqpv1xf" path="res://splashes/OurTimeIsNow_Solo.png" id="10_oafyi"]
|
2023-03-10 23:24:39 -07:00
|
|
|
[ext_resource type="AudioStream" uid="uid://ccbshroalxbnl" path="res://music/Fall-From-Grace.mp3" id="11_6irkm"]
|
2023-01-24 13:33:37 -07:00
|
|
|
|
|
|
|
[node name="mainmenu" type="Control"]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
script = ExtResource("1_w5lhm")
|
|
|
|
|
2023-02-24 23:49:49 -07:00
|
|
|
[node name="ProjectTeddyFullLogo" type="Sprite2D" parent="."]
|
|
|
|
position = Vector2(853, 120)
|
|
|
|
scale = Vector2(0.225195, 0.225195)
|
|
|
|
texture = ExtResource("3_kac7j")
|
|
|
|
|
2023-01-24 13:33:37 -07:00
|
|
|
[node name="Button" type="Button" parent="."]
|
|
|
|
layout_mode = 0
|
2023-02-24 23:49:49 -07:00
|
|
|
offset_left = 245.0
|
|
|
|
offset_top = 577.0
|
|
|
|
offset_right = 436.0
|
|
|
|
offset_bottom = 640.0
|
2023-03-05 20:15:46 -07:00
|
|
|
tooltip_text = "Coming soon"
|
|
|
|
disabled = true
|
2023-02-02 13:28:14 -07:00
|
|
|
text = "TUTORIAL"
|
2023-01-24 13:33:37 -07:00
|
|
|
|
2023-02-24 23:49:49 -07:00
|
|
|
[node name="playButton" type="Button" parent="."]
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = -1
|
|
|
|
anchor_left = 0.371528
|
|
|
|
anchor_top = 0.0833333
|
|
|
|
anchor_right = 0.386285
|
|
|
|
anchor_bottom = 0.132716
|
2023-02-02 13:28:14 -07:00
|
|
|
offset_left = 479.0
|
|
|
|
offset_top = 256.0
|
|
|
|
offset_right = 670.0
|
|
|
|
offset_bottom = 319.0
|
2023-02-24 23:49:49 -07:00
|
|
|
flat = true
|
2023-02-02 13:28:14 -07:00
|
|
|
metadata/_edit_use_anchors_ = true
|
2023-01-31 13:34:11 -07:00
|
|
|
|
2023-02-24 23:49:49 -07:00
|
|
|
[node name="PlaySelected" type="Sprite2D" parent="playButton"]
|
|
|
|
visible = false
|
|
|
|
position = Vector2(104, 47)
|
|
|
|
scale = Vector2(0.385241, 0.385241)
|
|
|
|
texture = ExtResource("4_tg1yj")
|
|
|
|
|
|
|
|
[node name="PlayUnselected" type="Sprite2D" parent="playButton"]
|
|
|
|
position = Vector2(105, 46)
|
|
|
|
scale = Vector2(0.384832, 0.384832)
|
|
|
|
texture = ExtResource("4_aht2t")
|
|
|
|
|
|
|
|
[node name="settingsButton" type="Button" parent="."]
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = -1
|
|
|
|
anchor_left = 0.229167
|
|
|
|
anchor_top = 0.149691
|
|
|
|
anchor_right = 0.394965
|
|
|
|
anchor_bottom = 0.191358
|
2023-02-02 13:28:14 -07:00
|
|
|
offset_left = 479.0
|
|
|
|
offset_top = 324.0
|
|
|
|
offset_right = 670.0
|
|
|
|
offset_bottom = 387.0
|
2023-02-24 23:49:49 -07:00
|
|
|
flat = true
|
2023-02-02 13:28:14 -07:00
|
|
|
metadata/_edit_use_anchors_ = true
|
2023-01-24 13:33:37 -07:00
|
|
|
|
2023-02-24 23:49:49 -07:00
|
|
|
[node name="SettingsSelected" type="Sprite2D" parent="settingsButton"]
|
|
|
|
visible = false
|
|
|
|
position = Vector2(190, 44)
|
|
|
|
scale = Vector2(0.353704, 0.353704)
|
|
|
|
texture = ExtResource("6_1gsb2")
|
|
|
|
|
|
|
|
[node name="SettingsUnselected" type="Sprite2D" parent="settingsButton"]
|
|
|
|
position = Vector2(188.877, 43.7969)
|
|
|
|
scale = Vector2(0.354051, 0.354051)
|
|
|
|
texture = ExtResource("6_f1knf")
|
|
|
|
|
2023-01-24 13:33:37 -07:00
|
|
|
[node name="Button3" type="Button" parent="."]
|
2023-02-24 23:49:49 -07:00
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = -1
|
|
|
|
anchor_left = -0.000868056
|
|
|
|
anchor_top = 0.283951
|
|
|
|
anchor_right = -0.000868056
|
|
|
|
anchor_bottom = 0.283951
|
2023-02-02 13:28:14 -07:00
|
|
|
offset_left = 479.0
|
|
|
|
offset_top = 392.0
|
|
|
|
offset_right = 670.0
|
|
|
|
offset_bottom = 455.0
|
2023-01-24 13:33:37 -07:00
|
|
|
text = "EXIT"
|
2023-02-02 13:28:14 -07:00
|
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
|
2023-02-24 23:49:49 -07:00
|
|
|
[node name="creditsButton" type="Button" parent="."]
|
2023-02-02 13:28:14 -07:00
|
|
|
layout_mode = 0
|
2023-02-24 23:49:49 -07:00
|
|
|
offset_left = 809.0
|
|
|
|
offset_top = 522.0
|
|
|
|
offset_right = 1119.0
|
|
|
|
offset_bottom = 602.0
|
|
|
|
flat = true
|
|
|
|
|
|
|
|
[node name="CreditSelected" type="Sprite2D" parent="creditsButton"]
|
|
|
|
visible = false
|
|
|
|
position = Vector2(155, 42)
|
|
|
|
scale = Vector2(0.344, 0.344)
|
|
|
|
texture = ExtResource("8_plwex")
|
|
|
|
|
|
|
|
[node name="CreditUnselected" type="Sprite2D" parent="creditsButton"]
|
|
|
|
position = Vector2(155.115, 42.25)
|
|
|
|
scale = Vector2(0.344017, 0.344017)
|
|
|
|
texture = ExtResource("8_h20ni")
|
2023-01-24 13:33:37 -07:00
|
|
|
|
2023-02-28 09:46:35 -07:00
|
|
|
[node name="versionString" type="Label" parent="."]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 4.0
|
|
|
|
offset_top = 622.0
|
|
|
|
offset_right = 94.0
|
|
|
|
offset_bottom = 648.0
|
2023-03-12 00:43:49 -07:00
|
|
|
text = "Version: ALPHA"
|
2023-02-28 09:46:35 -07:00
|
|
|
|
2023-03-02 13:35:35 -07:00
|
|
|
[node name="OurTimeIsNowSolo" type="Sprite2D" parent="."]
|
|
|
|
position = Vector2(123, 104)
|
|
|
|
scale = Vector2(0.170075, 0.170075)
|
|
|
|
texture = ExtResource("10_oafyi")
|
|
|
|
|
2023-03-10 23:24:39 -07:00
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
|
|
|
stream = ExtResource("11_6irkm")
|
|
|
|
|
2023-03-12 00:43:49 -07:00
|
|
|
[node name="lightButton" type="Button" parent="."]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 438.0
|
|
|
|
offset_top = 165.0
|
|
|
|
offset_right = 450.0
|
|
|
|
offset_bottom = 186.0
|
|
|
|
flat = true
|
|
|
|
|
2023-03-11 18:50:43 -07:00
|
|
|
[node name="musicPanel" type="Panel" parent="."]
|
|
|
|
visible = false
|
|
|
|
offset_left = 9.0
|
|
|
|
offset_top = 327.0
|
|
|
|
offset_right = 266.0
|
|
|
|
offset_bottom = 423.0
|
|
|
|
|
|
|
|
[node name="playingLabel" type="Label" parent="musicPanel"]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 4.0
|
|
|
|
offset_top = 14.0
|
|
|
|
offset_right = 253.0
|
|
|
|
offset_bottom = 40.0
|
|
|
|
text = "Now playing: "
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
|
|
|
[node name="authorLabel" type="Label" parent="musicPanel"]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 7.0
|
|
|
|
offset_top = 58.0
|
|
|
|
offset_right = 252.0
|
|
|
|
offset_bottom = 81.0
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
2023-01-24 13:33:37 -07:00
|
|
|
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
|
2023-02-24 23:49:49 -07:00
|
|
|
[connection signal="mouse_entered" from="playButton" to="." method="_on_play_button_mouse_entered"]
|
|
|
|
[connection signal="mouse_exited" from="playButton" to="." method="_on_play_button_mouse_exited"]
|
|
|
|
[connection signal="pressed" from="playButton" to="." method="_on_button_4_pressed"]
|
|
|
|
[connection signal="mouse_entered" from="settingsButton" to="." method="_on_settings_button_mouse_entered"]
|
|
|
|
[connection signal="mouse_exited" from="settingsButton" to="." method="_on_settings_button_mouse_exited"]
|
|
|
|
[connection signal="pressed" from="settingsButton" to="." method="_on_button_2_pressed"]
|
2023-01-26 12:17:54 -07:00
|
|
|
[connection signal="pressed" from="Button3" to="." method="_on_button_3_pressed"]
|
2023-02-24 23:49:49 -07:00
|
|
|
[connection signal="mouse_entered" from="creditsButton" to="." method="_on_credits_button_mouse_entered"]
|
|
|
|
[connection signal="mouse_exited" from="creditsButton" to="." method="_on_credits_button_mouse_exited"]
|
|
|
|
[connection signal="pressed" from="creditsButton" to="." method="_on_button_5_pressed"]
|
2023-03-12 00:43:49 -07:00
|
|
|
[connection signal="pressed" from="lightButton" to="." method="_on_light_button_pressed"]
|