[gd_scene load_steps=9 format=2] [ext_resource path="res://MainMenu.gd" type="Script" id=1] [ext_resource path="res://mainmenu.png" type="Texture" id=2] [ext_resource path="res://menu_music.ogg" type="AudioStream" id=3] [ext_resource path="res://art/player/Rocket1.png" type="Texture" id=4] [ext_resource path="res://menu_button.png" type="Texture" id=5] [sub_resource type="SpriteFrames" id=1] animations = [ { "frames": [ ExtResource( 2 ) ], "loop": true, "name": "default", "speed": 5.0 } ] [sub_resource type="SpriteFrames" id=2] animations = [ { "frames": [ ExtResource( 4 ) ], "loop": true, "name": "default", "speed": 5.0 } ] [sub_resource type="SpriteFrames" id=3] animations = [ { "frames": [ ExtResource( 5 ) ], "loop": true, "name": "default", "speed": 5.0 } ] [node name="Node" type="Node" index="0"] pause_mode = 2 script = ExtResource( 1 ) _sections_unfolded = [ "Pause" ] [node name="AnimatedSprite" type="AnimatedSprite" parent="." index="0"] position = Vector2( 510, 300 ) scale = Vector2( 0.557292, 0.557292 ) frames = SubResource( 1 ) animation = "default" [node name="Music" type="AudioStreamPlayer" parent="." index="1"] stream = ExtResource( 3 ) volume_db = 0.0 autoplay = false mix_target = 0 bus = "Master" _sections_unfolded = [ "Pause" ] [node name="Ship" type="AnimatedSprite" parent="." index="2"] position = Vector2( 540, 310 ) rotation = -0.0872665 scale = Vector2( 0.65, 0.65 ) frames = SubResource( 2 ) animation = "default" _sections_unfolded = [ "Transform" ] [node name="StartEndlessMode" type="Button" parent="." index="3"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 210.0 margin_top = 430.0 margin_right = 570.0 margin_bottom = 580.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false focus_mode = 2 mouse_filter = 0 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 toggle_mode = false enabled_focus_mode = 2 shortcut = null group = null flat = true align = 1 _sections_unfolded = [ "Material", "Visibility" ] [node name="Menubutton" type="AnimatedSprite" parent="." index="4"] position = Vector2( 925, 288 ) scale = Vector2( 0.4, 0.4 ) frames = SubResource( 3 ) animation = "default" _sections_unfolded = [ "Transform" ] [node name="Multiplayer" type="Button" parent="." index="5"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 860.0 margin_top = 220.0 margin_right = 980.0 margin_bottom = 360.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false focus_mode = 2 mouse_filter = 0 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 toggle_mode = false enabled_focus_mode = 2 shortcut = null group = null flat = true align = 1 [node name="ColorRect" type="ColorRect" parent="." index="6"] visible = false anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_right = 1020.0 margin_bottom = 600.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false mouse_filter = 0 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 color = Color( 0, 0, 0, 0 ) _sections_unfolded = [ "Visibility" ] [node name="Settings?" type="Node2D" parent="." index="7"] [node name="Settings" type="Button" parent="." index="8"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 650.0 margin_top = 400.0 margin_right = 850.0 margin_bottom = 570.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false focus_mode = 2 mouse_filter = 0 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 toggle_mode = false enabled_focus_mode = 2 shortcut = null group = null flat = true align = 1 [connection signal="pressed" from="StartEndlessMode" to="." method="_on_Button_pressed"] [connection signal="pressed" from="Multiplayer" to="." method="_on_Multiplayer_pressed"] [connection signal="pressed" from="Settings" to="." method="_on_Settings_pressed"]