Game Development Community

[T2Di 1.3 - Resolved] Project settings not working...

by Daniel Hopkins · in iTorque 2D · 01/06/2010 (8:40 pm) · 4 replies

I loaded iTGB 1.3 on my Mac, opened the test project, and decided to test the new project game settings GUI by disabling the status bar. Upon compiling and loading the game on my iTouch, the status bar was still there. I then decided to open the "commonConfig.xml" and "defaultPrefs.cs" file to see if anything was changed--nothing was. I then selected different status bar types and enabled/disabled multitouch and the status bar multiple times, checking those files for changes each time--changes were never made.

I certainly don't mind manually editing these files, so it's not that big of a deal, but it would be neat if I could get this working.

Any help would be greatly appreciated!

Thanks,
Daniel

#1
01/06/2010 (8:50 pm)
The checkbox is exactly vice versa as it seems. It should read "hidden", so if you enable it, the bar is hidden
#2
01/06/2010 (9:30 pm)
@Marc: I am aware of that problem, but my problem is a bit different. None of the projects settings are making changes to the files. I've compiled the project with the statues bar checkbox enabled as well as disabled--nothing changes in the files and the statues bar remains visible.
#3
01/07/2010 (7:13 pm)
Hey Daniel thanks,

It has been noted and we will look into it.

EDIT :

Fixed in the repo. Next download update will include it.

inside of function ProjectiPhoneSettings::setOptions()

Add the following (underneath the rest) :

_saveGameConfigurationData( expandFileName("^project/common/commonConfig.xml") );

#4
01/27/2010 (9:04 pm)
Will this also fix the Camera Size settings which don't hold their changes?

This is particularly annoying as the defaults are wrong for iPhone development. Setting of 100 x 75 is a 4:3 ratio that is appropriate for old computers. The iPhone is a 3:2 widescreen ratio (480x320) so the camera setting should also be in this ratio. We have settled on 75x50 but 150x100 would also work.

Maybe the defaults for the program could be changed? Or am I wrong here?

EDIT - I looked at this further and it is saving the camera size correctly, but it doesn't honor that on the default load of the scene when you open the project again. Forcing it to manually load the level (scene) loads the correct camera settings. Strange, yes?