summaryrefslogtreecommitdiff
path: root/src/entities/actors/snake/scenes/Body.tscn
blob: 7b5de58f0dec14988bf15889968e8ec230c922b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[gd_scene load_steps=4 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]

[sub_resource type="CapsuleShape2D" id=1]
radius = 1.99999
height = 2.00001

[node name="BodyPathFollow" type="PathFollow2D"]
loop = false
script = ExtResource( 2 )

[node name="Body" type="Area2D" parent="."]
rotation = 1.5708
collision_layer = 2
collision_mask = 0

[node name="Sprite" type="Sprite" parent="Body"]
texture = ExtResource( 1 )

[node name="Collision" type="CollisionShape2D" parent="Body"]
shape = SubResource( 1 )