Spider Experiment

Hey everyone,

Time for me to post another one of my recent experiments!!! :beam:

fluid_0ne noticed in a thread that it is one of my desires to learn AI motion in Flash (things like moving bugs and whatnot…hehe), he was nice enough to PM me with a link to a tutorial on something like it that I wanted to do.

I was ecstatic, and I thank him very much for that. The tutorial itself was hard to follow kind of because it doesn’t go in depth what to do so I kept doing the wrong thing. Ok ok, I will stop babbling, the tutorial can be found here…

http://www.supersamuraiflash.com/chapter_one.pdf

Alright, now MY version is a bit different. It is different because the tutorial above is for Flash 5, and I decided to take that tutorial, and convert it to MX. So my experiment was to create the entire spider out of AS, and use no movie clips, just the drawing API and functions. I think I did it pretty successfully. The only things on the stage are the text and the toggle button.

Speaking of toggle button, to use this you can just go to the link and watch, or you can click on the little blue square toggle button to toggle the random motion on and off. With the random motion off you can drag the spider anywhere on the stage that you want. (please note you can still drag the spider when random motion is on, but he keeps trying to run to the same point ;))

I hope you enjoy it :slight_smile:

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

Very nice! fps is kinda low for me but nice effect! One day I will be able to make such things on my own! mwahahahhaaaa

That’s cool, good job lost. =)

What a cool effect - great work Lost!

I think that is absolutely fantastic lost…

I have no idea what I would use that for, but it is way cool…

I wish I had your aptitude for code. I can learn it, but it seems to exit my head as soon as I use it almost…

Rev

good work. Dork!!! :geek:

lol keep it up man. Pretty soon Pom will be asking you for answers…

That looks mad good lost.
Great work:beam:

wow very nice!

ah come on lost, you make my expirements look like crap. But it looks really good. :slight_smile:

=)

Thanks everyone, glad you all liked it.

Syko: Its not the FPS thats the problem, I set the speed of the easing to be slow because I wanted it to go slow. I originally had it at a higher FPS so the slow speed wasn’t as slow as it is now, I forgot to change the speed when I lowered the FPS. I am not sure if I am going to change it back or not, I kinda like it, I am still thinking about that.

Rev: I have no idea what I would use it for either. I just really like AI motion and I really want to get into it, I think this is a pretty good start. My friend said this would make a great draggable menu (if I removed the random motion), where the legs are the buttons. Interesting idea, but seems tacky and annoying IMO.

Jubba: Yes… I am a dork :geek: . And as for Pom asking me for answers… YEAH RIGHT!!! , but thanks for the support anyway :wink:

Ok, I made a few changes…

  1. Few smaller code changes (although my code is still un-optimized)

  2. Sped up the FPS (liked it better)

  3. “Plastic Surgery” done on the main body (added blue circle inside… still with the drawing API)

  4. Suction cups for feet (hehe Phil ;))

Same link as the first post :slight_smile:

THAT LOOKS SICK! very very nice now!

Hehe, thanks Phil. As for a blinking eye effect. I don’t think I am ready to tackle that with the drawing API in AS. It is hard enough to create a circle.

BTW: Thanks to Senocular for the circle code!!! I got it from him while we were building the line tool in Flash a while back. This circle code ROCKS!

*Originally posted by Jubba *
**Pretty soon Pom will be asking you for answers… **
I guess so… :sure:

Anyway, that’s very nice, Lost. I had a look at that tutorial when I was in Singapore, and I also found it confusing sometimes. I’m glad you could work it out. There’s something I find strange though: why is it that the legs follow the head and not the other way around? :slight_smile:

Ilyas: You know I thought the same exact thing. I honestly have no clue why the legs follow the body instead of the other way around, but thats the way the tutorial works. The legs are positioned randomly according to a proximity around the body area, and if the body gets out of that proximity area the legs get repositioned.

I suppose it would be harder to move all 8 legs to random new positions and then move the body to an area there.

the link didn’t work for me just now Lost, and I wanna know what everybody else saw!

doesn’t wanna miss out


cries

Link works fine for me Aislin :-\

it works for me to.

hey lost, you should add the song “the itsey bitsey spider”

lol

aw man… Now I need to fix something. I hate figuring out IE.
kicks microsoft

looks cool lost, very nice! =)

Not sure where I’ve seen something similar, but still, you rock.
Nice work as usual.