I’m trying to have the cocos canvas resize with the browser size. (PC/Chrome/Firefox)
Like for example have the canvas have an auto width of 80% of the browser size.
When I expand the browser size the canvas/content does not size up.
When I shrink the browser size the canvas/content does size down.
(note the for the sizing to even work the page must go to fullscreen (just press the button in the image to go fullscreen and back).
It is not clear to me how that is supposed to work or even if it is supposed to work.
Attached is a simple sample.
HelloHTML5World_NICO_FULLSCREEN.rar.zip (530.3 KB)