![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | JulioYagami |
What does bag mean in the ToF code?
![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | JulioYagami |
What does bag mean in the ToF code?
![]() |
Reply From: | wombatstampede |
“bag” seems to be something like Doras backpack.
It is a container which contains preloaded scripts which’s reference is passed on.
See here:
You could also call it shared global “variables”.
Do a search for “bag in:file” (-> current repository) for more occurances of “bag”.
And as for the root
var?
JulioYagami | 2020-01-06 11:58
Seems to be set here:
https://github.com/w84death/Tanks-of-Freedom/blob/27e1e0314317f53082a46a1b4622f23d8ba8be07/scripts/game_logic.gd
wombatstampede | 2020-01-06 12:21