# Spider Experiment

**URL:** <https://forum.kirupa.com/t/spider-experiment/16959>\
**Category:** Uncategorized\
**Created:** [March 30, 2003, 7:18pm UTC](https://forum.kirupa.com/t/spider-experiment/16959 "2003-03-30T19:18:57Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![lostinbeta](https://avatars.discourse-cdn.com/v4/letter/l/db5fbb/32.png) [@lostinbeta](https://forum.kirupa.com/u/lostinbeta)\
**Post date:** [March 30, 2003, 7:18pm UTC](https://forum.kirupa.com/t/spider-experiment/16959/1 "2003-03-30T19:18:57Z")

</div>

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](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 🙂

[http://www.lostinbeta.com/experimental/spider3.html](http://www.lostinbeta.com/experimental/spider3.html)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 30, 2003, 8:21pm UTC](https://forum.kirupa.com/t/spider-experiment/16959/2 "2003-03-30T20:21:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 30, 2003, 8:43pm UTC](https://forum.kirupa.com/t/spider-experiment/16959/3 "2003-03-30T20:43:14Z")

</div>

That’s cool, good job lost. =)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 30, 2003, 8:44pm UTC](https://forum.kirupa.com/t/spider-experiment/16959/4 "2003-03-30T20:44:24Z")

</div>

What a cool effect - great work Lost!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 30, 2003, 8:45pm UTC](https://forum.kirupa.com/t/spider-experiment/16959/5 "2003-03-30T20:45:21Z")

</div>

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 ![](http://www.aulman.com/rev.gif)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 30, 2003, 8:46pm UTC](https://forum.kirupa.com/t/spider-experiment/16959/6 "2003-03-30T20:46:35Z")

</div>

good work. Dork!!! :geek:

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 30, 2003, 8:49pm UTC](https://forum.kirupa.com/t/spider-experiment/16959/7 "2003-03-30T20:49:54Z")

</div>

That looks mad good lost.  
Great work:beam:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 30, 2003, 8:50pm UTC](https://forum.kirupa.com/t/spider-experiment/16959/8 "2003-03-30T20:50:59Z")

</div>

wow very nice!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 30, 2003, 10:38pm UTC](https://forum.kirupa.com/t/spider-experiment/16959/9 "2003-03-30T22:38:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 30, 2003, 10:39pm UTC](https://forum.kirupa.com/t/spider-experiment/16959/10 "2003-03-30T22:39:47Z")

</div>

=)

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 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 30, 2003, 11:11pm UTC](https://forum.kirupa.com/t/spider-experiment/16959/11 "2003-03-30T23:11:48Z")

</div>

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 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 30, 2003, 11:16pm UTC](https://forum.kirupa.com/t/spider-experiment/16959/12 "2003-03-30T23:16:43Z")

</div>

THAT LOOKS SICK! very very nice now!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 30, 2003, 11:18pm UTC](https://forum.kirupa.com/t/spider-experiment/16959/13 "2003-03-30T23:18:35Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 31, 2003, 12:02am UTC](https://forum.kirupa.com/t/spider-experiment/16959/14 "2003-03-31T00:02:02Z")

</div>

> \*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? 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 31, 2003, 2:40am UTC](https://forum.kirupa.com/t/spider-experiment/16959/15 "2003-03-31T02:40:32Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 31, 2003, 2:45am UTC](https://forum.kirupa.com/t/spider-experiment/16959/16 "2003-03-31T02:45:30Z")

</div>

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

_doesn’t wanna miss out_

…  
_cries_

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 31, 2003, 2:52am UTC](https://forum.kirupa.com/t/spider-experiment/16959/17 "2003-03-31T02:52:24Z")

</div>

Link works fine for me Aislin :-\

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 31, 2003, 2:56am UTC](https://forum.kirupa.com/t/spider-experiment/16959/18 "2003-03-31T02:56:06Z")

</div>

it works for me to.

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

lol

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 31, 2003, 2:56am UTC](https://forum.kirupa.com/t/spider-experiment/16959/19 "2003-03-31T02:56:23Z")

</div>

aw man… Now I need to fix something. I hate figuring out IE.  
_kicks microsoft_

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 31, 2003, 3:15am UTC](https://forum.kirupa.com/t/spider-experiment/16959/20 "2003-03-31T03:15:08Z")

</div>

looks cool lost, very nice! =)

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

[Next page](https://forum.kirupa.com/t/spider-experiment/16959.md?page=2)
