|
@@ -1,8 +1,9 @@
|
|
-[gd_scene load_steps=43 format=3 uid="uid://dlkwtp1gl45r"]
|
|
|
|
|
|
+[gd_scene load_steps=44 format=3 uid="uid://dlkwtp1gl45r"]
|
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://duw5x0fjt8jak" path="res://component/ships/NihilAce_spaceship_building_pack_32x32.png" id="1_4y72e"]
|
|
[ext_resource type="Texture2D" uid="uid://duw5x0fjt8jak" path="res://component/ships/NihilAce_spaceship_building_pack_32x32.png" id="1_4y72e"]
|
|
[ext_resource type="Script" path="res://component/ships/ship.gd" id="1_8hr01"]
|
|
[ext_resource type="Script" path="res://component/ships/ship.gd" id="1_8hr01"]
|
|
[ext_resource type="Texture2D" uid="uid://b71okcm85d6iu" path="res://effect/thrust/thrust_line.png" id="2_ox3u6"]
|
|
[ext_resource type="Texture2D" uid="uid://b71okcm85d6iu" path="res://effect/thrust/thrust_line.png" id="2_ox3u6"]
|
|
|
|
+[ext_resource type="Script" path="res://effect/thrust/thrust_effect.gd" id="3_y7m5h"]
|
|
|
|
|
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_g1gqc"]
|
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_g1gqc"]
|
|
friction = 0.21
|
|
friction = 0.21
|
|
@@ -312,12 +313,13 @@ physics_material_override = SubResource("PhysicsMaterial_g1gqc")
|
|
linear_damp = 0.5
|
|
linear_damp = 0.5
|
|
script = ExtResource("1_8hr01")
|
|
script = ExtResource("1_8hr01")
|
|
|
|
|
|
-[node name="GPUParticles2D" type="GPUParticles2D" parent="."]
|
|
|
|
|
|
+[node name="ThrustEffect" type="GPUParticles2D" parent="."]
|
|
position = Vector2(0, 348)
|
|
position = Vector2(0, 348)
|
|
amount = 4
|
|
amount = 4
|
|
process_material = SubResource("ParticleProcessMaterial_ybpux")
|
|
process_material = SubResource("ParticleProcessMaterial_ybpux")
|
|
texture = ExtResource("2_ox3u6")
|
|
texture = ExtResource("2_ox3u6")
|
|
local_coords = true
|
|
local_coords = true
|
|
|
|
+script = ExtResource("3_y7m5h")
|
|
|
|
|
|
[node name="BiBiShip" type="TileMap" parent="."]
|
|
[node name="BiBiShip" type="TileMap" parent="."]
|
|
tile_set = SubResource("TileSet_pl6km")
|
|
tile_set = SubResource("TileSet_pl6km")
|
|
@@ -331,3 +333,5 @@ shape = SubResource("CapsuleShape2D_scyxd")
|
|
[node name="RearShape" type="CollisionShape2D" parent="."]
|
|
[node name="RearShape" type="CollisionShape2D" parent="."]
|
|
position = Vector2(0, 184.5)
|
|
position = Vector2(0, 184.5)
|
|
shape = SubResource("RectangleShape2D_54thx")
|
|
shape = SubResource("RectangleShape2D_54thx")
|
|
|
|
+
|
|
|
|
+[connection signal="thrusted" from="." to="ThrustEffect" method="_on_thrusted"]
|