CCDrawNode Node that draws dots, segments and polygons. Faster than the “drawing primitives” since they it draws everything in one single batch.
Getting Started
Modding Tutorials
Geode Mods
Handbook
An Introduction to GD Modding (using Geode)
Since v2.1
CCDrawNode Node that draws dots, segments and polygons. Faster than the “drawing primitives” since they it draws everything in one single batch.
draw a polygon with a fill color and line color
when this funciton bound to js,the input params are changed
js:var drawPolygon(var verts, var fillColor,var borderWidth,var borderColor)
Clear the geometry in the node’s buffer.
when this function bound to js ,the input param is change
js:var setBlendFunc(var src,var dst)
listen the event that coming to foreground on Android