Retina problem on 0.9.2

Hello all,

I’m new to iPhone development / Cocos2d and I started going through some tutorials by Ray Wenderlich making tile based games using the “Tiled” app. [[http://www.raywenderlich.com/1163/how-to-make-a-tile-based-game-with-cocos2d]]

I got everything working on non-retina displays but when I put my iPhone 5.0 simulator into retina mode it crashes on boot. I was able to push the test to my iPhone 4S but all x and y coordinates are off and the entire .tmx map is smaller in size. Any ideas as to why this is happening? I saw there were fixes in 0.9.1 for retina display issues but I was hoping I am just missing something simple.

It fails at
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, nil, @“AppDelegate”); <- SIGABRT
[pool release];
return retVal;
}

Full project attached.

Thanks for your help,

Wes


TileGame_2.zip (9669.7 KB)

Hi, Wesley, I think you paste the problem in incorrect forum.
You’re mixing cocos2d-iphone with kazmath, but not using cocos2d-x. Perhaps you can find answer from http://www.cocos2d-iphone.org/forum/

Thank you for correcting me Walzer! Still trying to figure everything out. I will post it over there. I appreciate the help.

hi wesley, i have met the same problem before and have no idea neither, can you refer me where is your new post?

Sure the http://www.iphonegamekit.com/ book explains a lot of the information which I read. Basically you have to download http://www.cocos2d-iphone.org/download and use that as your framework. Some of the template that iPhone Game Kit gives you has the retina issue handled.

Hope that helps!