z-hack/src/Relic.tscn

23 lines
591 B
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://assets/relic.png" type="Texture" id=1]
[ext_resource path="res://Relic.gd" type="Script" id=2]
[sub_resource type="CapsuleShape2D" id=1]
radius = 19.0
height = 0.0
[node name="Area2D" type="Area2D" groups=["relic"]]
script = ExtResource( 2 )
__meta__ = {
"_edit_group_": true
}
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
[connection signal="body_entered" from="." to="." method="_on_Area2D_body_entered"]