javascript - cocos2d-js draw circle not instantly -
i wondering how draw circles (or other shapes also) not instantly.
so far tried drawcircle(args...) in ccdrawnode.js , drawcircle(args...) in cc.drawingprimitivecanvas class, , draw circles popping out instantly on screen.
what if want achieve effect circular progressive bar, completes circle based on percentage of initialization? or more generally, if want draw circle respect prolonged period? thinking there drawcircle function elapsed time argument fail find any. or have implement own?
thanks suggestions, far out of ideas.
i think have implement own. think can achieve update circle drawing on each time update()
function called.
Comments
Post a Comment