The instance toolkit contains a set of scripts to work with hierarchies of instances in the easiest and cleanest way possible. You can use the scripts and object provided to build your own GUI system, to easily save and load instances with all required variables or simply to serialize an instance using JSON and send and receive it over a network.
Features
Scripts usage
// Create and destroy instances
with(instance) itk_instance_create(x,y,obj_object); // automatically assigns to calling instance
with(instance) instance_destroy(); // destroy full instance tree
// JSON encode/decode
var json = itk_json_encode(instance);
var instance = itk_json_decode(json);
// Getting/setting properties using custom events
itk_props[?"x"] = x; // Get an instance's properties => itk_get_event
itk_props[?"y"] = y;
x = itk_props[?"x"]; // Set an instance's properties => itk_set_event
y = itk_props[?"y"];
// Executing scripts
with(instance) {
itk_script_execute(script_name,argument0,argument1[,...]);
}
Known bugs
none
Updates/new feature additions
Will be added for free on request.
Links
Questions, suggestions, remarks
Please feel free to let me know using the Contact Publisher button.
End User Licence Agreement (EULA).