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

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

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

[node name="Head" type="KinematicBody2D"]
position = Vector2( -1, 0 )
collision_mask = 0
script = ExtResource( 2 )

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

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