Sprites look blue using cocos 2d-iphone, but only in simulator

I am running this sample code which is located here:

http://monoclestudios.com/cocos2d_whitepaper.html

using cocos 2d-iphone 0.7.2 and the sprites are drawn in blue. But this only happens on the simulator. Everything looks fine on the device itself.

Does anyone else have this problem?

+1


a source to share


2 answers


Unfortunately, the simulator is not identical to the physical iPhone. I didn't encounter this specific error, but I did have problems with sounds. Wouldn't play simulator but worked great on device. If you are having problems with the simulator, I would suggest ignoring the error and moving forward. The simulator is just for convenience.



Checkout # cocos2d-iphone on freenode if you have more questions like this.

+1


a source


Do not test OpenGL ES on a simulator . It is not the same at all. The simulator looks a little different. Since cocos2d-iPhone is heavily OpenGL ES based, your only choice is to test it on the device!



+2


a source







All Articles