Overriding draw()?


I have LayerColor that work as I want, except I want to create a border around the layer.

Can anyone help me decide if I can override draw() to just create a border in using openGL or if overriding draw() is not a good idea.


Hoping to bump this!


certainly,you can
you should have a look at this class “CCLayerColor”
it overrides draw() too.