Major collision detection improvements, more file organization, and added key interactable

This commit is contained in:
VoidTwo
2021-12-04 00:07:33 -06:00
parent ca2ea40b23
commit fcea3cee03
18 changed files with 155 additions and 59 deletions

View File

@@ -0,0 +1,9 @@
extends Area2D
func _on_silver_key_pickup_body_entered(body: Node):
if 'player' in body.get_groups():
body.add_item('Silver Key')
call_deferred('queue_free')
return