summaryrefslogtreecommitdiff
path: root/src/entities/actors/snake/scenes/Body.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities/actors/snake/scenes/Body.tscn')
-rw-r--r--src/entities/actors/snake/scenes/Body.tscn14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/entities/actors/snake/scenes/Body.tscn b/src/entities/actors/snake/scenes/Body.tscn
new file mode 100644
index 0000000..93020b2
--- /dev/null
+++ b/src/entities/actors/snake/scenes/Body.tscn
@@ -0,0 +1,14 @@
+[gd_scene load_steps=3 format=2]
+
+[ext_resource path="res://entities/actors/snake/sprites/body.png" type="Texture" id=1]
+[ext_resource path="res://entities/actors/snake/scripts/generic_segment.gd" type="Script" id=2]
+
+[node name="BodyPathFollow" type="PathFollow2D"]
+loop = false
+script = ExtResource( 2 )
+
+[node name="Body" type="Node2D" parent="."]
+rotation = 1.5708
+
+[node name="Sprite" type="Sprite" parent="Body"]
+texture = ExtResource( 1 )