Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17105

Brush Layer migrating from V2 to V4

$
0
0

Hello,
I am migrating an old code from v2 to v4.
The code includes some free drawing brush using “draw” function on a LayerColor.

I noticed that the draw function used in v2 cannot be used anymore since it overrides a final function Node::draw.

Also, I cannot set ccPointSize or ccColor4B anymore…
How can I change these functions for cocos2d-x v4.0?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 17105

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>