Hi guys,
I've been wondering how to do a nice and efficient pie timer, and I found this example here, done with Javascript. Pie Timer
Is this doable with events in C2, or do we need to create a plugin using the codes in the example?
Develop games in your browser. Powerful, performant & highly capable.
Look into masking, this is definitely doable with just a couple sprites too.
You could possibly do it with the canvas plugin too.
Hey sqiddster!
Thanks for the pointers! Canvas plugin is exactly what I wanted, though I didn't manage to get the effect to 100%. I am sure there's a better way though. Do you have an example for your technique using sprites and masking, sqiddster?
For those interested, here's a test along with the capx
You will need rojohound's canvas plugin and codemastermike's timemanager plugin.
Check out kittiewan's example here:
http://www.scirra.com/forum/analog-watch-with-color_topic51614.html
ramones: Wow! I can't thank you enough! That's definitely much better! Thanks!!
Sorry, I would have provided you with an example but it looks like I'm too late! I wish I could subscribe to topics here...