summaryrefslogtreecommitdiff
path: root/PathNode.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'PathNode.tscn')
-rw-r--r--PathNode.tscn22
1 files changed, 22 insertions, 0 deletions
diff --git a/PathNode.tscn b/PathNode.tscn
new file mode 100644
index 0000000..266ecf4
--- /dev/null
+++ b/PathNode.tscn
@@ -0,0 +1,22 @@
+[gd_scene load_steps=4 format=3 uid="uid://d0ukgoppkh1fn"]
+
+[ext_resource type="Script" path="res://PathNode.gd" id="1_ge3jf"]
+[ext_resource type="Texture2D" uid="uid://b1b18rd0tqbar" path="res://core_outdoor.png" id="2_wcpbq"]
+
+[sub_resource type="CircleShape2D" id="CircleShape2D_jhph1"]
+radius = 1.0
+
+[node name="PathNode" type="Node2D"]
+script = ExtResource("1_ge3jf")
+
+[node name="Sprite2D" type="Sprite2D" parent="."]
+texture_filter = 1
+texture = ExtResource("2_wcpbq")
+region_enabled = true
+region_rect = Rect2(384, 496, 16, 16)
+
+[node name="Area2D" type="Area2D" parent="." groups=["path"]]
+collision_layer = 2
+
+[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
+shape = SubResource("CircleShape2D_jhph1")