Work in progress drawingAPI experiment

Hey hey, it’s me again… yep.

I know I never finished my last lab submission (still thinking about things to do without although Im thinking about just leaving it), but I am working on this new thing now.

Let me know what you think…

It is 100% AS, nothing on the stage or in the library…

http://www.lostinbeta.com/experimental/drawingAPI.html

If I finish it (yep, if…) would it be a good lab submission?

Wow - it is pretty nifty. It would make a great lab submission :slight_smile:

Cool, thanks :slight_smile: =)

Im planning on adding an options panel for line thickness, line color, and fill color.

As well as possibly square and circle tools :slight_smile:

It will be no big art program or anything spectacular, just my own experimentation with the drawing API.

That’s really (how do you say it?) ‘pur-dey’. :beam:

I really must learn more about that API. :slight_smile: I think it would be a great addition to the lab. :slight_smile:

Hehe… purdy :blush:

The drawing API is great, I love it.

I did this with 100% as as well…

http://www.lostinbeta.com/experimental/spider3.html

The only objects on the stage or in the library are the title area, button, and textbox. The spider itself is drawn and animated via AS.

I’m still learning American. :slight_smile:

I’ve never really used it - everything I’ve ever had to make in Flash has been of the worryingly graphics intensive variety. And more recently, of the Churchill Dog variety. :slight_smile:

I’d certainly like to get more into it though, see what it can do. :slight_smile:

Hehe… that silly Churchill Dog and his bobbling head :stuck_out_tongue:

Pass me the gun, and back out of Top Secret slowly… :evil:

Uh oh…

::backs out of Top Secret slowly with head bobbling like Churchill Dog::

Must… Kill… Dog…

Head nodding… Too much… For one women… To take… :bad:

I see you just got double whammied with the dog :stuck_out_tongue:

Both this thread and the “Kirupa…” thread bring it up!

I guess thats worse than because shot, it’s like… suffering.

Once you have had to put up with this dog from 9 - 5 every day for a year, then thou shalt know the true meaning of the word “suffering”. :stuck_out_tongue:

I cannot escape.

here’s a challenge for ya, shane: how about you make the line tool snap-able. like if you go near an existing line end, it’ll snap to it.

*Originally posted by lostinbeta *
**Hehe… purdy :blush:

The drawing API is great, I love it.

I did this with 100% as as well…

http://www.lostinbeta.com/experimental/spider3.html

The only objects on the stage or in the library are the title area, button, and textbox. The spider itself is drawn and animated via AS. **
…and you call yourself a failed scripter. i’m upset with you lost.

*Originally posted by thoriphes *
**…and you call yourself a failed scripter. i’m upset with you lost. **

:nods:

*Originally posted by thoriphes *
**here’s a challenge for ya, shane: how about you make the line tool snap-able. like if you go near an existing line end, it’ll snap to it. **

Hrmm, that is a really good idea, but I think that is an extra I would have to work on after I finish the “first draft”, because right now I just don’t know how to incorporate that into my script.

As for calling myself a failed scripter, if you saw the coding used to do this, you would probably laugh yourself into a coma, it is so horrid. It’s messy, unorganized, unoptimized, and just really bad…lol. I suppose I am more worried about getting it to work first before I try and optimize it any.

we (coders) all went down that road. you learn from it. and as a practice, i almost never optimize while i code at the same time.
also, to get you started on the snap thing, try putting all the points (ends of the line) in an array. it’s quite a hefty process of search and snap, but it’s the best method i can think of right now. ever work with proximity?

That is a good idea, I might try that out when I get this thing up and running. Still going to leave it as an “optional extra” though.

And if by proximity you mean finding the distance between one object and another, then yes, I have worked with that :slight_smile:

it’s completely inefficient in flash, though. i hate that.

Yeah, I think flash is inefficient in a few things.

Perhaps I could just attach little invisible end points to each clip and use a hitTest where if they hit eachother it snaps :stuck_out_tongue:

That would of course be inefficient too though.