Windowed mode and width and height of a window?

ReygochReygoch HRMember

I'm trying out CocosSharp a bit and can't figure out the proper way to make desktop app in windowed mode with it.

I have managed to get into window mode by using CCApplication.ToggleFullScreen method on my app instance, though I first tried mainWindow.FullScreen = false which didn't work.

Now I can't figure out how to set width and height of that window. I have tried something like this :

CCScene.SetDefaultDesignResolution(300, 600, CCSceneResolutionPolicy.Custom);

But it doesn't work.

Sign In or Register to comment.