Files
2026-10-18 00:28:27 -05:00

25 lines
897 B
Plaintext

[gd_scene format=3 uid="uid://hqmkjtv5shyk"]
[ext_resource type="Script" uid="uid://brlrpnqrsi2vn" path="res://spike.gd" id="1_bl7j6"]
[ext_resource type="Texture2D" uid="uid://bu5wgerfu7cbc" path="res://art/spike.png" id="2_24rqj"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xfwl5"]
size = Vector2(15, 10)
[node name="Spike" type="Node2D" unique_id=1739014101]
script = ExtResource("1_bl7j6")
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=813041394]
texture_filter = 1
position = Vector2(0, 2)
scale = Vector2(-1, -1)
texture = ExtResource("2_24rqj")
[node name="Area2D" type="Area2D" parent="." unique_id=170499029]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1865546056]
position = Vector2(-0.5, -1)
shape = SubResource("RectangleShape2D_xfwl5")
[connection signal="body_entered" from="Area2D" to="." method="on_contact"]