Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Community Boards > Just for Kicks Challenges

Reply
 
Thread Tools Rate Thread Display Modes
Old 08-05-2004, 06:10 PM   #1
pom
Allez les Bleus!!!
 
pom's Avatar
 
Join Date: Oct 2002
Location: Paname
Posts: 2,495
Default Spiderman

Hey,

I've seen Spiderman 2 recently, and I couldn't help wondering how they did their spiderwebs at the beginning of the movie. So if you guys want to try to make it in Flash...

pom
pom is offline   Reply With Quote
Old 08-10-2004, 12:19 PM   #2
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: EGYPT
Posts: 12,439
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

got any commercial for it?? I won't see it soon
__________________
â€* GOD Is Near â€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
farafiro is offline   Reply With Quote
Old 08-15-2004, 11:58 AM   #3
pom
Allez les Bleus!!!
 
pom's Avatar
 
Join Date: Oct 2002
Location: Paname
Posts: 2,495
Default

Glad to see so many people are interested

Faffy >> Aren't there spiders in Egypt?
pom is offline   Reply With Quote
Old 08-15-2004, 12:14 PM   #4
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: EGYPT
Posts: 12,439
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

lol, nop
we eat them as they show up
__________________
â€* GOD Is Near â€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
farafiro is offline   Reply With Quote
Old 08-16-2004, 08:11 PM   #5
Jetbbal
Master of ... nevermind
 
Jetbbal's Avatar
 
Join Date: Feb 2004
Location: Michigan
Posts: 76
Default

http://spiderman.sonypictures.com/
Jetbbal is offline   Reply With Quote
Old 08-17-2004, 06:31 AM   #6
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: EGYPT
Posts: 12,439
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

Thx Jetbbal, but I didn't find any " spiderwebs" in there
__________________
â€* GOD Is Near â€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
farafiro is offline   Reply With Quote
Old 08-17-2004, 10:39 PM   #7
Jetbbal
Master of ... nevermind
 
Jetbbal's Avatar
 
Join Date: Feb 2004
Location: Michigan
Posts: 76
Default

sry
thought they might have one in the trailers for the movie
Jetbbal is offline   Reply With Quote
Old 08-18-2004, 06:44 AM   #8
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: EGYPT
Posts: 12,439
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

nm mate
seems that pom went to sleep again
__________________
â€* GOD Is Near â€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
farafiro is offline   Reply With Quote
Old 08-25-2004, 02:17 PM   #9
pom
Allez les Bleus!!!
 
pom's Avatar
 
Join Date: Oct 2002
Location: Paname
Posts: 2,495
Default

Sure did I was on vacation. And I actually have trouble doing those darn spider webs :/
pom is offline   Reply With Quote
Old 08-26-2004, 09:10 AM   #10
Laguana
Well known nobody
 
Join Date: Jul 2004
Location: Australia
Posts: 818
Default *assorted fanfare*

How's this for a basic spider web?

ActionScript Code:
_root.createEmptyMovieClip("pen", 1) _root.pen.moveTo(200,200) _root.pen.lineStyle(5) _root.xes = new Array() _root.yes = new Array() for ( i = 0; i < 7; i ++) {   point = ((2 *Math.PI) /8) * i + (Math.random() * ((2 * Math.PI) /7)   x = Math.cos(point) * 100   _root.xes[i] = x   y = Math.sin(point) * 100   _root.yes[i] = y   _root.pen.lineTo(200 + x, 200 + y)   _root.pen.moveTo(200, 200) } _root.pen.lineStyle(0) for (i = 0; i < 50; i ++) {   strand = i % 7   x = _root.xes[strand] * i/50   y = _root.yes[strand] * i/50   _root.pen.lineTo(200 + x, 200 + i) }

I know it's not the most asthetically pleasing thing, and it's probably inefficient, but it's my first go at these challanges

You can change the numbers to get different styles of web, such as having the first loop going until i < 19, changing the 8 to a 20, the 7's to 19s and the 50 to 500s. however, you'll need to change the line style to get some kind of visible image. I find 0 is good for that one.

Hope you like it.

Last edited by Laguana; 08-26-2004 at 09:18 AM.. Reason: fiddling with the code, just asthetic changes
Laguana is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:40 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.