File size: 5,035 Bytes
197258d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 |
[gd_scene load_steps=19 format=3 uid="uid://ca6csk8y5nvuu"]
[ext_resource type="PackedScene" uid="uid://cn2van3bgkmch" path="res://scenes/cart/cart.tscn" id="1_5vpyy"]
[ext_resource type="Material" uid="uid://bbj7kkw608aly" path="res://scenes/materials/category2.tres" id="1_fjj1a"]
[ext_resource type="Material" uid="uid://bs65q68vluuqx" path="res://scenes/materials/category.tres" id="1_y8o8n"]
[ext_resource type="Script" path="res://scenes/Item.gd" id="4_tsx37"]
[ext_resource type="PackedScene" uid="uid://cfw2e6n32ytu6" path="res://scenes/static_decorations/static_decorations.blend" id="5_8mptk"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_4l0bm"]
[sub_resource type="PlaneMesh" id="PlaneMesh_sngf0"]
size = Vector2(20, 20)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_omkpg"]
albedo_color = Color(0.14902, 0.678431, 0.176471, 1)
[sub_resource type="BoxShape3D" id="BoxShape3D_x3ht2"]
size = Vector3(22, 1, 22)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_v8nd8"]
albedo_color = Color(0, 0, 0, 1)
roughness = 0.85
[sub_resource type="BoxMesh" id="BoxMesh_cdf32"]
material = SubResource("StandardMaterial3D_v8nd8")
size = Vector3(2, 0.1, 20)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qbjub"]
albedo_color = Color(0.984314, 1, 1, 1)
roughness = 0.85
[sub_resource type="QuadMesh" id="QuadMesh_v1ff1"]
material = SubResource("StandardMaterial3D_qbjub")
size = Vector2(0.2, 17.4)
[sub_resource type="BoxMesh" id="BoxMesh_o6ona"]
material = ExtResource("1_y8o8n")
size = Vector3(2, 1, 1)
[sub_resource type="BoxMesh" id="BoxMesh_3cyms"]
material = ExtResource("1_fjj1a")
size = Vector3(2, 1, 1)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_63osm"]
resource_local_to_scene = true
albedo_color = Color(1, 0.505882, 0, 1)
[sub_resource type="BoxMesh" id="BoxMesh_yu25s"]
resource_local_to_scene = true
material = SubResource("StandardMaterial3D_63osm")
size = Vector3(0.5, 0.5, 0.5)
[sub_resource type="BoxShape3D" id="BoxShape3D_6wisu"]
size = Vector3(0.5, 0.5, 0.5)
[node name="playing_area" type="Node3D"]
[node name="Map" type="StaticBody3D" parent="."]
collision_layer = 5
physics_material_override = SubResource("PhysicsMaterial_4l0bm")
[node name="CSGMesh3D" type="CSGMesh3D" parent="Map"]
mesh = SubResource("PlaneMesh_sngf0")
material = SubResource("StandardMaterial3D_omkpg")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Map"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
shape = SubResource("BoxShape3D_x3ht2")
[node name="Road" type="MeshInstance3D" parent="Map"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0382012, 0)
mesh = SubResource("BoxMesh_cdf32")
[node name="Line" type="MeshInstance3D" parent="Map/Road"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0.942, 0.06, 0)
mesh = SubResource("QuadMesh_v1ff1")
skeleton = NodePath("../..")
[node name="Line2" type="MeshInstance3D" parent="Map/Road"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, -0.942, 0.06, 0)
mesh = SubResource("QuadMesh_v1ff1")
skeleton = NodePath("../..")
[node name="Destination" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0117988, 9.2)
[node name="MeshInstance3D" type="MeshInstance3D" parent="Destination"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
mesh = SubResource("BoxMesh_o6ona")
[node name="Destination2" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0117988, -9.2)
[node name="MeshInstance3D" type="MeshInstance3D" parent="Destination2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
mesh = SubResource("BoxMesh_3cyms")
[node name="Cart" parent="." node_paths=PackedStringArray("destination", "destination2", "item") instance=ExtResource("1_5vpyy")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.84082, 0)
axis_lock_linear_x = true
axis_lock_angular_x = true
axis_lock_angular_y = true
axis_lock_angular_z = true
lock_rotation = true
destination = NodePath("../Destination")
destination2 = NodePath("../Destination2")
item = NodePath("../Item")
[node name="Item" type="RigidBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5.07822, 0)
collision_layer = 2
collision_mask = 7
gravity_scale = 0.04
can_sleep = false
max_contacts_reported = 1
contact_monitor = true
script = ExtResource("4_tsx37")
category_material = ExtResource("1_y8o8n")
category2_material = ExtResource("1_fjj1a")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Item"]
mesh = SubResource("BoxMesh_yu25s")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Item"]
shape = SubResource("BoxShape3D_6wisu")
[node name="static_decorations" parent="." instance=ExtResource("5_8mptk")]
[node name="grass" parent="static_decorations" index="2"]
cast_shadow = 0
[connection signal="body_entered" from="Item" to="Cart" method="_on_item_body_entered"]
[editable path="static_decorations"]
|