summaryrefslogtreecommitdiff
path: root/scenes/fodder.tscn
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-05-23 11:44:21 -0400
committerbd <bdunahu@operationnull.com>2025-05-23 11:44:21 -0400
commita677a3e8ed63241e7931265941d562284a15d16a (patch)
tree265c3f353525ae462236417298ff7f0f272870e1 /scenes/fodder.tscn
parentbc3589db94692fc4cdd4388dacff0f44fe8a2030 (diff)
Move enemy logic to base_crawler, add crawler flip animation
Diffstat (limited to 'scenes/fodder.tscn')
-rw-r--r--scenes/fodder.tscn23
1 files changed, 23 insertions, 0 deletions
diff --git a/scenes/fodder.tscn b/scenes/fodder.tscn
new file mode 100644
index 0000000..05813e6
--- /dev/null
+++ b/scenes/fodder.tscn
@@ -0,0 +1,23 @@
+[gd_scene load_steps=5 format=3 uid="uid://rp5orgc6ae7j"]
+
+[ext_resource type="Script" uid="uid://gn1504blq1pf" path="res://scripts/fodder.gd" id="1_4lnnv"]
+[ext_resource type="Texture2D" uid="uid://di2vybjsniag4" path="res://assets/tilemap.png" id="2_eps3e"]
+
+[sub_resource type="CircleShape2D" id="CircleShape2D_220eh"]
+radius = 8.06226
+
+[sub_resource type="Curve2D" id="Curve2D_q2rr1"]
+
+[node name="CrawlerFodder" type="CharacterBody2D"]
+script = ExtResource("1_4lnnv")
+
+[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
+shape = SubResource("CircleShape2D_220eh")
+
+[node name="Sprite2D" type="Sprite2D" parent="."]
+texture = ExtResource("2_eps3e")
+region_enabled = true
+region_rect = Rect2(432, 0, 16, 16)
+
+[node name="Node2D" type="Path2D" parent="."]
+curve = SubResource("Curve2D_q2rr1")