infinite_level.tscn 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. [gd_scene load_steps=7 format=3 uid="uid://7ivipmwaw24t"]
  2. [ext_resource type="PackedScene" uid="uid://b10k58capm04o" path="res://component/entity/walker/walker.tscn" id="1_x0026"]
  3. [ext_resource type="PackedScene" uid="uid://bk0s5bn8k08bc" path="res://flow/control/local_input/local_input.tscn" id="2_0i5t8"]
  4. [ext_resource type="PackedScene" uid="uid://bcpri2x5afoyb" path="res://component/entity/box/box.tscn" id="2_e8xto"]
  5. [ext_resource type="PackedScene" uid="uid://dao17ylietgyl" path="res://component/entity/plane/tiny_plane.tscn" id="4_tbpfc"]
  6. [sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_2xulb"]
  7. [sub_resource type="QuadMesh" id="QuadMesh_dt8nl"]
  8. size = Vector2(500, 500)
  9. orientation = 1
  10. [node name="InfiniteLevel" type="Node3D"]
  11. [node name="Ground" type="StaticBody3D" parent="."]
  12. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
  13. collision_mask = 0
  14. [node name="InfinitePlan" type="CollisionShape3D" parent="Ground"]
  15. shape = SubResource("WorldBoundaryShape3D_2xulb")
  16. [node name="MeshInstance3D" type="MeshInstance3D" parent="Ground"]
  17. mesh = SubResource("QuadMesh_dt8nl")
  18. [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
  19. transform = Transform3D(1, 0, 0, 0, 0.734358, 0.678762, 0, -0.678762, 0.734358, -33.1669, 12.6773, 15.7238)
  20. shadow_enabled = true
  21. [node name="MainWalker" parent="." instance=ExtResource("1_x0026")]
  22. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 9, 0)
  23. [node name="CameraPlayer" type="Camera3D" parent="MainWalker"]
  24. transform = Transform3D(1, 0, 0, 0, 0.944949, 0.327218, 0, -0.327218, 0.944949, 0, 2.18524, 3.2779)
  25. [node name="Control" parent="MainWalker" instance=ExtResource("2_0i5t8")]
  26. [node name="NpcWalker1" parent="." instance=ExtResource("1_x0026")]
  27. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.0621, 6.0173, -4.87909)
  28. [node name="Boxes" type="Node3D" parent="."]
  29. [node name="Box1" parent="Boxes" instance=ExtResource("2_e8xto")]
  30. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
  31. [node name="Box2" parent="Boxes" instance=ExtResource("2_e8xto")]
  32. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.2632, -0.5, -7.95074)
  33. [node name="Box3" parent="Boxes" instance=ExtResource("2_e8xto")]
  34. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.53697, 1.42774, -11.1883)
  35. [node name="TinyPlane" parent="." instance=ExtResource("4_tbpfc")]
  36. transform = Transform3D(0.477312, 0.527326, -0.702923, -0.741391, 0.671074, 0, 0.471713, 0.521141, 0.711266, -76.6685, 15.7672, 53.8067)
  37. [node name="CameraPlane" type="Camera3D" parent="TinyPlane"]
  38. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.81859, 8.36889)
  39. current = true
  40. [node name="Control" parent="TinyPlane" instance=ExtResource("2_0i5t8")]
  41. [connection signal="dir_changed" from="MainWalker/Control" to="MainWalker" method="_on_dir_changed"]
  42. [connection signal="main_action" from="MainWalker/Control" to="MainWalker" method="_on_main_action"]
  43. [connection signal="dir_changed" from="TinyPlane/Control" to="TinyPlane" method="_on_dir_changed"]
  44. [connection signal="main_action" from="TinyPlane/Control" to="TinyPlane" method="_on_main_action"]