kburkhart84
Firehammer Games
I wasn't sure of the best way to name this topic, so if you have an idea, I can change it(I think I can anyway).
In older versions before studio, you could have these things called extensions. They allowed you to actually run code just by having the extension in your project. In one case I was using that feature to automatically initialize a system and control objects for it instead of the user having to call a function to do that. Now, I don't know of any way to do that since GMS1/2. So anytime I have something like that, I'm forcing you to call an initialize function, which then creates the needed instances, etc... Of course you can put that function call in some controller object, etc... and it isn't that hard...but I liked it when you did not actually have to do that.
Is there anything that compares to that now? If not, by chance, since with 2.3 scripts are basically going to be code that runs right away, would that allow for something like creating an instance automatically instead of having to actually add a function call? Is there something that I'm simply missing that would make my dream possible? I'm basically wanting to have an instance of my controller object be created upon starting the game simply because the package is in the resource tree(which is how it was with the old style extensions).
In older versions before studio, you could have these things called extensions. They allowed you to actually run code just by having the extension in your project. In one case I was using that feature to automatically initialize a system and control objects for it instead of the user having to call a function to do that. Now, I don't know of any way to do that since GMS1/2. So anytime I have something like that, I'm forcing you to call an initialize function, which then creates the needed instances, etc... Of course you can put that function call in some controller object, etc... and it isn't that hard...but I liked it when you did not actually have to do that.
Is there anything that compares to that now? If not, by chance, since with 2.3 scripts are basically going to be code that runs right away, would that allow for something like creating an instance automatically instead of having to actually add a function call? Is there something that I'm simply missing that would make my dream possible? I'm basically wanting to have an instance of my controller object be created upon starting the game simply because the package is in the resource tree(which is how it was with the old style extensions).