36 lines
1.3 KiB
Text
36 lines
1.3 KiB
Text
|
[gd_scene load_steps=7 format=2]
|
||
|
|
||
|
[ext_resource path="res://objects/Ship.tscn" type="PackedScene" id=1]
|
||
|
[ext_resource path="res://assets/ships/quills/quills.png" type="Texture" id=2]
|
||
|
[ext_resource path="res://assets/particles/Fire.tscn" type="PackedScene" id=3]
|
||
|
[ext_resource path="res://assets/particles/Smoke.tscn" type="PackedScene" id=4]
|
||
|
[ext_resource path="res://assets/particles/BrakeSmoke.tscn" type="PackedScene" id=5]
|
||
|
|
||
|
[sub_resource type="RectangleShape2D" id=7]
|
||
|
extents = Vector2( 2, 7 )
|
||
|
|
||
|
[node name="Quills" instance=ExtResource( 1 )]
|
||
|
thrust_power = 80.0
|
||
|
max_speed = 80.0
|
||
|
brake_power = 8.0
|
||
|
velocity_damp = 0.9
|
||
|
turning_power = 18.849
|
||
|
max_turning = 18.849
|
||
|
bounce_damp = 0.4
|
||
|
|
||
|
[node name="Sprite" parent="Graphics" index="0"]
|
||
|
texture = ExtResource( 2 )
|
||
|
|
||
|
[node name="Smoke" parent="Graphics/ThrustParticles" index="0" instance=ExtResource( 4 )]
|
||
|
|
||
|
[node name="Fire" parent="Graphics/ThrustParticles" index="1" instance=ExtResource( 3 )]
|
||
|
|
||
|
[node name="BrakeSmoke" parent="Graphics/BrakeParticles" index="0" instance=ExtResource( 5 )]
|
||
|
|
||
|
[node name="BodyCollider" type="CollisionShape2D" parent="." index="3"]
|
||
|
position = Vector2( 0, 3 )
|
||
|
shape = SubResource( 7 )
|
||
|
|
||
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="." index="4"]
|
||
|
polygon = PoolVector2Array( 5, -4, -5, -4, 0, -12 )
|