project_teddy/scenes/mainmenu.tscn
2023-03-11 14:18:11 -07:00

148 lines
5.3 KiB
Text

[gd_scene load_steps=11 format=3 uid="uid://dtvtu8w6b5es0"]
[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="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
tooltip_text = "Coming soon"
disabled = true
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: PLAYTEST 20230311"
[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")
autoplay = true
[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"]