DaveTheCoder
I think I understand that Tree.gd can't get access to my Calendar because it isn't a Node in the same scene, right? However, I don't understand how I can make the whole game run on the exact same time and date system if I plop the Calendar into every scene that will use it. Wouldn't the date and time inevitably run out of sync if every object calculates it for themself?
Or, would instancing the Calendar node as a child scene into my Tree scene make it run the calculations once, then apply them all the same to every object that has it instanced?
Not sure if I said it on this thread but I'm super new to programming and (noticeably) don't have intimate knowledge yet of what exactly goes on.
For anyone curious, here was the output:
calendar=[Object:null]
At: res://Tree.gd:8:_ready()
scene tree:
At: res://Tree.gd:9:_ready()
.
ShadowSprite
SeasonalTreeSpritesStumps
SeasonalTreeSprites
CollisionShape2D