Game Development Community

Weird loading issue...

by Ecliptic · in iTorque 2D · 03/03/2010 (10:38 am) · 2 replies

Hey guys, sorry to bother you with such a simple question but I am trying to readjust to the new changes since the last time I worked with iTGB. For some reason I can't get my default scene or app name to load properly. Under the commonConfig.xml I have my app name and the defaultscene set to the t2d file I would like loaded but when I build the app it loads a different scene everytime.

This scene has been started from scratch, I have not written any code yet besides the datablocks. I just built multiple scene files and was going to start trying to tie them all together but I can't get my default scene to load properly. Any idea what it could be? I tried clearing all history of the build and checked all the main.cs and game.cs files but nothing indicates why it shouldn't be loading the right scene.

Also I don't know if this is related and I am not too concern about it at this point but under a, under GameName I have the name "MyGame" but the icon still shows iTorque2DGame, which I assume because I need to have the info.plist updated to a new app name. Just thought I would throw that out there incase this new version was supposed to over ride the plist.

Thanks in advanced for the help.

Dane

#1
03/03/2010 (10:44 am)
Strange, I just closed out TGB and reopened. Then I went to build XCode project and it updated my commonConfig with a different default level. When I edited it to the default level I wanted it worked this time.

So if anyone has a similar issue, that might be the work around but I still don't understand why it happened.

Thanks anyway! :)
#2
03/03/2010 (7:15 pm)
you should not toy with that xml unless you want to get into trouble.

you set these data in the preferences for example.

as for the game name: thats because its named like this in xcode. if you rename the application in the project - build target settings it will update