HOME | DD

GuyFlash — Challenge mouse trail

Published: 2006-07-09 18:17:50 +0000 UTC; Views: 6047; Favourites: 78; Downloads: 1034
Redirect to original
Description 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[a][0]=_root._xmouse
arrayThing[a][1]=_root._ymouse
}

onEnterFrame=function(){
_root.theMC.clear()
thewidth=1
for (a=0;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
Related content
Comments: 26

FictionArtwing [2007-10-20 00:40:11 +0000 UTC]

Psychedelic fun!

👍: 0 ⏩: 0

jhankei84 [2007-07-28 15:36:52 +0000 UTC]

i could play with this for hours!

👍: 0 ⏩: 0

Threek [2007-07-17 23:39:29 +0000 UTC]

The front end should have a face.

like ""

👍: 0 ⏩: 1

Threek In reply to Threek [2007-07-17 23:40:11 +0000 UTC]

Ugh, auto-cons. I meant ":" and "D" . You know the face.

👍: 0 ⏩: 0

S-S-X [2007-04-28 16:04:47 +0000 UTC]

you won, he didn't.

👍: 0 ⏩: 0

Devilsummerchan [2007-04-20 17:26:56 +0000 UTC]

That's so cool! But it makes me really dizzy!

👍: 0 ⏩: 0

TheEndlessSnow [2007-02-09 21:17:40 +0000 UTC]

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

👍: 0 ⏩: 0

webbot15 [2006-11-13 23:07:48 +0000 UTC]

Great piece of actionscripting you've got there!

Ever thought about making a version of snake or somehitng out of it?

👍: 0 ⏩: 0

nadd1e [2006-10-06 01:01:45 +0000 UTC]

Bwahhahahhah!!!!! It's like a little roller coster!!

👍: 0 ⏩: 0

JohnJensen [2006-09-28 15:36:47 +0000 UTC]

I could sit forever playing with it..

👍: 0 ⏩: 0

Baphita [2006-09-05 01:19:00 +0000 UTC]

wow ... genial.. no se vale...


gracias... todos tus juegos desestresan... estaba mal

👍: 0 ⏩: 0

AngelLover89 [2006-09-05 00:25:06 +0000 UTC]

THATS SO COOL!!!

👍: 0 ⏩: 0

CoinToss [2006-08-06 13:08:10 +0000 UTC]

Thats flippin AWESOME! O:

👍: 0 ⏩: 0

Fyrelinx [2006-08-04 03:56:52 +0000 UTC]

Simple but awesome

👍: 0 ⏩: 0

Robineivets [2006-07-24 22:22:19 +0000 UTC]

Psss...if you ask me, you won, nice.

👍: 0 ⏩: 0

susanands [2006-07-13 22:07:02 +0000 UTC]

lol, cool.

👍: 0 ⏩: 0

FreeJ [2006-07-12 11:22:30 +0000 UTC]

wow,ss simple than most eh

👍: 0 ⏩: 0

JReedC243 [2006-07-10 22:42:42 +0000 UTC]

round PI up to 5!? you are pure evil! away with you demon of math!

👍: 0 ⏩: 0

TalentlessAssassin [2006-07-10 00:38:11 +0000 UTC]

That is so freakin cool!

👍: 0 ⏩: 0

NGxxxTolo [2006-07-09 22:49:53 +0000 UTC]

Sweet ...

👍: 0 ⏩: 0

rapidvision [2006-07-09 22:48:23 +0000 UTC]

Wow intense. You're getting to be a pro ActionScripter.

👍: 0 ⏩: 0

deArtistofWar [2006-07-09 22:19:45 +0000 UTC]

woooooooooooooooooooohooo this shit is A!!!W!!!E!!!S!!!O!!!M!!!E!!!

very nice job with the script...

crap , for me this would take ages to make

👍: 0 ⏩: 0

lopside [2006-07-09 19:02:31 +0000 UTC]

I played with this for WAAY too long XD

👍: 0 ⏩: 0

The-Titan [2006-07-09 18:37:31 +0000 UTC]

very nice, i really like it!

DA went crazy! cant take the script u wrote! my oh my!

👍: 0 ⏩: 1

GuyFlash In reply to The-Titan [2006-07-09 18:57:28 +0000 UTC]

lol pagestretch ftw!

👍: 0 ⏩: 0

genericname281 [2006-07-09 18:24:41 +0000 UTC]

i like it

👍: 0 ⏩: 0