Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | imp4ct |
Sorry for probably being dumb, but i cant figure this out. I tried many times, and I still get simmilar errors with “get_node(Node not found)…”.
I tried function below to check the values of changing variable (deleted most of old code).
func _process(_delta) -> void:
print(maxval)
I changed value by using either function _on_plus_pressed() or _on_minus_pressed and it started printing me two values:
- defualt value(8)
- value after changing it
Hmmm… I don’t see anything obviously wrong in your project setup - though, I’m confident there IS something wrong :).
Is the project available somewhere for inspection?
jgodfrey | 2022-08-11 20:08
Any chance you can press the “>” in the debug window and reupload the pic?
dacess123 | 2022-08-12 11:38
Is your Controls.gd an autoload by any chance? If so, select your .tscn file as the autoload instead.
wyvern | 2022-08-13 15:16