this could be a misunderstanding on my part, but it seems like to write a GML extension you need to stick all your functions into a single .gml file (or potentially a few .gml files). doing this manually is going to be a pain, does a tool exist to do this automatically? is there some in-built mechanism in GM that does this for us?
#Is there a quick tool to convert scripts into an extension?
1 messages · Page 1 of 1 (latest)
yeah, seems like this, and I believe that using command line it should be possible to merge such file, but that would require some short script (depending on which platform you want to do this)
for me it looks like some GMS1.4 legacy
however, because it still uses argument0 etc. it could be very hard to auto-convert it from GML2.3+
groan
been thinking about distributing some libraries as extensions to avoid ctrl+shift+F results getting cluttered
might have to wait until prefabs
but then ... what's the macro situation going to be
#macro __you_wont_guess_my_extension_prefix_for_macros_SOME_SETTING true
pretty easy to write a bash or python or whatever config script to automate all that i'm certain