Torque 2D MIT (Live Taml)
by Melv May · 01/26/2013 (2:23 pm) · 21 comments
This is the final blog of a series of blogs this weekend:
Blog 1
Blog 2
Blog 3
TruckToy on an iPad 2
Here I wanted to demonstrate some of the structure of Taml and how it relates to real objects in Torque because of its importance to the engine as a whole.
In this example I show how the Taml structure relates to a Scene and SceneObject derived types. As I'm typing Taml by hand on the left you'll see the results "live" on the right. You'll have to forgive the choppy view on the right; I can assure you it's super-smooth and I've shown the FPS overlay to highlight that it's rendering in the thousands of FPS but it's the capture software that grabs at around 30 FPS and it spits out a lot of data to the disk affecting performance.
Hopefully though you'll find this interesting and will give you more of an idea of how the XML format of Taml is structured and how it relates to objects you'll use. Recall that there's also a binary mode as well.
Have a good weekend!
Blog 1
Blog 2
Blog 3
TruckToy on an iPad 2
Here I wanted to demonstrate some of the structure of Taml and how it relates to real objects in Torque because of its importance to the engine as a whole.
In this example I show how the Taml structure relates to a Scene and SceneObject derived types. As I'm typing Taml by hand on the left you'll see the results "live" on the right. You'll have to forgive the choppy view on the right; I can assure you it's super-smooth and I've shown the FPS overlay to highlight that it's rendering in the thousands of FPS but it's the capture software that grabs at around 30 FPS and it spits out a lot of data to the disk affecting performance.
Hopefully though you'll find this interesting and will give you more of an idea of how the XML format of Taml is structured and how it relates to objects you'll use. Recall that there's also a binary mode as well.
Have a good weekend!
About the author

Associate Charlie Patterson
Default Studio Name
I'm curious how the "live" part of this is done. Does the asset manager automatically see changed files?
I can see that it must at least be able to reload and reset a scene while running. So does it only change elements that have been updated in the file?