summaryrefslogtreecommitdiff
path: root/src/entities/actors/snake/scenes/Tail.tscn
blob: adfe422ec0abd3c25c6e06843f625553e631644d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[gd_scene load_steps=4 format=2]

[ext_resource path="res://entities/actors/snake/sprites/tail.png" type="Texture" id=1]
[ext_resource path="res://entities/actors/snake/scripts/generic_segment.gd" type="Script" id=2]

[sub_resource type="CircleShape2D" id=1]
radius = 2.0

[node name="TailPathFollow" type="PathFollow2D"]
loop = false
script = ExtResource( 2 )
TYPE = "tail"

[node name="Tail" type="Area2D" parent="."]
rotation = 1.5708
collision_layer = 4
collision_mask = 0

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

[node name="Collision" type="CollisionShape2D" parent="Tail"]
position = Vector2( 7.23998e-06, 2 )
shape = SubResource( 1 )