Hello, I want the canvas of the game to be displayed in fullscreen, I try everything and it does not work.
-Changing the size of the canvas dynamically
-Change the display mode with:
cc.view.resizeWithBrowserSize(true); cc.view.setDesignResolutionSize(window.innerWidth, window.innerHeight, cc.ResolutionPolicy.EXACT_FIT);
In the best case it shifted the camera, and in the worst it changed nothing.
Can you give me a step by step method please ?