when i was using the old version of cocos2d-x like 1.x or 2.0.2, if i press “Esc”, the program will terminate like “alt+F4” being pressed. but on cocos2d-x 2.0.3, i find Esc doesn’t work any more, and that’s a bit inconvenient, how can i enable that Esc trick again?
Are you sure that pressing ‘ESC’ to make application exit works on 2.0.2?
I don’t know who comments the line below:
else if (VK_ESCAPE == wParam)
// ESC input
You can enable it just by uncommentting it in cocos2dx/platform/win32/CCEGLView.cpp.
yeah that works!
many thx! James Chen