2018-05-27 19:22:11 -04:00
|
|
|
[gd_scene load_steps=13 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-05-27 19:22:11 -04:00
|
|
|
[ext_resource path="res://RectangleBoss.tscn" type="PackedScene" id=5]
|
|
|
|
[ext_resource path="res://art/bg.png" type="Texture" id=6]
|
|
|
|
[ext_resource path="res://Player.tscn" type="PackedScene" id=7]
|
|
|
|
[ext_resource path="res://Mothership.tscn" type="PackedScene" id=8]
|
|
|
|
[ext_resource path="res://art/interface/pause.png" type="Texture" id=9]
|
|
|
|
[ext_resource path="res://OtherPlayer.tscn" type="PackedScene" id=10]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
2018-05-26 02:55:17 -04:00
|
|
|
[sub_resource type="ImageTexture" id=1]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
|
|
|
flags = 7
|
|
|
|
storage = 0
|
|
|
|
lossy_quality = 0.7
|
|
|
|
flags = 7
|
|
|
|
size = Vector2( 0, 0 )
|
|
|
|
|
2018-05-26 02:55:17 -04:00
|
|
|
[sub_resource type="SpriteFrames" id=2]
|
|
|
|
|
|
|
|
animations = [ {
|
2018-05-27 19:22:11 -04:00
|
|
|
"frames": [ ExtResource( 9 ) ],
|
2018-05-26 02:55:17 -04:00
|
|
|
"loop": true,
|
|
|
|
"name": "default",
|
|
|
|
"speed": 5.0
|
|
|
|
} ]
|
|
|
|
|
2018-05-27 19:22:11 -04:00
|
|
|
[node name="Main" type="Node" index="0"]
|
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-05-27 19:22:11 -04:00
|
|
|
RectangleBoss = ExtResource( 5 )
|
2018-05-23 01:40:45 -04:00
|
|
|
|
2018-05-24 04:19:59 -04:00
|
|
|
[node name="Sprite" type="Sprite" parent="." index="0"]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
2018-05-24 04:19:59 -04:00
|
|
|
z_index = -5
|
2018-05-26 02:55:17 -04:00
|
|
|
texture = SubResource( 1 )
|
2018-05-24 04:19:59 -04:00
|
|
|
_sections_unfolded = [ "Z Index" ]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
|
|
|
[node name="bg" type="Sprite" parent="Sprite" index="0"]
|
|
|
|
|
|
|
|
position = Vector2( 544.657, 347.107 )
|
2018-05-27 19:22:11 -04:00
|
|
|
texture = ExtResource( 6 )
|
2018-05-23 01:40:45 -04:00
|
|
|
|
2018-05-27 19:22:11 -04:00
|
|
|
[node name="Player" parent="." index="1" instance=ExtResource( 7 )]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
2018-05-24 04:19:59 -04:00
|
|
|
[node name="BaddieTimer" type="Timer" parent="." index="2"]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
|
|
|
process_mode = 1
|
2018-05-23 21:35:16 -04:00
|
|
|
wait_time = 1.0
|
2018-05-23 01:40:45 -04:00
|
|
|
one_shot = false
|
|
|
|
autostart = false
|
|
|
|
|
2018-05-27 19:22:11 -04:00
|
|
|
[node name="Mothership" parent="." index="3" instance=ExtResource( 8 )]
|
2018-05-26 02:55:17 -04:00
|
|
|
|
|
|
|
position = Vector2( 18.327, 304.835 )
|
2018-05-23 01:40:45 -04:00
|
|
|
|
2018-05-23 21:35:16 -04:00
|
|
|
[node name="Line2D" type="Line2D" parent="Mothership" index="2"]
|
|
|
|
|
|
|
|
position = Vector2( 32.7402, 101.849 )
|
|
|
|
scale = Vector2( 3.33333, 3.33333 )
|
|
|
|
points = PoolVector2Array( 100, 200, 900, 200 )
|
|
|
|
width = 15.0
|
|
|
|
default_color = Color( 0.037384, 0.683594, 0, 1 )
|
|
|
|
texture_mode = 31
|
|
|
|
sharp_limit = 2.0
|
|
|
|
round_precision = 8
|
|
|
|
_sections_unfolded = [ "Z Index" ]
|
|
|
|
|
2018-05-24 04:19:59 -04:00
|
|
|
[node name="MoneyDisplay" type="Label" parent="." index="4"]
|
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
|
|
|
|
margin_top = 536.0
|
|
|
|
margin_right = 1006.0
|
|
|
|
margin_bottom = 571.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
|
|
|
|
text = "$0"
|
|
|
|
align = 2
|
|
|
|
percent_visible = 1.0
|
|
|
|
lines_skipped = 0
|
|
|
|
max_lines_visible = -1
|
2018-05-26 02:55:17 -04:00
|
|
|
_sections_unfolded = [ "Size Flags", "custom_fonts" ]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
2018-05-26 02:55:17 -04:00
|
|
|
[node name="ShootButton" type="Button" parent="." index="5"]
|
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 = 785.0
|
|
|
|
margin_top = 125.0
|
|
|
|
margin_right = 1022.0
|
|
|
|
margin_bottom = 599.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
|
2018-05-26 02:55:17 -04:00
|
|
|
disabled = true
|
2018-05-23 01:40:45 -04:00
|
|
|
toggle_mode = false
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
flat = true
|
|
|
|
align = 1
|
2018-05-26 02:55:17 -04:00
|
|
|
_sections_unfolded = [ "Theme" ]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
2018-05-26 02:55:17 -04:00
|
|
|
[node name="PauseButton" type="Button" parent="." index="6"]
|
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 = 940.0
|
|
|
|
margin_top = 36.0
|
|
|
|
margin_right = 1001.0
|
|
|
|
margin_bottom = 100.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-05-27 19:22:11 -04:00
|
|
|
[node name="Pause" type="AnimatedSprite" parent="." index="7"]
|
|
|
|
|
|
|
|
position = Vector2( 972.128, 67.044 )
|
|
|
|
scale = Vector2( 0.199771, 0.199771 )
|
|
|
|
frames = SubResource( 2 )
|
|
|
|
animation = "default"
|
|
|
|
|
|
|
|
[node name="OtherPlayer" parent="." index="8" instance=ExtResource( 10 )]
|
|
|
|
|
|
|
|
visible = false
|
|
|
|
_sections_unfolded = [ "Transform", "Visibility" ]
|
|
|
|
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="." index="9"]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
2018-05-27 02:20:51 -04:00
|
|
|
visible = false
|
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_right = 1026.0
|
|
|
|
margin_bottom = 601.0
|
2018-05-23 01:40:45 -04:00
|
|
|
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
|
2018-05-26 02:55:17 -04:00
|
|
|
color = Color( 0, 0, 0, 1 )
|
2018-05-27 02:20:51 -04:00
|
|
|
_sections_unfolded = [ "Visibility" ]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
|
|
|
[connection signal="body_entered" from="Player" to="Player" method="_on_Player_body_entered"]
|
|
|
|
|
2018-05-26 04:15:20 -04:00
|
|
|
[connection signal="multiplayer_movement" from="Player" to="." method="_on_Player_multiplayer_movement"]
|
|
|
|
|
2018-05-27 02:20:51 -04:00
|
|
|
[connection signal="other_shooting_upgrade" from="Player" to="." method="other_shooting_upgrade"]
|
|
|
|
|
2018-05-26 15:34:41 -04:00
|
|
|
[connection signal="restart_game" from="Player" to="Mothership" method="_on_Player_restart_game"]
|
|
|
|
|
2018-05-27 19:22:11 -04:00
|
|
|
[connection signal="restart_game" from="Player" to="." method="_on_Player_restart_game"]
|
|
|
|
|
2018-05-23 11:02:52 -04:00
|
|
|
[connection signal="update_display" from="Player" to="." method="_on_Player_update_display"]
|
|
|
|
|
2018-05-23 01:40:45 -04:00
|
|
|
[connection signal="timeout" from="BaddieTimer" to="." method="BaddieTimer"]
|
|
|
|
|
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-05-23 01:40:45 -04:00
|
|
|
[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"]
|
|
|
|
|
|
|
|
|