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 10-22-2003, 11:29 AM   #1
pom
Allez les Bleus!!!
 
pom's Avatar
 
Join Date: Oct 2002
Location: Paname
Posts: 2,495
Default Challenge -- Bad Weather

All right people, time for a new challenge. I was thinking about something weather related: rain, snow, lightning... that kind of things (it's going to be Christmas soon...). What do you think?
pom is offline   Reply With Quote
Old 10-22-2003, 11:32 AM   #2
senocular
six eyes
 
senocular's Avatar
 
Join Date: Jan 2003
Location: San Francisco, CA (USA)
Posts: 7,758
Send a message via ICQ to senocular Send a message via AIM to senocular Send a message via MSN to senocular Send a message via Yahoo to senocular
Default

leaves blowing in the wind?
__________________
(6)
senocular is offline   Reply With Quote
Old 10-22-2003, 11:47 AM   #3
pom
Allez les Bleus!!!
 
pom's Avatar
 
Join Date: Oct 2002
Location: Paname
Posts: 2,495
Default

Whatever, whatever...
pom is offline   Reply With Quote
Old 10-22-2003, 01:27 PM   #4
vulcanpimp
Registered User
 
Join Date: Aug 2003
Posts: 116
Default

was gonna say be more specific - cos that kinda includes an awful lot. snow is a thing by itself and we've just had elctric(lightning) on kirupa.

But yep - count me in.
vulcanpimp is offline   Reply With Quote
Old 10-27-2003, 02:20 PM   #5
pom
Allez les Bleus!!!
 
pom's Avatar
 
Join Date: Oct 2002
Location: Paname
Posts: 2,495
Default

Wake up!!
pom is offline   Reply With Quote
Old 10-29-2003, 01:29 PM   #6
vulcanpimp
Registered User
 
Join Date: Aug 2003
Posts: 116
Default

I know I've tried to get a few challenges going recently but can't seem to get anything. I started a 3d challenge , then a paint dripping contest - but don't think I hardly got a response (and when a response came with the 3d challenge it was weeks later)

What about an open challenge - on any subject - that might generate a bit of interest?

having said that I haven't done anything for this.
vulcanpimp is offline   Reply With Quote
Old 11-08-2003, 10:29 PM   #7
pom
Allez les Bleus!!!
 
pom's Avatar
 
Join Date: Oct 2002
Location: Paname
Posts: 2,495
Default

Thunder version beta
ActionScript Code:
function makeLightning () {     } /*** Constants ***/ max_sub_branch = 4 ; max_sub_angle = 3*Math.PI/5 ; max_size = 6 ; length = 10 ; /*** Function ***/ function makeBranch ( targ, start_x, start_y, angle, size ) {     if (size > 0 ) {         c++ ;         var cl = targ.createEmptyMovieClip ("light" + c, c) ;         cl.lineStyle ( size, 0xffffff, 100 ) ;         cl.moveTo ( start_x, start_y ) ;         while (start_y < 400) {             var end_x = start_x + length * Math.cos ( angle ) + random(10) - 5 ;             var end_y = start_y + length * Math.sin ( angle ) //+ random(10) - 5 ;             cl.lineTo ( end_x, end_y ) ;             start_x = end_x ;             start_y = end_y ;                         if ( Math.random() > .9 && cl.sub < max_sub_branch ) {                 cl.sub ++ ;                 var newLength = length -1 ;                 var newAngle = Math.PI/4 + Math.random() * Math.PI/2 ;                 var newSize = size - 1 ;                 makeBranch ( cl, end_x, end_y, newAngle, newSize ) ;             }         }     } } /*** Function call ***/ this.onMouseDown = function () {     c = 0 ;     this.light1.removeMovieClip ()  ;     makeBranch ( this, 250, 0, Math.PI/6 + Math.random() * 2/3*Math.PI, max_size ) ;     this.light1.onEnterFrame = function () {         if ((this._alpha -= 5) < 5) this.removeMovieClip () ;     } }
Dark background, and click.
pom is offline   Reply With Quote
Old 11-08-2003, 11:09 PM   #8
Ninfoxwoods
Registered User
 
Ninfoxwoods's Avatar
 
Join Date: Nov 2003
Posts: 14
Send a message via AIM to Ninfoxwoods Send a message via Yahoo to Ninfoxwoods
Default

http://server2.uploadit.org/files/091103-lightning.swf
^Heres Pom's code just with Sound and the lightning is yellow instead of white.
Ninfoxwoods is offline   Reply With Quote
Old 11-09-2003, 09:36 AM   #9
pom
Allez les Bleus!!!
 
pom's Avatar
 
Join Date: Oct 2002
Location: Paname
Posts: 2,495
Default

Thanks
pom is offline   Reply With Quote
Old 11-09-2003, 12:09 PM   #10
fileyboy
Registered User
 
Join Date: Nov 2003
Posts: 3
Default

very cool pom
fileyboy 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 09:43 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.