summaryrefslogtreecommitdiff
path: root/src/entities/actors/snake/scenes/Head.tscn
blob: d118fbf8bf5f81a7ab9be53843558818f714a551 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[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="ConvexPolygonShape2D" id=1]
points = PoolVector2Array( -5, 0, 5, 0, 5, -3, 3, -4, 1, -5, -1, -5, -3, -4, -5, -3 )

[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="."]
shape = SubResource( 1 )