flip screen in Win 32 simulator


Hi all,

I have a question that seems stupid but I can not find anything on the subject… Do you know how to set the screen orientation to portrait in the win32 simulator? With IOS or android i can do it but I want to use Win32 for debugging.



Hi, you can change the screen size to achieve that.


Thanks it worked.

it is in the following code in AppDelegate.cpp:

bool AppDelegate::initInstance()
bool bRet = false;

// Initialize OpenGLView instance, that release by CCDirector when application terminate.
// The HelloWorld is designed as HVGA.
CCEGLView * pMainWnd = new CCEGLView();
CC_BREAK_IF(! pMainWnd
|| ! pMainWnd->Create(TEXT (“cocos2d : Helloworld”), 640, 960));