2018-05-23 21:35:16 -04:00
|
|
|
[gd_scene load_steps=9 format=2]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
|
|
|
[ext_resource path="res://Mothership.gd" type="Script" id=1]
|
2018-05-23 03:57:15 -04:00
|
|
|
[ext_resource path="res://Laser.tscn" type="PackedScene" id=2]
|
2018-05-23 01:40:45 -04:00
|
|
|
[ext_resource path="res://art/mothership/mothership.png" type="Texture" id=3]
|
2018-05-23 21:35:16 -04:00
|
|
|
[ext_resource path="res://art/mothership/mothership_damage1.png" type="Texture" id=4]
|
|
|
|
[ext_resource path="res://art/mothership/mothership_damage2.png" type="Texture" id=5]
|
|
|
|
[ext_resource path="res://art/mothership/mothership_ruined.png" type="Texture" id=6]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
|
|
|
[sub_resource type="CapsuleShape2D" id=1]
|
|
|
|
|
|
|
|
custom_solver_bias = 0.0
|
|
|
|
radius = 138.39
|
|
|
|
height = 2377.74
|
|
|
|
|
|
|
|
[sub_resource type="SpriteFrames" id=2]
|
|
|
|
|
|
|
|
animations = [ {
|
2018-05-23 21:35:16 -04:00
|
|
|
"frames": [ ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ) ],
|
2018-05-23 01:40:45 -04:00
|
|
|
"loop": true,
|
|
|
|
"name": "default",
|
|
|
|
"speed": 5.0
|
|
|
|
} ]
|
|
|
|
|
2018-05-23 11:02:52 -04:00
|
|
|
[node name="Mothership" type="Area2D"]
|
2018-05-23 01:40:45 -04:00
|
|
|
|
|
|
|
position = Vector2( 23.327, 304.835 )
|
|
|
|
scale = Vector2( 0.3, 0.3 )
|
|
|
|
input_pickable = true
|
|
|
|
gravity_vec = Vector2( 0, 1 )
|
|
|
|
gravity = 98.0
|
|
|
|
linear_damp = 0.1
|
|
|
|
angular_damp = 1.0
|
2018-05-26 02:55:17 -04:00
|
|
|
collision_layer = 31
|
|
|
|
collision_mask = 31
|
2018-05-23 01:40:45 -04:00
|
|
|
audio_bus_override = false
|
|
|
|
audio_bus_name = "Master"
|
|
|
|
script = ExtResource( 1 )
|
2018-05-23 21:35:16 -04:00
|
|
|
_sections_unfolded = [ "Collision", "Transform" ]
|
2018-05-23 01:40:45 -04:00
|
|
|
Laser = ExtResource( 2 )
|
|
|
|
|
|
|
|
[node name="ShipCollision" type="CollisionShape2D" parent="." index="0"]
|
|
|
|
|
|
|
|
position = Vector2( -110, 0 )
|
|
|
|
shape = SubResource( 1 )
|
|
|
|
|
|
|
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="." index="1"]
|
|
|
|
|
|
|
|
frames = SubResource( 2 )
|
|
|
|
animation = "default"
|
|
|
|
|
2018-05-23 21:35:16 -04:00
|
|
|
[connection signal="area_shape_entered" from="." to="." method="_on_Mothership_area_shape_entered"]
|
|
|
|
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_Mothership_body_entered"]
|
|
|
|
|
2018-05-23 01:40:45 -04:00
|
|
|
|