Shop More Submit  Join Login
×




Details

Submitted on
July 9, 2006
Image Size
466 bytes
Resolution
550×400
Link
Thumb
Embed

Stats

Views
4,415 (3 today)
Favourites
82 (who?)
Comments
26
Downloads
1,027
×
FULL VIEW OR I WILL ROUND PI up to FIVE!

okies, well yesterday in #flashers myself and decided to have a little challenge.

the rules were that we had 30mins to make some flash cursor trail gizmo type thing (basically anything that happend with mouse movement) and I did this... well actually I did this where the trail only ever was one segment long as I hadnt debugged the script when the time hit 0.

though its safe to say even if I had finished and got it to this point I still would have lost, as if you take a look at ~lexus727's piece [link] you will see his rocks the socks...

anyhoo, as there is no symbols I can just put the soucre here for you to play with:

_root.createEmptyMovieClip("theMC",1)
arrayThing = [[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]]

for (a=0;a<arrayThing.length;a++){
arrayThing[a][0]=_root._xmouse
arrayThing[a][1]=_root._ymouse
}

onEnterFrame=function(){
_root.theMC.clear()
thewidth=1
for (a=0;a<arrayThing.length;a++){
//move along the array
arrayThing[a][0]=arrayThing[a+1][0]
arrayThing[a][1]=arrayThing[a+1][1]
arrayThing[a][2]=arrayThing[a+1][2]
arrayThing[arrayThing.length-1][0]=_root._xmouse
arrayThing[arrayThing.length-1][1]=_root._ymouse
thecolour="0x"+(random(98)+1)
thecolour=thecolour+(random(98)+1)
thecolour=thecolour+(random(98)+1)
arrayThing[arrayThing.length-1][2]=thecolour
thewidth+=0.75
//draw
if (a>0){
_root.theMC.lineStyle(thewidth,arrayThing[a][2])
_root.theMC.moveTo(arrayThing[a][0],arrayThing[a][1])
_root.theMC.lineTo(arrayThing[a-1][0],arrayThing[a-1][1])
}
}
}


oh yeah, this is running at 30fps :)
Add a Comment:
 
:iconfictionartwing:
FictionArtwing Featured By Owner Oct 19, 2007
Psychedelic fun! :clap:
Reply
:iconjhankei84:
jhankei84 Featured By Owner Jul 28, 2007  Hobbyist
i could play with this for hours!
Reply
:iconthreek:
Threek Featured By Owner Jul 17, 2007
The front end should have a face.

like ":D"
Reply
:iconthreek:
Threek Featured By Owner Jul 17, 2007
Ugh, auto-cons. I meant ":" and "D" . You know the face.
Reply
:icons-s-x:
S-S-X Featured By Owner Apr 28, 2007   Interface Designer
you won, he didn't.
Reply
:icondevilsummerchan:
Devilsummerchan Featured By Owner Apr 20, 2007
That's so cool! But it makes me really dizzy!
Reply
:icontheendlesssnow:
TheEndlessSnow Featured By Owner Feb 9, 2007   Interface Designer
I like this one so much more then the other guys, this one is different, I've seen the other one all over the place
Reply
:iconwebbot15:
webbot15 Featured By Owner Nov 13, 2006
Great piece of actionscripting you've got there!

Ever thought about making a version of snake or somehitng out of it?
Reply
:iconlemonmerangue:
LEmoNmerANGuE Featured By Owner Oct 5, 2006
Bwahhahahhah!!!!! It's like a little roller coster!!
Reply
:iconjohnjensen:
JohnJensen Featured By Owner Sep 28, 2006
I could sit forever playing with it..
Reply
Add a Comment: