Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | SamMC35 | |
Old Version | Published before Godot 3 was released. |
I am modifying the pong example given in the Godot Documentation. But I can’t add a score system.
This is what I’m doing. The following code is in the game.gd
#When adding score
get_node("Score_Label").set_text(str(opponent_score))
The result is :
str_text is a null instance
Please help.