Posted April 17, 2022 by MichelV
Hello all,
So I've just published 0.3 to make EDI_THOR a bit more powerfull but a lot easier to use.
0.3 release brings two main changes:
#1 - you can instruct EDI_THOR to scan an instance (or a struct, array, list, map) to display everything it finds in there. Much quicker to setup.
#2 - auto-detection of the types variables anytime: when inspecting instance's variables or when diving in structs, arrays, ds_lists, ds_maps. Of course it is not perfect: script, sprite, ds index are considered by GMS2 as real, but it will save you 80% of the configuration.
There are two modes to decide what happens when EDI_THOR find a nested struct or array (toogled with the macro EDI_THOR_AUTO_MODE). True to recursively dive in the data. False to display a simple string (which will not allow you to update nested variables)
I have added pre-set configuration for you to add in once call all non-built-in variables or on the contrary all built-in... you can add both of course. Also added basic experiment with method, to allow you to call instance's method from the console
Note that I have changed the order of parameters when declaring flat variable or container (making auto detect and read-write the default options).
Have fun !!
M.