I want to make a full screen window. I only know just how to change a window resolution in main.cpp, but I don’t know how to make it as full screen. Please tell me.
Thanks in advance.
Its easy in 3.0 beta.
In the main.cpp use the initWithFullScreen() method.
I have tested on Linux.
if you’re using previous versions of Cocos2D-X(2.1, 2.2):
here is some useful code also(in chinese), you can extract logic from code:
Tested in VS2013 on mighty Win32.
Hope it helps.
Thanks guys. So, in 2.1 and 2.2 there is no automatically set window to full screen right?, but there is it in 3.0.
@aratnon: You’re welcome! To my knowledge there is no automatic for this in 2.1, 2.2.
yes this is a new feature in 3.0
this feature is not implement in android.