Decided to cleanup my resolution/container policy stuff.
by the way great work guys: your doc here is clear: http://www.cocos2d-x.org/wiki/Understand_the_Resolution_Policy_in_Cocos2d-html5_222
back to my “problem”.
(i’m using latest 2.2 with all daily fixes)
I use the fullscreen api : cc.Screen (very cool)
in firefox the canvas content is filling the screen
in chrome the canvas content is centered in the screen with black borders on 4 sides
does the Resolution policy work in fullscreen ?
Thanks in advance
Attached: modified the helloHtml5 sample screenshots
with a 1000/500 view.
cc2_ratio_browser.png (628.2 KB)
cc2_ratio_fullscreen.png (1728.3 KB)