Does Jsb suppot draw-primitives?But TestJavascript work well.
I am confused!
by then way: I trigger draw myself, and cc.renderContext is undefinded!
Does Jsb suppot draw-primitives?But TestJavascript work well.
I am confused!
by then way: I trigger draw myself, and cc.renderContext is undefinded!
Use CCDrawNode to draw primitives,
cc.renderContext is html5 stuff along with all canvas related API, avoid using them in JSB
Hao Wu wrote:
Use CCDrawNode to draw primitives,
>
cc.renderContext is html5 stuff along with all canvas related API, avoid using them in JSB
Can I use cc.DrawingPrimitive? cc.DrawNode has not DrawCircle.
What scene use cc.DrawingPrimitive ?