Overriding draw()?


#1

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.


#2

Hoping to bump this!


#3

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