level.tscn 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. [gd_scene load_steps=6 format=3 uid="uid://vtnh2i0i52vo"]
  2. [ext_resource type="PackedScene" uid="uid://c6br8h3si2ypg" path="res://component/entity/sphere/sphere.tscn" id="1_8awbr"]
  3. [ext_resource type="Script" path="res://run/levels/flatland/level.gd" id="1_p4gvl"]
  4. [sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_s66iy"]
  5. [sub_resource type="PlaneMesh" id="PlaneMesh_7cbpt"]
  6. size = Vector2(20, 20)
  7. [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_kgp6f"]
  8. albedo_color = Color(0.164706, 0.478431, 1, 1)
  9. [node name="World" type="Node3D"]
  10. script = ExtResource("1_p4gvl")
  11. [node name="Camera3D" type="Camera3D" parent="."]
  12. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.35697, 3.4425)
  13. [node name="Floor" type="StaticBody3D" parent="."]
  14. [node name="CollisionShape3D" type="CollisionShape3D" parent="Floor"]
  15. shape = SubResource("WorldBoundaryShape3D_s66iy")
  16. [node name="MeshInstance3D" type="MeshInstance3D" parent="Floor"]
  17. mesh = SubResource("PlaneMesh_7cbpt")
  18. surface_material_override/0 = SubResource("StandardMaterial3D_kgp6f")
  19. [node name="OmniLight3D" type="OmniLight3D" parent="."]
  20. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 10.4214, 0)
  21. light_energy = 10.0
  22. omni_range = 20.2379
  23. [node name="Objects" type="Node3D" parent="."]
  24. [node name="Sphere" parent="Objects" instance=ExtResource("1_8awbr")]
  25. [node name="Sphere2" parent="Objects" instance=ExtResource("1_8awbr")]
  26. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.09399, 4.03106, 0)
  27. [node name="Players" type="Node3D" parent="."]
  28. [node name="MultiplayerSpawner" type="MultiplayerSpawner" parent="."]
  29. _spawnable_scenes = PackedStringArray("res://component/entity/player/player.tscn")
  30. spawn_path = NodePath("../Players")
  31. spawn_limit = 4