diff options
Diffstat (limited to 'src/entities/actors/snake/scenes')
-rw-r--r-- | src/entities/actors/snake/scenes/Body.tscn | 2 | ||||
-rw-r--r-- | src/entities/actors/snake/scenes/Head.tscn | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/entities/actors/snake/scenes/Body.tscn b/src/entities/actors/snake/scenes/Body.tscn index 8e4a8a4..49694c0 100644 --- a/src/entities/actors/snake/scenes/Body.tscn +++ b/src/entities/actors/snake/scenes/Body.tscn @@ -4,7 +4,7 @@ [ext_resource path="res://entities/actors/snake/scripts/generic_segment.gd" type="Script" id=2] [sub_resource type="CapsuleShape2D" id=1] -radius = 5.99999 +radius = 4.99999 height = 4.00002 [node name="BodyPathFollow" type="PathFollow2D"] diff --git a/src/entities/actors/snake/scenes/Head.tscn b/src/entities/actors/snake/scenes/Head.tscn index 22aa7e6..d118fbf 100644 --- a/src/entities/actors/snake/scenes/Head.tscn +++ b/src/entities/actors/snake/scenes/Head.tscn @@ -3,12 +3,11 @@ [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 +[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"] -position = Vector2( -1, 0 ) -collision_mask = 0 +collision_mask = 262 script = ExtResource( 2 ) [node name="Sprite" type="Sprite" parent="."] |