Fullscreen multi-platform desktop game

Fullscreen multi-platform desktop game
0.0 0



Anyone knows how to make desktop games in fullscreen for MAC/WIN ?

Im using the last version, 3 pre.




I see that have now a method on proj.mac that do it.

But when i go to full screen 1024x768, the sprites was stretched.

How i can solve it?

Im using:

static cocos2d::Size designResolutionSize = cocos2d::Size(1024, 768);
eglView->setDesignResolutionSize(designResolutionSize.width, designResolutionSize.height, ResolutionPolicy::SHOW_ALL);

On 1024x768 windowed mode, it is OK, but on fullscreen it stretched the image.

Thanks for any help.