Spike
too small? (invisible)
This commit is contained in:
1 parent
66f6906bfd
commit
c2fa387d3c
7 files changed
+88
No files matched your search
+21
@@ -0,0 +1,21 @@
|
||||
[gd_scene format=3 uid="uid://c8m4d77hcr0pj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://brlrpnqrsi2vn" path="res://spike.gd" id="1_7k7bx"]
|
||||
[ext_resource type="Texture2D" uid="uid://bu5wgerfu7cbc" path="res://art/spike.png" id="2_7k7bx"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_6qpsl"]
|
||||
radius = 7.0
|
||||
height = 20.0
|
||||
|
||||
[node name="Spike" type="Node2D" unique_id=1739014101]
|
||||
script = ExtResource("1_7k7bx")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=813041394]
|
||||
texture = ExtResource("2_7k7bx")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=170499029]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1865546056]
|
||||
shape = SubResource("CapsuleShape2D_6qpsl")
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="." method="on_contact"]
|
||||
Reference in new issue
Block a user