small racing game im working on
Diffstat (limited to 'assets/cars/kenney_sedan/sedan.tscn')
-rw-r--r--assets/cars/kenney_sedan/sedan.tscn42
1 files changed, 7 insertions, 35 deletions
diff --git a/assets/cars/kenney_sedan/sedan.tscn b/assets/cars/kenney_sedan/sedan.tscn
index 0274359..999f129 100644
--- a/assets/cars/kenney_sedan/sedan.tscn
+++ b/assets/cars/kenney_sedan/sedan.tscn
@@ -1,10 +1,9 @@
-[gd_scene load_steps=36 format=3 uid="uid://c157wew5y33bo"]
+[gd_scene load_steps=35 format=3 uid="uid://c157wew5y33bo"]
[ext_resource type="Script" path="res://classes/car.gd" id="1_pdccm"]
[ext_resource type="Script" path="res://assets/cars/engine.gd" id="2_rxib8"]
-[ext_resource type="Material" uid="uid://b0t01t5nxdfdp" path="res://assets/cars/skid.tres" id="2_yev8o"]
[ext_resource type="Curve" uid="uid://f1go1j7raaq1" path="res://assets/cars/sounds/idle_db.tres" id="3_gwsff"]
-[ext_resource type="SphereMesh" uid="uid://cd2plk55q0xr7" path="res://assets/cars/sphere.tres" id="3_wncel"]
+[ext_resource type="PackedScene" uid="uid://c5kk8cn8ipuy1" path="res://scenes/skid_particles.tscn" id="4_axi2x"]
[ext_resource type="Curve" uid="uid://bq1r63t410ork" path="res://assets/cars/sounds/low_db.tres" id="4_rdkge"]
[ext_resource type="Curve" uid="uid://d15cjufi3m0wg" path="res://assets/cars/sounds/med_db.tres" id="5_7w6r4"]
[ext_resource type="Curve" uid="uid://d0rkqfng2uvkw" path="res://assets/cars/sounds/high_db.tres" id="6_h74co"]
@@ -381,14 +380,8 @@ transform = Transform3D(-2.33967, 0, -2.0454e-07, 0, 2.33967, 0, 2.0454e-07, 0,
mesh = SubResource("ArrayMesh_n2y6h")
skeleton = NodePath("")
-[node name="particles" type="GPUParticles3D" parent="br"]
-emitting = false
-lifetime = 3.0
-explosiveness = 0.1
-randomness = 0.2
-visibility_aabb = AABB(-3.72308, -2.91366, -16.6076, 7.11382, 10.4403, 19.4272)
-process_material = ExtResource("2_yev8o")
-draw_pass_1 = ExtResource("3_wncel")
+[node name="particles" parent="br" instance=ExtResource("4_axi2x")]
+explosiveness = 0.01
[node name="bl" type="VehicleWheel3D" parent="."]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -1.2, 0.8, 1.51)
@@ -407,14 +400,7 @@ transform = Transform3D(2.33967, -1.78815e-14, -2.0454e-07, 0, 2.33967, -2.0454e
mesh = SubResource("ArrayMesh_n2y6h")
skeleton = NodePath("")
-[node name="particles" type="GPUParticles3D" parent="bl"]
-emitting = false
-lifetime = 3.0
-explosiveness = 0.1
-randomness = 0.2
-visibility_aabb = AABB(-3.72308, -2.91366, -16.6076, 7.11382, 10.4403, 19.4272)
-process_material = ExtResource("2_yev8o")
-draw_pass_1 = ExtResource("3_wncel")
+[node name="particles" parent="bl" instance=ExtResource("4_axi2x")]
[node name="fl" type="VehicleWheel3D" parent="."]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -1.2, 0.8, -1.51)
@@ -433,14 +419,7 @@ transform = Transform3D(2.33967, -3.08847e-14, -2.0454e-07, 0, 2.33967, -3.5328e
mesh = SubResource("ArrayMesh_n2y6h")
skeleton = NodePath("")
-[node name="particles" type="GPUParticles3D" parent="fl"]
-emitting = false
-lifetime = 3.0
-explosiveness = 0.1
-randomness = 0.2
-visibility_aabb = AABB(-3.72308, -2.91366, -16.6076, 7.11382, 10.4403, 19.4272)
-process_material = ExtResource("2_yev8o")
-draw_pass_1 = ExtResource("3_wncel")
+[node name="particles" parent="fl" instance=ExtResource("4_axi2x")]
[node name="fr" type="VehicleWheel3D" parent="."]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 1.2, 0.8, -1.51)
@@ -459,14 +438,7 @@ transform = Transform3D(-2.33967, 0, -2.0454e-07, 0, 2.33967, 0, 2.0454e-07, 0,
mesh = SubResource("ArrayMesh_n2y6h")
skeleton = NodePath("")
-[node name="particles" type="GPUParticles3D" parent="fr"]
-emitting = false
-lifetime = 3.0
-explosiveness = 0.1
-randomness = 0.2
-visibility_aabb = AABB(-3.72308, -2.91366, -16.6076, 7.11382, 10.4403, 19.4272)
-process_material = ExtResource("2_yev8o")
-draw_pass_1 = ExtResource("3_wncel")
+[node name="particles" parent="fr" instance=ExtResource("4_axi2x")]
[node name="Coll" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.43328, 0)