small racing game im working on
Diffstat (limited to 'assets/blocks/platform_depression.tscn')
-rw-r--r--assets/blocks/platform_depression.tscn35
1 files changed, 35 insertions, 0 deletions
diff --git a/assets/blocks/platform_depression.tscn b/assets/blocks/platform_depression.tscn
new file mode 100644
index 0000000..544c39a
--- /dev/null
+++ b/assets/blocks/platform_depression.tscn
@@ -0,0 +1,35 @@
+[gd_scene load_steps=7 format=3 uid="uid://d0bnqhv1caak3"]
+
+[ext_resource type="Script" path="res://classes/platform.gd" id="1_n2owk"]
+[ext_resource type="PackedScene" uid="uid://dforj6583ykxh" path="res://assets/blocks/walls/diagonal_wall.tscn" id="2_1aqqn"]
+[ext_resource type="PackedScene" uid="uid://lq13suvwdu6g" path="res://assets/blocks/walls/flat_wall.tscn" id="3_cfbhp"]
+[ext_resource type="ArrayMesh" uid="uid://d07uut724gmam" path="res://assets/meshes/platforms/depression.tres" id="4_563w5"]
+[ext_resource type="PackedScene" uid="uid://urgqw6yoy4f5" path="res://ui/editor/cameras/topdown_cam.tscn" id="5_4weiu"]
+
+[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_e7apd"]
+data = PackedVector3Array(-5, -0.5, -2.5, -5, 0.5, -5, -5, 0.5, -2.5, -5, -0.5, -2.5, -5, -0.5, -5, -5, 0.5, -5, 2.5, -0.5, -5, 5, 0.5, -5, 2.5, 0.5, -5, 2.5, -0.5, -5, 5, -0.5, -5, 5, 0.5, -5, 5, -2.375, 2.5, 5, -2, 5, 5, -1.375, 2.5, 5, -2.375, 2.5, 5, -3, 5, 5, -2, 5, -2.5, -1.125, 5, -5, 0.5, 5, -2.5, -0.125, 5, -2.5, -1.125, 5, -5, -0.5, 5, -5, 0.5, 5, 2.5, -1.9063, 2.5, 5, -3, 5, 5, -2.375, 2.5, 2.5, -1.9063, 2.5, 2.5, -2.375, 5, 5, -3, 5, -2.5, 0.0313, 2.5, -5, 0.5, 5, -5, 0.5, 2.5, -2.5, 0.0313, 2.5, -2.5, -0.125, 5, -5, 0.5, 5, -2.5, 0.5, -5, -5, 0.5, -2.5, -5, 0.5, -5, -2.5, 0.5, -5, -2.5, 0.3438, -2.5, -5, 0.5, -2.5, -2.5, 0.3438, -2.5, -5, 0.5, 0, -5, 0.5, -2.5, -2.5, 0.3438, -2.5, -2.5, 0.1875, 0, -5, 0.5, 0, -2.5, 0.1875, 0, -5, 0.5, 2.5, -5, 0.5, 0, -2.5, 0.1875, 0, -2.5, 0.0313, 2.5, -5, 0.5, 2.5, 2.5, -0.5, -5, 5, -1.125, -2.5, 5, -0.5, -5, 2.5, -0.5, -5, 2.5, -0.9688, -2.5, 5, -1.125, -2.5, 2.5, -0.9688, -2.5, 5, -1.75, 0, 5, -1.125, -2.5, 2.5, -0.9688, -2.5, 2.5, -1.4375, 0, 5, -1.75, 0, 2.5, -1.4375, 0, 5, -2.375, 2.5, 5, -1.75, 0, 2.5, -1.4375, 0, 2.5, -1.9063, 2.5, 5, -2.375, 2.5, 5, -0.5, -5, 5, -0.125, -2.5, 5, 0.5, -5, 5, -0.5, -5, 5, -1.125, -2.5, 5, -0.125, -2.5, 5, -1.125, -2.5, 5, -0.75, 0, 5, -0.125, -2.5, 5, -1.125, -2.5, 5, -1.75, 0, 5, -0.75, 0, 5, -1.75, 0, 5, -1.375, 2.5, 5, -0.75, 0, 5, -1.75, 0, 5, -2.375, 2.5, 5, -1.375, 2.5, -5, -0.5, 5, -5, 0.5, 2.5, -5, 0.5, 5, -5, -0.5, 5, -5, -0.5, 2.5, -5, 0.5, 2.5, -5, -0.5, 2.5, -5, 0.5, 0, -5, 0.5, 2.5, -5, -0.5, 2.5, -5, -0.5, 0, -5, 0.5, 0, -5, -0.5, 0, -5, 0.5, -2.5, -5, 0.5, 0, -5, -0.5, 0, -5, -0.5, -2.5, -5, 0.5, -2.5, -5, -0.5, 0, -2.5, -0.9688, 2.5, -2.5, -0.8125, 0, -5, -0.5, 0, -5, -0.5, 2.5, -2.5, -0.9688, 2.5, -2.5, -0.8125, 0, 0, -1.4375, 2.5, 0, -1.125, 0, -2.5, -0.8125, 0, -2.5, -0.9688, 2.5, 0, -1.4375, 2.5, 0, -1.125, 0, 2.5, -1.9063, 2.5, 2.5, -1.4375, 0, 0, -1.125, 0, 0, -1.4375, 2.5, 2.5, -1.9063, 2.5, -5, -0.5, -2.5, -2.5, -0.8125, 0, -2.5, -0.6563, -2.5, -5, -0.5, -2.5, -5, -0.5, 0, -2.5, -0.8125, 0, -2.5, -0.6563, -2.5, 0, -1.125, 0, 0, -0.8125, -2.5, -2.5, -0.6563, -2.5, -2.5, -0.8125, 0, 0, -1.125, 0, 0, -0.8125, -2.5, 2.5, -1.4375, 0, 2.5, -0.9688, -2.5, 0, -0.8125, -2.5, 0, -1.125, 0, 2.5, -1.4375, 0, -5, -0.5, -5, -2.5, -0.6563, -2.5, -2.5, -0.5, -5, -5, -0.5, -5, -5, -0.5, -2.5, -2.5, -0.6563, -2.5, -2.5, -0.5, -5, 0, -0.8125, -2.5, 0, -0.5, -5, -2.5, -0.5, -5, -2.5, -0.6563, -2.5, 0, -0.8125, -2.5, 0, -0.5, -5, 2.5, -0.9688, -2.5, 2.5, -0.5, -5, 0, -0.5, -5, 0, -0.8125, -2.5, 2.5, -0.9688, -2.5, 5, -0.75, 0, 2.5, -0.9063, 2.5, 2.5, -0.4375, 0, 5, -0.75, 0, 5, -1.375, 2.5, 2.5, -0.9063, 2.5, 2.5, -0.4375, 0, 0, -0.4375, 2.5, 0, -0.125, 0, 2.5, -0.4375, 0, 2.5, -0.9063, 2.5, 0, -0.4375, 2.5, 0, -0.125, 0, -2.5, 0.0313, 2.5, -2.5, 0.1875, 0, 0, -0.125, 0, 0, -0.4375, 2.5, -2.5, 0.0313, 2.5, 5, -0.125, -2.5, 2.5, -0.4375, 0, 2.5, 0.0313, -2.5, 5, -0.125, -2.5, 5, -0.75, 0, 2.5, -0.4375, 0, 2.5, 0.0313, -2.5, 0, -0.125, 0, 0, 0.1875, -2.5, 2.5, 0.0313, -2.5, 2.5, -0.4375, 0, 0, -0.125, 0, 0, 0.1875, -2.5, -2.5, 0.1875, 0, -2.5, 0.3438, -2.5, 0, 0.1875, -2.5, 0, -0.125, 0, -2.5, 0.1875, 0, 5, 0.5, -5, 2.5, 0.0313, -2.5, 2.5, 0.5, -5, 5, 0.5, -5, 5, -0.125, -2.5, 2.5, 0.0313, -2.5, 2.5, 0.5, -5, 0, 0.1875, -2.5, 0, 0.5, -5, 2.5, 0.5, -5, 2.5, 0.0313, -2.5, 0, 0.1875, -2.5, 0, 0.5, -5, -2.5, 0.3438, -2.5, -2.5, 0.5, -5, 0, 0.5, -5, 0, 0.1875, -2.5, -2.5, 0.3438, -2.5, 5, -1.375, 2.5, 2.5, -1.375, 5, 2.5, -0.9063, 2.5, 5, -1.375, 2.5, 5, -2, 5, 2.5, -1.375, 5, 2.5, -0.9063, 2.5, 0, -0.75, 5, 0, -0.4375, 2.5, 2.5, -0.9063, 2.5, 2.5, -1.375, 5, 0, -0.75, 5, 0, -0.4375, 2.5, -2.5, -0.125, 5, -2.5, 0.0313, 2.5, 0, -0.4375, 2.5, 0, -0.75, 5, -2.5, -0.125, 5, -5, -0.5, 2.5, -2.5, -1.125, 5, -2.5, -0.9688, 2.5, -5, -0.5, 2.5, -5, -0.5, 5, -2.5, -1.125, 5, -2.5, -0.9688, 2.5, 0, -1.75, 5, 0, -1.4375, 2.5, -2.5, -0.9688, 2.5, -2.5, -1.125, 5, 0, -1.75, 5, 0, -1.4375, 2.5, 2.5, -2.375, 5, 2.5, -1.9063, 2.5, 0, -1.4375, 2.5, 0, -1.75, 5, 2.5, -2.375, 5, 5, -3, 5, 2.5, -1.375, 5, 5, -2, 5, 5, -3, 5, 2.5, -2.375, 5, 2.5, -1.375, 5, 2.5, -2.375, 5, 0, -0.75, 5, 2.5, -1.375, 5, 2.5, -2.375, 5, 0, -1.75, 5, 0, -0.75, 5, 0, -1.75, 5, -2.5, -0.125, 5, 0, -0.75, 5, 0, -1.75, 5, -2.5, -1.125, 5, -2.5, -0.125, 5, -5, -0.5, -5, -2.5, 0.5, -5, -5, 0.5, -5, -5, -0.5, -5, -2.5, -0.5, -5, -2.5, 0.5, -5, -2.5, -0.5, -5, 0, 0.5, -5, -2.5, 0.5, -5, -2.5, -0.5, -5, 0, -0.5, -5, 0, 0.5, -5, 0, -0.5, -5, 2.5, 0.5, -5, 0, 0.5, -5, 0, -0.5, -5, 2.5, -0.5, -5, 2.5, 0.5, -5)
+
+[node name="platform_depression" type="StaticBody3D" node_paths=PackedStringArray("mesh")]
+collision_mask = 0
+input_ray_pickable = false
+script = ExtResource("1_n2owk")
+mesh = NodePath("mesh")
+west_wall_scene = ExtResource("2_1aqqn")
+west_wall_transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
+east_wall_scene = ExtResource("3_cfbhp")
+east_wall_transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0)
+north_wall_scene = ExtResource("2_1aqqn")
+north_wall_transform = Transform3D(0, 0, -1, 0, 1, 0, -1, 0, 0, 0, 0, 0)
+south_wall_scene = ExtResource("3_cfbhp")
+south_wall_transform = Transform3D(0, 0, 1, 0, 1, 0, -1, 0, 0, 0, 0, 0)
+
+[node name="mesh" type="MeshInstance3D" parent="."]
+transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 0)
+mesh = ExtResource("4_563w5")
+
+[node name="collision" type="CollisionShape3D" parent="."]
+transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 0)
+visible = false
+shape = SubResource("ConcavePolygonShape3D_e7apd")
+
+[node name="camera" parent="." instance=ExtResource("5_4weiu")]