Hi in the log you will see that the player is set at the middle of the screen and yet the tilemap/camera is below the player.
pls help what am I doing wrong.
thx in advance
Screen Shot 2013-07-03 at 5.47.30 AM.png (1001.4 KB)
Hi in the log you will see that the player is set at the middle of the screen and yet the tilemap/camera is below the player.
pls help what am I doing wrong.
thx in advance
Screen Shot 2013-07-03 at 5.47.30 AM.png (1001.4 KB)
bump*
after 2 hours of hit and trial changed CCSize designSize = CCSize(480, 320); from 320,480 and now it is working.
Now for multiresolution, I just would have to check for screen height instead of width right?
Also, I think I should leave pDirector->setContentScaleFactor(screenSize.height/designSize.height); as it is?