This was a quick piece I banged out last night. It started out a bit different than what you see here, but I’m fairly satisfied with the result.
I also ported over a DrawingManager class from AS2 to get the arc drawing done. It neatly packages up a bunch of drawing utilities and can be used in place of making calls on the graphic object of a sprite directly. Once I’ve had a chance to test it more thoroughly, I’ll release it here.
jade says:
it reminds me of rainbow road for super mario kart.
pretty neat.
felix says:
cool. reminds me of a 70’s kid’s TV show animation.
Noel says:
Thanks.
I’ve noticed that this piece has issues with the beta of 9,0,60,184. So if anyone is viewing with that plugin, you’ll have some transparency issues.
A. says:
hi, thats a cool effect, i tried ages to draw animated arcs but always got them jagged, anyway you can share it??
thanks and keep those cool stuff going!
A.
Noel says:
@A. - This piece doesn’t actually use the drawing API.
I can’t remember the exact details, but if I recall correctly there’s basically a 45 degree corner shape that’s rotated into the proper position and then an animated mask which cuts out a small slice on every frame. That slice is then painted into a bitmap.
A. says:
cool, thanks!