I can’t even find CCProgressTimer.js inside CocosCreator directory.
Also, I can’t find CCClippingNode.js(which is listed in preserved nodes list on Cocos Creator docs). But there is still CCSprite.js file presented. What am I missed up?
I know about cc.ProgressBar and I’m already using it without any sort of problems.
But I need cc.ProgressTimer to create a sort of radial progress bar like this:
There are a lot of examples how to achieve it using cc.ProgressTimer, but they still does not work for me in Cocos Creator.
There is no cc.ProgressTimer in Creator, but what you show here can be achieved with cc.ProgressBar - you just need to change bar sprite’s fillType property to radial
Now I’m trying to to do what I want with cc.ProgressBar as you said.
I set RADIAL fill type to both ProgressBar’s sprite and to it’s inner node, called “bar” by default.
OMG, that was sooo simple… After changing type to FILLED in editor - all became clear. Problem is that by default FILLED leads to empty sprite which shows nothing and that scared me a bit, I even did not look at additional settings offered by FILLED mode and tried to do all by my own from code.