What's the purpose of levelData.xml ?
by John Kanalakis · in Torque X 3D · 12/03/2006 (11:10 pm) · 3 replies
Every C# game project template creates a levelData.xml file and loads it within the BeginRun() method. It looks like its a default level (that only displays the GG logo). TGBX creates .txscene files (not .xml) and I end up changing the BeginRun() method to look like this:
What's the purpose of levelData.xml? If it's just a default level, maybe the Release version of TorqueX should rename it to levelData.txscene.
SceneLoader.Load(@"data\levels\level1.txscene");
What's the purpose of levelData.xml? If it's just a default level, maybe the Release version of TorqueX should rename it to levelData.txscene.
About the author
John Kanalakis is the owner of EnvyGames, an independent game development studio in Silicon Valley that produces games and tools for Xbox 360, Windows, and the Web.
#2
12/04/2006 (8:29 am)
You guys are right. We named these files .xml at first because, well, they were xml. But it was soon decided that to set up a file association with the editor we should have a unique file extension. But there are a couple .xml files leftover.
#3
12/04/2006 (8:36 am)
Yes, those files should all be renamed to .txscene to avoid confusion.
Torque Owner Pauliver