aboutsummaryrefslogtreecommitdiffstats
path: root/Player.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'Player.tscn')
-rw-r--r--Player.tscn5
1 files changed, 3 insertions, 2 deletions
diff --git a/Player.tscn b/Player.tscn
index e8cef48..38589cc 100644
--- a/Player.tscn
+++ b/Player.tscn
@@ -5,8 +5,7 @@
[sub_resource type="CircleShape2D" id=1]
-[node name="KinematicBody2D" type="KinematicBody2D"]
-input_pickable = true
+[node name="Area2D" type="Area2D"]
script = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
@@ -16,3 +15,5 @@ shape = SubResource( 1 )
position = Vector2( -1, -4 )
scale = Vector2( 0.515625, 0.53125 )
texture = ExtResource( 2 )
+
+[connection signal="body_entered" from="." to="." method="_on_Player_body_entered"]