Files
JumpRopeOldTech/hidden_spike.tscn
T
yagigreg 7072ddb73d initial stab at disk 3 area.
Also made hidden items visible by default since they will become hidden when the game starts anyway. This way they are visible in the editor.
2026-10-18 18:49:32 -05:00

25 lines
921 B
Plaintext

[gd_scene format=3 uid="uid://cap0wo5ij7hfv"]
[ext_resource type="Script" uid="uid://b65drnv6461kp" path="res://hidden_spike.gd" id="1_k2eht"]
[ext_resource type="Texture2D" uid="uid://bu5wgerfu7cbc" path="res://art/spike.png" id="2_vt54o"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xfwl5"]
size = Vector2(15, 7.5)
[node name="HiddenSpike" type="Node2D" unique_id=1739014101 groups=["Hidden"]]
visible = false
script = ExtResource("1_k2eht")
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=813041394]
texture_filter = 1
position = Vector2(0, 2)
texture = ExtResource("2_vt54o")
[node name="Area2D" type="Area2D" parent="." unique_id=170499029]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1865546056]
position = Vector2(0, 4.75)
shape = SubResource("RectangleShape2D_xfwl5")
[connection signal="body_entered" from="Area2D" to="." method="on_contact"]