X-Git-Url: http://git.purplebirdman.com/mushroom-game.git/blobdiff_plain/5a21298c3ff31c639d9bb73c45e138441359e889..HEAD:/world.tscn?ds=inline diff --git a/world.tscn b/world.tscn index d6d9396..ff2d3dd 100644 --- a/world.tscn +++ b/world.tscn @@ -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"]