1 parent
6a4c7b5c07
commit
746c1246da
2 files changed
+72
-1
No files matched your search
@@ -0,0 +1,24 @@
|
||||
[gd_scene format=3 uid="uid://dbk4f76ux6dsv"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://brlrpnqrsi2vn" path="res://spike.gd" id="1_yivsx"]
|
||||
[ext_resource type="Texture2D" uid="uid://bu5wgerfu7cbc" path="res://art/spike.png" id="2_tfl76"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xfwl5"]
|
||||
size = Vector2(15, 11)
|
||||
|
||||
[node name="WallSpike" type="Node2D" unique_id=1739014101]
|
||||
rotation = 1.5707964
|
||||
script = ExtResource("1_yivsx")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=813041394]
|
||||
texture_filter = 1
|
||||
position = Vector2(0.99999994, -4.371139e-08)
|
||||
texture = ExtResource("2_tfl76")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=170499029]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1865546056]
|
||||
position = Vector2(0.5000005, 0.4999999)
|
||||
shape = SubResource("RectangleShape2D_xfwl5")
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="." method="on_contact"]
|
||||
Reference in new issue
Block a user