This commit is contained in:
Hazel Layne Aranda 2021-03-09 15:53:23 -05:00
parent 827abde68f
commit 30aad69fff
Signed by: hazelra
GPG key ID: 09213F100E5E4E67
17 changed files with 677 additions and 0 deletions

40
objects/ships/Disky.tscn Normal file
View file

@ -0,0 +1,40 @@
[gd_scene load_steps=7 format=2]
[ext_resource path="res://objects/Ship.tscn" type="PackedScene" id=1]
[ext_resource path="res://assets/ships/disky/disky.png" type="Texture" id=2]
[ext_resource path="res://assets/particles/Sparks.tscn" type="PackedScene" id=3]
[ext_resource path="res://objects/actions/StaticShield.tscn" type="PackedScene" id=4]
[sub_resource type="CircleShape2D" id=1]
radius = 5.0
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 3, 5 )
[node name="Disky" instance=ExtResource( 1 )]
thrust_power = 200.0
max_speed = 80.0
brake_power = 1.0
velocity_damp = 0.5
turning_power = 18.849
max_turning = 6.0
turning_damp = 0.01
bounce_damp = 0.7
max_energy = 10.0
energy_regen = 5.0
[node name="StaticShield" parent="SecondaryAction" index="0" instance=ExtResource( 4 )]
ship_path = NodePath("../..")
[node name="Sprite" parent="Graphics" index="0"]
texture = ExtResource( 2 )
[node name="Sparks" parent="Graphics/ThrustParticles" index="0" instance=ExtResource( 3 )]
[node name="HeadShape" type="CollisionShape2D" parent="." index="3"]
position = Vector2( 0, -4 )
shape = SubResource( 1 )
[node name="BodyShape" type="CollisionShape2D" parent="." index="4"]
position = Vector2( 0, 4 )
shape = SubResource( 2 )

35
objects/ships/Quills.tscn Normal file
View file

@ -0,0 +1,35 @@
[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 )