SaveStation, save & load properly
This commit is contained in:
parent
d4acde846c
commit
847670821d
16 changed files with 129 additions and 13 deletions
7
metroidvania/Scenes/Objects/SaveStation.gd
Normal file
7
metroidvania/Scenes/Objects/SaveStation.gd
Normal file
|
@ -0,0 +1,7 @@
|
|||
extends StaticBody2D
|
||||
|
||||
onready var animation = $Animation
|
||||
|
||||
func _on_SaveArea_body_entered(body):
|
||||
animation.play("Save")
|
||||
SaverLoader.save_game()
|
Loading…
Add table
Add a link
Reference in a new issue