-
Drag draw sprite
I've had a search in the forums and I couldn't find an answer.
I need help with creating a draw tool which will draw shapes (rectangles, triangles, stars...) when selected. I am guessing that I just need to be able to click drag draw a sprite which contains the shapes?
There's an example of what I I'm talking about @ www.imagination3.com
If you go to Tools > Shapes you can see what I'm trying to emulate.
Someone on another forum suggested using Sprite.graphics.drawPolygon()
Does anyone have any working examples or code to work with.
Any help will be appreciated.
-
I got a reply from another forum. Might be useful for some people.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|