Game Development Community

Add-Ons

by BrashMonkey · in Torque Developer Network · 10/11/2011 (2:02 pm) · 1 replies

Hello,

I'm fairly new to Torque 2D so please forgive my ignorance--I'm still a bit confused about the organization of the source code. Hopefully that will become more clear in time, but in the interim I've been tasked with creating an add-on that allows for the use of a custom data structure that represents a 2D object. I'm wondering if anyone could point me toward some resources or take some time to explain the basics of how add-on components are created. Are there hooks or callbacks that can be used to execute custom code at run-time or does the engine need to be recompiled to use an add-on? What role does torque script play in making an add-on?

Thanks,
Mike