Game Development Community

Porting old TGB game code to Torque 2D

by Retronamic · in Torque 2D Beginner · 02/08/2013 (5:25 pm) · 2 replies

Is the codebase very different between the MIT-licensed Torque 2D and TGB? Is there a guide somewhere for upgrading old TGB-powered codebases?

#1
02/08/2013 (5:50 pm)
They are very different. The scripts won't generally work as-is, but you could probably convert them. There is no guide as of now, but you will find that in general the main differences in class names is that the "t2d" has been removed from the front of them. Also, changes such as the combining of animated and static sprites into a Sprite class and the new asset system might cause some confusion at first.

It is possible to convert any project over, but it would be a fairly large task.
#2
02/08/2013 (5:57 pm)
I see, thanks for the help Richard.