mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
added voice acting credit and scoring
This commit is contained in:
parent
5503c2d05a
commit
ad8de1dbb7
41 changed files with 323 additions and 57 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue