Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

How can I draw a dashed curved line to a x,y point in as3? Basically I'm creating a game where you have a turret, and I want the arc the turret would fire a projectile along to be displayed as a dashed/dotted line along the arc to wherever the mouse x,y is. Ideally it would use the drawing API, rather than using any bitmap manipulation.

share|improve this question

1 Answer 1

IIRC it's not natively supported. You'll have to look for a library that does this, or write your own. Writing your own would involve a bit of maths, so a 3rd party library may be easier.

share|improve this answer
    
degrafa would be such a library. –  bummzack Dec 15 '11 at 23:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.