save system

This commit is contained in:
zoe 2021-10-01 16:23:48 +02:00
parent ad8de1dbb7
commit ffcccb8c2e
29 changed files with 286 additions and 77 deletions

View file

@ -17,9 +17,7 @@ func make_green():
# get the main scene of current peg and add new peg to it
var main = get_tree().current_scene
main.add_child(green_peg)
# increase multiplyier
GameStats.add_to_multiplier()
#finally delete the old peg
queue_free()