small racing game im working on
Diffstat (limited to 'scenes/track.tscn')
-rw-r--r--scenes/track.tscn84
1 files changed, 5 insertions, 79 deletions
diff --git a/scenes/track.tscn b/scenes/track.tscn
index 4c47171..9f4fa7d 100644
--- a/scenes/track.tscn
+++ b/scenes/track.tscn
@@ -1,94 +1,20 @@
-[gd_scene load_steps=7 format=3 uid="uid://ep3a5q3nkb7m"]
+[gd_scene load_steps=6 format=3 uid="uid://ep3a5q3nkb7m"]
[ext_resource type="Script" path="res://scenes/track-base.gd" id="1_ke7nx"]
-[ext_resource type="Material" uid="uid://be8pta62kxd2j" path="res://assets/mats/road.tres" id="2_2nntu"]
-[ext_resource type="Material" path="res://assets/mats/wall.tres" id="5_8gm6o"]
+[ext_resource type="PackedScene" uid="uid://crc02shshycvq" path="res://scenes/sun.tscn" id="4_y5lth"]
[ext_resource type="PackedScene" uid="uid://cd4a5y0hi58ks" path="res://scenes/floor.tscn" id="7_fidh3"]
[ext_resource type="Environment" uid="uid://biwshm46yl62v" path="res://default_env.tres" id="8_2nyv3"]
[ext_resource type="CameraAttributesPractical" uid="uid://nhsovwj5hjip" path="res://cam.tres" id="9_6ooo5"]
-[node name="TrackLoader" type="Path3D"]
-transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00882721, 0, -0.103973)
+[node name="TrackLoader" type="Node3D"]
script = ExtResource("1_ke7nx")
metadata/_edit_group_ = true
-[node name="Road" type="CSGPolygon3D" parent="."]
-calculate_tangents = false
-polygon = PackedVector2Array(-12.5, 0, -12.5, 0, 12.5, 0, 12.5, 0)
-mode = 2
-path_node = NodePath("..")
-path_interval_type = 0
-path_interval = 1.0
-path_simplify_angle = 2.0
-path_rotation = 2
-path_local = false
-path_continuous_u = true
-path_u_distance = 0.0
-path_joined = true
-material = ExtResource("2_2nntu")
-
-[node name="WallL" type="CSGPolygon3D" parent="."]
-calculate_tangents = false
-polygon = PackedVector2Array(14.5, 2, 12.5, 2, 12.5, 0, 14.5, 0)
-mode = 2
-path_node = NodePath("..")
-path_interval_type = 0
-path_interval = 1.0
-path_simplify_angle = 3.0
-path_rotation = 2
-path_local = false
-path_continuous_u = true
-path_u_distance = 1.0
-path_joined = true
-material = ExtResource("5_8gm6o")
-
-[node name="WallR" type="CSGPolygon3D" parent="."]
-calculate_tangents = false
-polygon = PackedVector2Array(-14.5, 2, -12.5, 2, -12.5, 0, -14.5, 0)
-mode = 2
-path_node = NodePath("..")
-path_interval_type = 0
-path_interval = 1.0
-path_simplify_angle = 3.0
-path_rotation = 2
-path_local = false
-path_continuous_u = true
-path_u_distance = 1.0
-path_joined = true
-material = ExtResource("5_8gm6o")
-
-[node name="Sun" type="DirectionalLight3D" parent="."]
-transform = Transform3D(1, 4.49013e-09, 0, -2.8862e-09, 0.642788, 0.766044, 3.43964e-09, -0.766044, 0.642788, 0, 0, 0)
-light_energy = 1.083
-light_volumetric_fog_energy = 0.0
-shadow_enabled = true
-shadow_blur = 1.5
-directional_shadow_mode = 0
-directional_shadow_max_distance = 300.0
+[node name="Sun" parent="." instance=ExtResource("4_y5lth")]
+transform = Transform3D(0.992546, 0.0211625, 0.120018, 8.60946e-08, -0.984808, 0.173648, 0.121869, -0.172354, -0.977467, 0, 0, 0)
[node name="Env" type="WorldEnvironment" parent="."]
environment = ExtResource("8_2nyv3")
camera_attributes = ExtResource("9_6ooo5")
-[node name="CollisionShape" type="CSGPolygon3D" parent="."]
-transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.165113, 0)
-visible = false
-calculate_tangents = false
-use_collision = true
-collision_mask = 0
-polygon = PackedVector2Array(-12.5, 0, 12.5, 0, 12.5, 5, 14.5, 5, 14.5, -1, -14.5, -1, -14.5, 5, -12.5, 5)
-mode = 2
-path_node = NodePath("..")
-path_interval_type = 0
-path_interval = 1.0
-path_simplify_angle = 3.0
-path_rotation = 2
-path_local = false
-path_continuous_u = true
-path_u_distance = 1.0
-path_joined = true
-
[node name="Ground" parent="." instance=ExtResource("7_fidh3")]
-transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00882721, -2, 0.103973)
-
-[connection signal="curve_changed" from="." to="." method="_on_curve_changed"]