world.tscn 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. [gd_scene load_steps=7 format=3 uid="uid://d4fhtfjhdgv8p"]
  2. [ext_resource type="Texture2D" uid="uid://20ldjesg1ht3" path="res://icon.svg" id="1_4r6tq"]
  3. [ext_resource type="PackedScene" uid="uid://c51bams63yrds" path="res://static_object.tscn" id="1_i6y7f"]
  4. [ext_resource type="Shape2D" uid="uid://dr8p5aiw65e15" path="res://godot_shape.tres" id="1_nsm8u"]
  5. [ext_resource type="Script" path="res://overlap.gd" id="3_1y6lv"]
  6. [ext_resource type="Script" path="res://incrementer.gd" id="5_yo3el"]
  7. [sub_resource type="Curve2D" id="Curve2D_migqo"]
  8. _data = {
  9. "points": PackedVector2Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1063, 50, 0, 0, 0, 0, 1014, 420, 0, 0, 0, 0, 987, 622, 0, 0, 0, 0, 45, 615, 0, 0, 0, 0, 59, 80)
  10. }
  11. point_count = 6
  12. [node name="World" type="Node2D"]
  13. [node name="NotMovingAlpha" parent="." instance=ExtResource("1_i6y7f")]
  14. position = Vector2(747, 383)
  15. [node name="NotMovingBeta" parent="." instance=ExtResource("1_i6y7f")]
  16. position = Vector2(253, 477)
  17. [node name="Area2D" type="Area2D" parent="."]
  18. position = Vector2(306, 257)
  19. script = ExtResource("3_1y6lv")
  20. [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
  21. shape = ExtResource("1_nsm8u")
  22. [node name="Sprite2D" type="Sprite2D" parent="Area2D"]
  23. texture = ExtResource("1_4r6tq")
  24. [node name="Path2D" type="Path2D" parent="."]
  25. curve = SubResource("Curve2D_migqo")
  26. [node name="PathFollow2D" type="PathFollow2D" parent="Path2D"]
  27. position = Vector2(318.557, 14.9839)
  28. rotation = 0.047002
  29. progress = 318.91
  30. script = ExtResource("5_yo3el")
  31. [node name="MovingOne" parent="Path2D/PathFollow2D" instance=ExtResource("1_i6y7f")]
  32. [connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]