2018-11-14 20:36:02 -05:00
|
|
|
[gd_scene load_steps=22 format=2]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
|
|
|
[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]
|
2018-05-26 02:55:17 -04:00
|
|
|
[ext_resource path="res://BadLaser.tscn" type="PackedScene" id=4]
|
2018-06-03 11:11:27 -04:00
|
|
|
[ext_resource path="res://Prison.tscn" type="PackedScene" id=5]
|
|
|
|
[ext_resource path="res://RectangleBoss.tscn" type="PackedScene" id=6]
|
2018-11-14 20:36:02 -05:00
|
|
|
[ext_resource path="res://RectangleReturn.tscn" type="PackedScene" id=7]
|
|
|
|
[ext_resource path="res://BlackHole.tscn" type="PackedScene" id=8]
|
|
|
|
[ext_resource path="res://BG.tscn" type="PackedScene" id=9]
|
|
|
|
[ext_resource path="res://Player.tscn" type="PackedScene" id=10]
|
|
|
|
[ext_resource path="res://Mothership.tscn" type="PackedScene" id=11]
|
|
|
|
[ext_resource path="res://art/hand-numbs.ttf" type="DynamicFontData" id=12]
|
|
|
|
[ext_resource path="res://OtherPlayer.tscn" type="PackedScene" id=13]
|
|
|
|
[ext_resource path="res://art/interface/pause.png" type="Texture" id=14]
|
|
|
|
[ext_resource path="res://art/interface/how_to.png" type="Texture" id=15]
|
|
|
|
[ext_resource path="res://art/interface/how_to_desktop.png" type="Texture" id=16]
|
|
|
|
[ext_resource path="res://main_bg.ogg" type="AudioStream" id=17]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
2018-11-12 23:17:53 -05:00
|
|
|
[sub_resource type="DynamicFont" id=1]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
2018-11-12 23:17:53 -05:00
|
|
|
size = 28
|
|
|
|
use_mipmaps = false
|
|
|
|
use_filter = false
|
2018-11-14 20:36:02 -05:00
|
|
|
font_data = ExtResource( 12 )
|
2018-11-12 23:17:53 -05:00
|
|
|
_sections_unfolded = [ "Font", "Settings" ]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
2018-05-26 02:55:17 -04:00
|
|
|
[sub_resource type="SpriteFrames" id=2]
|
|
|
|
|
|
|
|
animations = [ {
|
2018-11-14 20:36:02 -05:00
|
|
|
"frames": [ ExtResource( 14 ) ],
|
2018-05-26 02:55:17 -04:00
|
|
|
"loop": true,
|
|
|
|
"name": "default",
|
|
|
|
"speed": 5.0
|
|
|
|
} ]
|
|
|
|
|
2018-06-03 11:11:27 -04:00
|
|
|
[sub_resource type="SpriteFrames" id=3]
|
|
|
|
|
|
|
|
animations = [ {
|
2018-11-14 20:36:02 -05:00
|
|
|
"frames": [ ExtResource( 15 ) ],
|
2018-06-03 11:11:27 -04:00
|
|
|
"loop": true,
|
|
|
|
"name": "default",
|
|
|
|
"speed": 5.0
|
|
|
|
} ]
|
|
|
|
|
|
|
|
[sub_resource type="SpriteFrames" id=4]
|
|
|
|
|
|
|
|
animations = [ {
|
2018-11-14 20:36:02 -05:00
|
|
|
"frames": [ ExtResource( 16 ) ],
|
2018-06-03 11:11:27 -04:00
|
|
|
"loop": true,
|
|
|
|
"name": "default",
|
|
|
|
"speed": 5.0
|
|
|
|
} ]
|
|
|
|
|
2018-11-12 23:17:53 -05:00
|
|
|
[node name="Main" type="Node"]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
_sections_unfolded = [ "Pause" ]
|
|
|
|
FirstBad = ExtResource( 2 )
|
2018-05-23 03:57:15 -04:00
|
|
|
BlobBad = ExtResource( 3 )
|
2018-05-26 02:55:17 -04:00
|
|
|
LaserBad = ExtResource( 4 )
|
2018-06-03 11:11:27 -04:00
|
|
|
Prison = ExtResource( 5 )
|
|
|
|
RectangleBoss = ExtResource( 6 )
|
2018-11-14 20:36:02 -05:00
|
|
|
RectangleReturn = ExtResource( 7 )
|
|
|
|
BlackHole = ExtResource( 8 )
|
2018-05-23 01:40:45 -04:00
|
|
|
|
2018-11-14 20:36:02 -05:00
|
|
|
[node name="BG" parent="." index="0" instance=ExtResource( 9 )]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
2018-11-14 20:36:02 -05:00
|
|
|
[node name="Player" parent="." index="1" instance=ExtResource( 10 )]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
2018-11-14 20:36:02 -05:00
|
|
|
[node name="Mothership" parent="." index="2" instance=ExtResource( 11 )]
|
2018-05-26 02:55:17 -04:00
|
|
|
|
|
|
|
position = Vector2( 18.327, 304.835 )
|
2018-05-23 01:40:45 -04:00
|
|
|
|
2018-11-12 23:17:53 -05:00
|
|
|
[node name="MoneyDisplay" type="Label" parent="." index="3"]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2018-05-26 02:55:17 -04:00
|
|
|
margin_left = 913.0
|
2018-11-12 23:17:53 -05:00
|
|
|
margin_top = 557.0
|
2018-05-26 02:55:17 -04:00
|
|
|
margin_right = 1006.0
|
2018-11-12 23:17:53 -05:00
|
|
|
margin_bottom = 592.0
|
2018-05-23 01:40:45 -04:00
|
|
|
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
|
2018-11-12 23:17:53 -05:00
|
|
|
custom_fonts/font = SubResource( 1 )
|
|
|
|
custom_colors/font_color = Color( 1, 1, 1, 1 )
|
2018-05-23 01:40:45 -04:00
|
|
|
text = "$0"
|
|
|
|
align = 2
|
|
|
|
percent_visible = 1.0
|
|
|
|
lines_skipped = 0
|
|
|
|
max_lines_visible = -1
|
2018-11-12 23:17:53 -05:00
|
|
|
_sections_unfolded = [ "Size Flags", "custom_colors", "custom_fonts" ]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
2018-11-14 20:36:02 -05:00
|
|
|
[node name="OtherPlayer" parent="." index="4" instance=ExtResource( 13 )]
|
2018-06-03 11:11:27 -04:00
|
|
|
|
|
|
|
visible = false
|
|
|
|
_sections_unfolded = [ "Material", "Transform", "Visibility" ]
|
|
|
|
|
2018-11-12 23:17:53 -05:00
|
|
|
[node name="BossHealth" type="Line2D" parent="." index="5"]
|
2018-06-03 11:11:27 -04:00
|
|
|
|
|
|
|
points = PoolVector2Array( 100, 50, 900, 50 )
|
|
|
|
width = 15.0
|
|
|
|
default_color = Color( 1, 0, 0, 0 )
|
|
|
|
texture_mode = 31
|
|
|
|
sharp_limit = 2.0
|
|
|
|
round_precision = 8
|
|
|
|
|
2018-11-12 23:17:53 -05:00
|
|
|
[node name="ColorRect" type="ColorRect" parent="." index="6"]
|
2018-06-03 11:11:27 -04:00
|
|
|
|
|
|
|
visible = false
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_right = 1026.0
|
|
|
|
margin_bottom = 601.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, 1 )
|
|
|
|
_sections_unfolded = [ "Visibility" ]
|
|
|
|
|
2018-11-12 23:17:53 -05:00
|
|
|
[node name="Pausing" type="Node2D" parent="." index="7"]
|
2018-06-03 11:11:27 -04:00
|
|
|
|
2018-11-12 23:17:53 -05:00
|
|
|
editor/display_folded = true
|
|
|
|
position = Vector2( 940, 36 )
|
2018-06-03 11:11:27 -04:00
|
|
|
|
2018-11-12 23:17:53 -05:00
|
|
|
[node name="Pause" type="AnimatedSprite" parent="Pausing" index="0"]
|
2018-06-03 11:11:27 -04:00
|
|
|
|
2018-11-12 23:17:53 -05:00
|
|
|
position = Vector2( 32.128, 31.044 )
|
|
|
|
scale = Vector2( 0.199771, 0.199771 )
|
|
|
|
frames = SubResource( 2 )
|
2018-06-03 11:11:27 -04:00
|
|
|
animation = "default"
|
|
|
|
|
2018-11-12 23:17:53 -05:00
|
|
|
[node name="PauseButton" type="Button" parent="Pausing" index="1"]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2018-11-12 23:17:53 -05:00
|
|
|
margin_right = 61.0
|
|
|
|
margin_bottom = 64.0
|
2018-05-23 01:40:45 -04:00
|
|
|
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
|
|
|
|
|
2018-11-12 23:17:53 -05:00
|
|
|
[node name="HowTos" type="Node2D" parent="." index="8"]
|
|
|
|
|
|
|
|
editor/display_folded = true
|
|
|
|
_sections_unfolded = [ "Visibility", "Z Index" ]
|
|
|
|
|
|
|
|
[node name="HowTo" type="AnimatedSprite" parent="HowTos" index="0"]
|
|
|
|
|
|
|
|
visible = false
|
|
|
|
position = Vector2( 482.397, 299.674 )
|
|
|
|
scale = Vector2( 0.42077, 0.42077 )
|
|
|
|
frames = SubResource( 3 )
|
|
|
|
animation = "default"
|
|
|
|
_sections_unfolded = [ "Transform", "Visibility" ]
|
|
|
|
|
|
|
|
[node name="HowToDesktop" type="AnimatedSprite" parent="HowTos" index="1"]
|
|
|
|
|
|
|
|
visible = false
|
|
|
|
position = Vector2( 482, 300 )
|
|
|
|
scale = Vector2( 0.42, 0.42 )
|
|
|
|
frames = SubResource( 4 )
|
|
|
|
animation = "default"
|
|
|
|
_sections_unfolded = [ "Transform", "Visibility" ]
|
|
|
|
|
|
|
|
[node name="HideHowTo" type="Button" parent="HowTos" index="2"]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2018-11-12 23:17:53 -05:00
|
|
|
margin_left = -55.0
|
|
|
|
margin_top = -29.0
|
|
|
|
margin_right = 1039.0
|
|
|
|
margin_bottom = 609.0
|
2018-05-23 01:40:45 -04:00
|
|
|
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
|
2018-11-12 23:17:53 -05:00
|
|
|
action_mode = 0
|
2018-05-23 01:40:45 -04:00
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
flat = true
|
|
|
|
align = 1
|
2018-11-12 23:17:53 -05:00
|
|
|
_sections_unfolded = [ "Visibility" ]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
2018-11-12 23:17:53 -05:00
|
|
|
[node name="WaveLabel" type="Label" parent="." index="9"]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2018-11-12 23:17:53 -05:00
|
|
|
margin_left = 61.0
|
|
|
|
margin_top = 19.0
|
|
|
|
margin_right = 108.0
|
|
|
|
margin_bottom = 33.0
|
2018-05-23 01:40:45 -04:00
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
2018-11-12 23:17:53 -05:00
|
|
|
mouse_filter = 2
|
2018-05-23 01:40:45 -04:00
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
2018-11-12 23:17:53 -05:00
|
|
|
size_flags_vertical = 4
|
|
|
|
text = "Wave 1"
|
|
|
|
percent_visible = 1.0
|
|
|
|
lines_skipped = 0
|
|
|
|
max_lines_visible = -1
|
|
|
|
|
|
|
|
[node name="Music" type="AudioStreamPlayer" parent="." index="10"]
|
|
|
|
|
2018-11-14 20:36:02 -05:00
|
|
|
stream = ExtResource( 17 )
|
2018-11-12 23:17:53 -05:00
|
|
|
volume_db = 0.0
|
2018-11-29 16:04:22 -05:00
|
|
|
pitch_scale = 1.0
|
2018-11-12 23:17:53 -05:00
|
|
|
autoplay = false
|
|
|
|
mix_target = 0
|
|
|
|
bus = "Master"
|
2018-05-23 01:40:45 -04:00
|
|
|
|
|
|
|
[connection signal="body_entered" from="Player" to="Player" method="_on_Player_body_entered"]
|
|
|
|
|
2018-11-12 23:17:53 -05:00
|
|
|
[connection signal="buy_turret" from="Player" to="." method="_on_Player_buy_turret"]
|
|
|
|
|
2018-05-29 02:39:43 -04:00
|
|
|
[connection signal="double_laser_upgrade" from="Player" to="." method="double_laser_upgrade"]
|
|
|
|
|
2018-05-26 04:15:20 -04:00
|
|
|
[connection signal="multiplayer_movement" from="Player" to="." method="_on_Player_multiplayer_movement"]
|
|
|
|
|
2018-11-12 23:17:53 -05:00
|
|
|
[connection signal="other_damage_upgrade" from="Player" to="." method="other_damage_upgrade"]
|
|
|
|
|
|
|
|
[connection signal="other_laser_penetration_upgrade" from="Player" to="." method="other_laser_penetration_upgrade"]
|
|
|
|
|
2018-05-29 00:08:30 -04:00
|
|
|
[connection signal="other_ship_color_change" from="Player" to="." method="other_ship_color_change"]
|
2018-05-27 02:20:51 -04:00
|
|
|
|
2018-06-03 11:11:27 -04:00
|
|
|
[connection signal="other_ship_enable_rainbow" from="Player" to="." method="_on_Player_other_ship_enable_rainbow"]
|
2018-05-26 15:34:41 -04:00
|
|
|
|
2018-06-03 11:11:27 -04:00
|
|
|
[connection signal="other_shooting_upgrade" from="Player" to="." method="other_shooting_upgrade"]
|
2018-05-29 00:08:30 -04:00
|
|
|
|
2018-11-14 20:36:02 -05:00
|
|
|
[connection signal="restart_game" from="Player" to="Mothership" method="_on_Player_restart_game"]
|
|
|
|
|
2018-11-29 16:04:22 -05:00
|
|
|
[connection signal="restart_game" from="Player" to="." method="_on_Player_restart_game"]
|
|
|
|
|
2018-11-12 23:17:53 -05:00
|
|
|
[connection signal="start_next_round" from="Player" to="." method="startNextRound"]
|
2018-06-05 16:43:23 -04:00
|
|
|
|
2018-11-12 23:17:53 -05:00
|
|
|
[connection signal="update_display" from="Player" to="." method="updatePoints"]
|
2018-05-23 11:02:52 -04:00
|
|
|
|
2018-11-12 23:17:53 -05:00
|
|
|
[connection signal="upgrade_turret_range" from="Player" to="." method="upgradeTurretRange"]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
2018-05-23 21:35:16 -04:00
|
|
|
[connection signal="body_shape_entered" from="Mothership" to="Mothership" method="_on_Mothership_body_shape_entered"]
|
|
|
|
|
|
|
|
[connection signal="game_over" from="Mothership" to="." method="_on_Mothership_game_over"]
|
|
|
|
|
2018-11-12 23:17:53 -05:00
|
|
|
[connection signal="pressed" from="Pausing/PauseButton" to="." method="_on_PauseButton_pressed"]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
2018-11-12 23:17:53 -05:00
|
|
|
[connection signal="pressed" from="HowTos/HideHowTo" to="." method="_on_HideHowTo_pressed"]
|
2018-06-03 11:11:27 -04:00
|
|
|
|
2018-05-23 01:40:45 -04:00
|
|
|
|