Change the black color of the rectangle bars out of Opengl Viewport / Multi-resolution support

Hello!,

I’ am developing a multi-resolution project from ios and android, for this i’ve read the Multi-resolution support (since cocos2d-2.0-x-2.0.4) document. For some screen resolutions, my game will show two rectangle bars out of Opengl Viewport, the document say “so you can’t put any game elements onto it”. But, here my question, is posible change the color black of the rectangle bars to other color?.

Thank!.

I think it is possible, but we haven’t implemented it now.
You can modify the codes in CCDirector to clear the background color before rendering a new scene.

Thank!,I will try to make the modification to the CCDirector class.

Hi,

Is it still the same case or now there is any API. I also need to change black color to something else outside the viewport.

Thanks