Game Development Community

Updating TX 1.0.5 to TX 2.0 Problems

by Andre Clark · in Torque X 2D · 09/10/2008 (8:04 pm) · 2 replies

Hello All,

I've been working on a 2D platformer and I started out using TX 1.0.5, however, I wanted to update to 2.0 to take advantage of the new features. In the process of doing so, the TXB 2.0 wouldn't load any of my old scenes, so I used the conversion tool and manually changed the version number to "2.0" in the scene's xml file.

So after I did this, I was able to load my old level into TXB 2.0, but now, my code breaks when I try to load the scene, throwing the exception, "Cannot load this level version: 2.0".

Am I forgetting to include some dependency somewhere?

Thank you for any insight.

#1
09/10/2008 (11:18 pm)
Ok, so scavenging through the forums I found an updated version of the ConvertScene tool, and this helped me simply convert my old 1.0 scenes and load them into TXB 2.0.

However, now when I try to run my code I get exceptions thrown that tell me that all of my materials cannot be found, but when I open my project file in TXB I see all of the materials and animations right there.

Do I have to convert the TXB project file somehow to be compatible with 2.0, or do I have to recreate the TXB project completely? (importing all of my images and setting up all of the animation data all over again)

Thanks in advance.
#2
09/11/2008 (8:45 pm)
No, I think that you and Diego have the same problem, see this link... If you can load your scene into TXB 2.0, you're finished with that part of the conversion. now it's just cleaning up the related to scenegraph changes. For now, verify that you have all the expected image files in your Content\images folder.

John K.