[gd_scene load_steps=10 format=2] [ext_resource path="res://Main.gd" type="Script" id=1] [ext_resource path="res://Bad1.tscn" type="PackedScene" id=2] [ext_resource path="res://Bloob.tscn" type="PackedScene" id=3] [ext_resource path="res://UpgradeMenu.tscn" type="PackedScene" id=4] [ext_resource path="res://art/bg.png" type="Texture" id=5] [ext_resource path="res://Player.tscn" type="PackedScene" id=6] [ext_resource path="res://Mothership.tscn" type="PackedScene" id=7] [sub_resource type="ImageTexture" id=1] flags = 7 storage = 0 lossy_quality = 0.7 flags = 7 size = Vector2( 0, 0 ) [sub_resource type="ImageTexture" id=2] flags = 7 storage = 0 lossy_quality = 0.7 flags = 7 size = Vector2( 0, 0 ) [node name="Main" type="Node" index="0"] script = ExtResource( 1 ) _sections_unfolded = [ "Pause" ] FirstBad = ExtResource( 2 ) BlobBad = ExtResource( 3 ) UpgradeMenu = ExtResource( 4 ) [node name="Sprite2" type="Sprite" parent="." index="0"] texture = SubResource( 1 ) [node name="Sprite" type="Sprite" parent="." index="1"] texture = SubResource( 2 ) [node name="bg" type="Sprite" parent="Sprite" index="0"] position = Vector2( 544.657, 347.107 ) texture = ExtResource( 5 ) [node name="Player" parent="." index="2" instance=ExtResource( 6 )] [node name="BaddieTimer" type="Timer" parent="." index="3"] process_mode = 1 wait_time = 4.0 one_shot = false autostart = false [node name="Mothership" parent="." index="4" instance=ExtResource( 7 )] [node name="MoneyDisplay" type="Label" parent="." index="5"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 919.0 margin_top = 4.0 margin_right = 1012.0 margin_bottom = 35.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false mouse_filter = 2 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 4 text = "$0" align = 2 percent_visible = 1.0 lines_skipped = 0 max_lines_visible = -1 _sections_unfolded = [ "custom_fonts" ] [node name="UpButton" type="Button" parent="." index="6"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_top = -1.0 margin_right = 337.0 margin_bottom = 295.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 = [ "Visibility" ] [node name="DownButton" type="Button" parent="." index="7"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_top = 294.0 margin_right = 337.0 margin_bottom = 600.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 = [ "Visibility" ] [node name="ShootButton" type="Button" parent="." index="8"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 785.0 margin_top = 375.0 margin_right = 1022.0 margin_bottom = 599.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 = [ "Theme" ] [node name="PauseButton" type="Button" parent="." index="9"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 944.0 margin_top = 36.0 margin_right = 1001.0 margin_bottom = 93.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 text = "||" flat = false align = 1 [connection signal="body_entered" from="Player" to="Player" method="_on_Player_body_entered"] [connection signal="refund" from="Player" to="." method="_on_Player_refund"] [connection signal="shooting_speed_upgrade" from="Player" to="." method="_on_Player_shooting_speed_upgrade"] [connection signal="timeout" from="BaddieTimer" to="." method="BaddieTimer"] [connection signal="button_down" from="UpButton" to="Player" method="upPressed"] [connection signal="button_up" from="UpButton" to="Player" method="upDepressed"] [connection signal="button_down" from="DownButton" to="Player" method="downPressed"] [connection signal="button_up" from="DownButton" to="Player" method="downDepressed"] [connection signal="button_down" from="ShootButton" to="Player" method="shootDown"] [connection signal="button_up" from="ShootButton" to="Player" method="shootUp"] [connection signal="pressed" from="PauseButton" to="." method="_on_PauseButton_pressed"]