200 lines
6.7 KiB
Text
200 lines
6.7 KiB
Text
[gd_scene load_steps=12 format=3 uid="uid://cyiyctp6y3n3x"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/mainmenu.gd" id="1_w5lhm"]
|
|
[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"]
|
|
[ext_resource type="Texture2D" uid="uid://deqe3xaqpv1xf" path="res://splashes/OurTimeIsNow_Solo.png" id="10_oafyi"]
|
|
[ext_resource type="Texture2D" uid="uid://bhe2kvpsn0yci" path="res://2DArt/tutorial/music.webp" id="11_1ejug"]
|
|
[ext_resource type="AudioStream" uid="uid://ccbshroalxbnl" path="res://music/Fall-From-Grace.mp3" id="11_6irkm"]
|
|
|
|
[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")
|
|
|
|
[node name="ProjectTeddyFullLogo" type="Sprite2D" parent="."]
|
|
position = Vector2(853, 120)
|
|
scale = Vector2(0.225195, 0.225195)
|
|
texture = ExtResource("3_kac7j")
|
|
|
|
[node name="Button" type="Button" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 245.0
|
|
offset_top = 577.0
|
|
offset_right = 436.0
|
|
offset_bottom = 640.0
|
|
text = "TUTORIAL"
|
|
|
|
[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
|
|
offset_left = 479.0
|
|
offset_top = 256.0
|
|
offset_right = 670.0
|
|
offset_bottom = 319.0
|
|
flat = true
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[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
|
|
offset_left = 479.0
|
|
offset_top = 324.0
|
|
offset_right = 670.0
|
|
offset_bottom = 387.0
|
|
flat = true
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[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")
|
|
|
|
[node name="Button3" type="Button" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_left = -0.000868056
|
|
anchor_top = 0.283951
|
|
anchor_right = -0.000868056
|
|
anchor_bottom = 0.283951
|
|
offset_left = 479.0
|
|
offset_top = 392.0
|
|
offset_right = 670.0
|
|
offset_bottom = 455.0
|
|
text = "EXIT"
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="creditsButton" type="Button" parent="."]
|
|
layout_mode = 0
|
|
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")
|
|
|
|
[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
|
|
text = "Version: 1.0"
|
|
|
|
[node name="OurTimeIsNowSolo" type="Sprite2D" parent="."]
|
|
position = Vector2(123, 104)
|
|
scale = Vector2(0.170075, 0.170075)
|
|
texture = ExtResource("10_oafyi")
|
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("11_6irkm")
|
|
|
|
[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
|
|
|
|
[node name="musicPanel" type="Panel" parent="."]
|
|
visible = false
|
|
layout_mode = 0
|
|
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
|
|
|
|
[node name="Music" type="Sprite2D" parent="musicPanel"]
|
|
position = Vector2(16, 15)
|
|
scale = Vector2(0.112694, 0.112694)
|
|
texture = ExtResource("11_1ejug")
|
|
|
|
[node name="Music2" type="Sprite2D" parent="musicPanel"]
|
|
position = Vector2(236, 15)
|
|
scale = Vector2(0.112694, 0.112694)
|
|
texture = ExtResource("11_1ejug")
|
|
|
|
[node name="Music3" type="Sprite2D" parent="musicPanel"]
|
|
position = Vector2(236, 80)
|
|
scale = Vector2(0.112694, 0.112694)
|
|
texture = ExtResource("11_1ejug")
|
|
|
|
[node name="Music4" type="Sprite2D" parent="musicPanel"]
|
|
position = Vector2(16, 80)
|
|
scale = Vector2(0.112694, 0.112694)
|
|
texture = ExtResource("11_1ejug")
|
|
|
|
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
|
|
[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"]
|
|
[connection signal="pressed" from="Button3" to="." method="_on_button_3_pressed"]
|
|
[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"]
|
|
[connection signal="pressed" from="lightButton" to="." method="_on_light_button_pressed"]
|