Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | toyson |
HELP ME SOLVE THIS PLEASE
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | toyson |
HELP ME SOLVE THIS PLEASE
Reply From: | shmellyorc |
your “game_over_anim” path to anim is completely wrong. If your “game.gd” script is the same area that is your game scene, you don’t need to ho through the whole tree to find it.
change “get_tree().get_root()…” to get_node(“Game over anim”)
If you want to still use get_tree()… you need to change it to: get_tree().get_root().get_node(“game/Game Over anim”)