PuddleSpreader.tscn 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. [gd_scene load_steps=7 format=3 uid="uid://dj422swbqehqb"]
  2. [ext_resource type="Script" path="res://entities/PuddleSpreader.gd" id="1_l4uqk"]
  3. [ext_resource type="PackedScene" uid="uid://dulsm6psophsc" path="res://entities/objects/puddle/components/PuddleSpawner.tscn" id="2_xbde4"]
  4. [sub_resource type="BoxShape3D" id="BoxShape3D_3v0ip"]
  5. size = Vector3(6, 4, 6)
  6. [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rmy62"]
  7. transparency = 1
  8. albedo_color = Color(0.188235, 0.156863, 0.137255, 0.729412)
  9. [sub_resource type="SphereMesh" id="SphereMesh_u8hby"]
  10. material = SubResource("StandardMaterial3D_rmy62")
  11. radius = 3.0
  12. [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_eutk6"]
  13. albedo_color = Color(0.352941, 0.843137, 0, 1)
  14. [node name="PuddleSpreader" type="Area3D"]
  15. collision_layer = 0
  16. collision_mask = 38
  17. script = ExtResource("1_l4uqk")
  18. [node name="CollisionShape3D" type="CollisionShape3D" parent="."]
  19. shape = SubResource("BoxShape3D_3v0ip")
  20. [node name="MeshInstance3D" type="MeshInstance3D" parent="."]
  21. mesh = SubResource("SphereMesh_u8hby")
  22. surface_material_override/0 = SubResource("StandardMaterial3D_eutk6")
  23. [node name="Timer" type="Timer" parent="."]
  24. wait_time = 0.3
  25. autostart = true
  26. [node name="PuddleSpawner" parent="." instance=ExtResource("2_xbde4")]
  27. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.6, 2)
  28. [node name="PuddleSpawner2" parent="." instance=ExtResource("2_xbde4")]
  29. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0.6, 2)
  30. [node name="PuddleSpawner3" parent="." instance=ExtResource("2_xbde4")]
  31. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0.6, 0)
  32. [node name="PuddleSpawner4" parent="." instance=ExtResource("2_xbde4")]
  33. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0.6, -2)
  34. [node name="PuddleSpawner5" parent="." instance=ExtResource("2_xbde4")]
  35. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.6, -2)
  36. [node name="PuddleSpawner6" parent="." instance=ExtResource("2_xbde4")]
  37. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0.6, -2)
  38. [node name="PuddleSpawner7" parent="." instance=ExtResource("2_xbde4")]
  39. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0.6, 0)
  40. [node name="PuddleSpawner8" parent="." instance=ExtResource("2_xbde4")]
  41. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0.6, 2)
  42. [connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]