homework
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
[gd_scene format=3 uid="uid://c3fibj1v6dewg"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c40ox7fx62471" path="res://scene/code/spike.gd" id="1_05qjc"]
|
||||
[ext_resource type="Texture2D" uid="uid://bkfeabbkjs83g" path="res://Free/Traps/Spikes/Idle.png" id="1_kmxnw"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_b1ow3"]
|
||||
size = Vector2(15, 9)
|
||||
|
||||
[node name="spike" type="Area2D" unique_id=59570697]
|
||||
collision_mask = 7
|
||||
script = ExtResource("1_05qjc")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=581255206]
|
||||
texture = ExtResource("1_kmxnw")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1335017767]
|
||||
position = Vector2(-0.5, 3.5)
|
||||
shape = SubResource("RectangleShape2D_b1ow3")
|
||||
|
||||
[node name="Timerdamage" type="Timer" parent="." unique_id=1552615038]
|
||||
one_shot = true
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
Reference in New Issue
Block a user