Save boss and player statuses

This commit is contained in:
Felipe M 2021-05-22 23:50:54 +02:00
parent b0c5798328
commit 6ea21b3181
Signed by: fmartingr
GPG key ID: 716BC147715E716F
9 changed files with 43 additions and 3 deletions

View file

@ -1,8 +1,11 @@
extends StaticBody2D
var PlayerStats = ResourceLoader.PlayerStats
onready var animation = $Animation
func _on_SaveArea_body_entered(_body):
print(_body)
# PlayerStats.set_max_health()
animation.play("Save")
SaverLoader.save_game()