You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed on the errata page to update the score variable in _on_rock_exploded, however this still does not call to the Score in the HUD.
I'm not sure if I missed this in the book, but I was able to fix this by adding $HUD/MarginContainer/HBoxContainer/ScoreLabel.text = str(score)
after the score += 10 * size
line in the function.
Greatly enjoying the book, thank you for your time.
The text was updated successfully, but these errors were encountered:
I noticed on the errata page to update the score variable in _on_rock_exploded, however this still does not call to the Score in the HUD.
I'm not sure if I missed this in the book, but I was able to fix this by adding
$HUD/MarginContainer/HBoxContainer/ScoreLabel.text = str(score)
after the
score += 10 * size
line in the function.
Greatly enjoying the book, thank you for your time.
The text was updated successfully, but these errors were encountered: