summaryrefslogtreecommitdiff
path: root/src/entities/actors/snake/scenes/Head.tscn
blob: 336265bbb19b25a63c7c1dcf3ecd37a77f18f3ed (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 = 2.0

[node name="Head" type="KinematicBody2D"]
collision_mask = 262
script = ExtResource( 2 )

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

[node name="Collision" type="CollisionShape2D" parent="."]
position = Vector2( 0, -2 )
shape = SubResource( 1 )