]> Untitled Git - mushroom-game.git/blobdiff - world.tscn
Squashed commit of the following:
[mushroom-game.git] / world.tscn
index d6d93968a409ec6be59fbf9fbec14c3c81ec04ec..ff2d3ddef6dbabd66ebee6eee6fa641beddd7506 100644 (file)
@@ -32,20 +32,36 @@ environment = SubResource("Environment_dvway")
 
 [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
 transform = Transform3D(-0.866023, -0.433016, 0.250001, 0, 0.499998, 0.866027, -0.500003, 0.749999, -0.43301, 0, 0, 0)
+light_energy = 0.335
 shadow_enabled = true
 
-[node name="ground" type="MeshInstance3D" parent="."]
-mesh = SubResource("PlaneMesh_p1m44")
-
-[node name="StaticBody3D" type="StaticBody3D" parent="ground"]
-
-[node name="CollisionShape3D" type="CollisionShape3D" parent="ground/StaticBody3D"]
-shape = SubResource("ConcavePolygonShape3D_tjuji")
-
 [node name="player" parent="." instance=ExtResource("2_i1nnw")]
 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 7.20149)
 
-[node name="mushroom" parent="." instance=ExtResource("3_cq28e")]
+[node name="mushrooms" type="Node" parent="."]
+
+[node name="mushroom" parent="mushrooms" instance=ExtResource("3_cq28e")]
 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.09446, -4.76837e-07, -4.56699)
 
-[connection signal="picked" from="mushroom" to="." method="_on_mushroom_picked"]
+[node name="mushroom2" parent="mushrooms" instance=ExtResource("3_cq28e")]
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.26121, 0, 4.04727)
+
+[node name="mushroom3" parent="mushrooms" instance=ExtResource("3_cq28e")]
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.74696, 0, -5.19882)
+
+[node name="ground" type="Node3D" parent="."]
+
+[node name="test" type="MeshInstance3D" parent="ground"]
+mesh = SubResource("PlaneMesh_p1m44")
+skeleton = NodePath("../..")
+
+[node name="StaticBody3D" type="StaticBody3D" parent="ground/test"]
+
+[node name="CollisionShape3D" type="CollisionShape3D" parent="ground/test/StaticBody3D"]
+shape = SubResource("ConcavePolygonShape3D_tjuji")
+
+[connection signal="quit" from="." to="." method="_on_quit"]
+[connection signal="victory" from="." to="." method="_on_victory"]
+[connection signal="picked" from="mushrooms/mushroom" to="." method="_on_mushroom_picked"]
+[connection signal="picked" from="mushrooms/mushroom2" to="." method="_on_mushroom_picked"]
+[connection signal="picked" from="mushrooms/mushroom3" to="." method="_on_mushroom_picked"]