[gd_scene load_steps=13 format=2] [ext_resource path="res://Images/Gameplay/EnemySprickyF2.png" type="Texture" id=1] [ext_resource path="res://Images/Gameplay/EnemySpricky.png" type="Texture" id=2] [ext_resource path="res://Images/Gameplay/EnemySprickyDeath.png" type="Texture" id=3] [ext_resource path="res://Scripts/EnemySpricky.gd" type="Script" id=4] [ext_resource path="res://Images/Gameplay/EnemySprickyF3.png" type="Texture" id=5] [ext_resource path="res://Images/Gameplay/EnemySprickyF4.png" type="Texture" id=6] [ext_resource path="res://Shaders/offsetshadow.shader" type="Shader" id=7] [sub_resource type="ShaderMaterial" id=8] shader = ExtResource( 7 ) shader_param/offset = Vector2( 2, 2 ) shader_param/modulate = Color( 0, 0, 0, 0.4 ) [sub_resource type="SpriteFrames" id=1] animations = [ { "frames": [ ExtResource( 3 ) ], "loop": true, "name": "Death", "speed": 5.0 }, { "frames": [ ExtResource( 2 ), ExtResource( 1 ), ExtResource( 5 ), ExtResource( 6 ) ], "loop": true, "name": "Walking", "speed": 20.0 } ] [sub_resource type="RectangleShape2D" id=7] extents = Vector2( 12.395, 10.4 ) [sub_resource type="RectangleShape2D" id=4] extents = Vector2( 10.4, 1.75517 ) [sub_resource type="CapsuleShape2D" id=6] height = 13.3333 [node name="EnemySpricky" type="KinematicBody2D"] scale = Vector2( 1.25, 1.25 ) script = ExtResource( 4 ) [node name="EnemySprickySprite" type="AnimatedSprite" parent="."] material = SubResource( 8 ) frames = SubResource( 1 ) animation = "Walking" [node name="EnemySprickyShape" type="CollisionShape2D" parent="."] position = Vector2( -2.00272e-06, 3.595 ) rotation = 1.5708 shape = SubResource( 7 ) [node name="EnemyHitZone" type="Area2D" parent="."] [node name="Shape" type="CollisionShape2D" parent="EnemyHitZone"] position = Vector2( 5.24521e-07, -10.2448 ) shape = SubResource( 4 ) [node name="PlayerHitZone" type="Area2D" parent="."] [node name="Shape" type="CollisionShape2D" parent="PlayerHitZone"] position = Vector2( 0, 1.11111 ) rotation = 1.5708 shape = SubResource( 6 ) [connection signal="body_entered" from="EnemyHitZone" to="." method="enemyHitZoneEntered"] [connection signal="body_entered" from="PlayerHitZone" to="." method="playerHitZoneEntered"]