added voice acting credit and scoring

This commit is contained in:
zoe 2021-09-29 15:07:06 +02:00
parent 5503c2d05a
commit ad8de1dbb7
41 changed files with 323 additions and 57 deletions

View file

@ -10,6 +10,10 @@ func make_green():
# green_peg.rotation = rotation + 5
green_peg.global_position = global_position
# add score
$ScoreCounter.trigger()
# get the main scene of current peg and add new peg to it
var main = get_tree().current_scene
main.add_child(green_peg)