Second Prototype; Added Player Animations

This commit is contained in:
Exobyt 2024-09-10 21:30:47 +02:00
parent 51774f485b
commit e82438139f
13 changed files with 332 additions and 73 deletions

View file

@ -0,0 +1,10 @@
extends Area2D
func _physics_process(delta: float) -> void:
cashInObject()
func cashInObject():
for i in get_overlapping_areas():
if not i.isCarryied():
G.addMoney(i.getValue())
i.queue_free()