I have a script that is attached to a single node in multiple scenes, that appears to cause a slow down on the browser (html5) build of the game.
As this script currently initialises during run time, I was wondering if it was possible in godot to make this occur during build time which would improve overall performance and if so how I could implement it.
The initialise function of this script is largely static, which it only being different on different scenes due to what is within the node. The node itself will never have it's children modified via script.
I've attempted to search regarding this, but haven't found anything overly helpful for me.