8 lines
145 B
GDScript3
8 lines
145 B
GDScript3
|
extends StaticBody2D
|
||
|
|
||
|
onready var animation = $Animation
|
||
|
|
||
|
func _on_SaveArea_body_entered(body):
|
||
|
animation.play("Save")
|
||
|
SaverLoader.save_game()
|