Save boss and player statuses
This commit is contained in:
parent
b0c5798328
commit
6ea21b3181
9 changed files with 43 additions and 3 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue