Fronter/Mothership.tscn

103 lines
2.9 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=11 format=2]
[ext_resource path="res://Mothership.gd" type="Script" id=1]
[ext_resource path="res://Laser.tscn" type="PackedScene" id=2]
[ext_resource path="res://art/mothership/mothership.png" type="Texture" id=3]
[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]
[ext_resource path="res://art/mothership/whoops_guy.png" type="Texture" id=7]
[sub_resource type="CapsuleShape2D" id=1]
custom_solver_bias = 0.0
radius = 138.39
height = 2377.74
[sub_resource type="SpriteFrames" id=2]
animations = [ {
"frames": [ ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[sub_resource type="Curve2D" id=3]
bake_interval = 5.0
_data = {
"points": PoolVector2Array( 0, 0, 0, 0, -815.417, -275.207, -142.554, 423.496, 70.8929, -199.411, -142.027, -653.941, 0, 0, 0, 0, 36.6832, -1766.51 )
}
_sections_unfolded = [ "Resource" ]
[node name="Mothership" type="Area2D" index="0"]
position = Vector2( 42.1613, 302.944 )
scale = Vector2( 0.263572, 0.240903 )
input_pickable = true
gravity_vec = Vector2( 0, 1 )
gravity = 98.0
linear_damp = 0.1
angular_damp = 1.0
monitorable = false
collision_layer = 31
collision_mask = 31
audio_bus_override = false
audio_bus_name = "Master"
script = ExtResource( 1 )
_sections_unfolded = [ "Collision", "Transform" ]
Laser = ExtResource( 2 )
[node name="ShipCollision" type="CollisionShape2D" parent="." index="0"]
position = Vector2( -110, 0 )
shape = SubResource( 1 )
[node name="BaseSprite" type="AnimatedSprite" parent="." index="1"]
position = Vector2( 78.4, 0 )
frames = SubResource( 2 )
animation = "default"
_sections_unfolded = [ "Transform" ]
[node name="BlownOut" type="Path2D" parent="." index="2"]
position = Vector2( 935.039, 262.064 )
curve = SubResource( 3 )
[node name="WhoopsGuy" type="PathFollow2D" parent="BlownOut" index="0"]
position = Vector2( -815.417, -275.207 )
rotation = -0.0246469
offset = 0.0
h_offset = 0.0
v_offset = 0.0
rotate = false
cubic_interp = true
loop = false
lookahead = 4.0
[node name="whoops_guy" type="Sprite" parent="BlownOut/WhoopsGuy" index="0"]
rotation = -1.39698e-09
texture = ExtResource( 7 )
_sections_unfolded = [ "Offset", "Transform" ]
[node name="Line2D" type="Line2D" parent="." index="3"]
position = Vector2( 32.7402, 101.849 )
scale = Vector2( 3.33333, 3.33333 )
points = PoolVector2Array( 100, 300, 900, 300 )
width = 15.0
default_color = Color( 0.0352941, 0.717647, 0, 1 )
texture_mode = 31
sharp_limit = 2.0
round_precision = 8
[connection signal="area_shape_entered" from="." to="." method="_on_Mothership_area_shape_entered"]
[connection signal="body_entered" from="." to="." method="_on_Mothership_body_entered"]