[gd_scene load_steps=3 format=3 uid="uid://odpq23pduo6y"] [ext_resource type="Script" path="res://spikes.gd" id="1_lgxat"] [ext_resource type="Texture2D" uid="uid://45fgpfmo6jpm" path="res://sheet1.png" id="2_6ke6f"] [node name="bigspike" type="CharacterBody2D"] script = ExtResource("1_lgxat") [node name="Sprite2D" type="Sprite2D" parent="."] position = Vector2(-8, -16) texture = ExtResource("2_6ke6f") centered = false region_enabled = true region_rect = Rect2(112, 240, 16, 16) [node name="Area2D" type="Area2D" parent="."] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Area2D"] position = Vector2(0, -1) scale = Vector2(0.762194, 0.845913) polygon = PackedVector2Array(0, -16, 1, -16, 7.87202, -3.54646, 9.18402, 0, -8, 0, -7.87202, -1.18215, -1.312, -14.1859) [connection signal="body_shape_entered" from="Area2D" to="." method="_on_area_2d_body_shape_entered"]