HOME | DD

smashmethod β€” Random Coordinate Dispersal

Published: 2009-03-11 01:17:06 +0000 UTC; Views: 5181; Favourites: 65; Downloads: 148
Redirect to original
Description For tips and techniques on how to make digital art like this, check out my YouTube channel.

YouTube:Β www.youtube.com/user/fictional…
Facebook: www.facebook.com/fictionalhead
Twitter: www.twitter.com/fictionalhead
Google+: plus.google.com/+fictionalhead
Portfolio: www.fictionalhead.com
Related content
Comments: 43

FlamingNuke [2009-09-01 05:57:33 +0000 UTC]

Very well written code... Only thing i can suggest is that i noticed that all boxes would stop at approximately the same time... if deceleration of the boxes is handled independently, then it would be more random... but I have no idea what that would do for system resources or lag time... But thoroughly impressed.

πŸ‘: 0 ⏩: 0

Sheenz [2009-04-24 15:35:08 +0000 UTC]

cute

πŸ‘: 0 ⏩: 0

emkei [2009-04-21 00:47:22 +0000 UTC]

i love this, takes my stress from work..thanks

πŸ‘: 0 ⏩: 0

dssken [2009-04-05 05:02:05 +0000 UTC]

Appears to be quite random. Which is good! I clicked multiple times in the same spot and got different output.

Good job.

πŸ‘: 0 ⏩: 0

hamsher [2009-03-14 15:25:01 +0000 UTC]

Very cool. Could have so many applications!

πŸ‘: 0 ⏩: 0

DeadPoetz [2009-03-14 09:31:17 +0000 UTC]

that looks cute. what sort of game are you planning with those?

πŸ‘: 0 ⏩: 0

0kHz [2009-03-13 22:08:47 +0000 UTC]

fun =]

πŸ‘: 0 ⏩: 0

CoNuNDRuM-OwNs [2009-03-12 22:41:41 +0000 UTC]

I clicked it so many times it froze. lol

πŸ‘: 0 ⏩: 0

F1yMordecai [2009-03-12 17:28:31 +0000 UTC]

this is so addicting!! I just want to keep clicking on it

πŸ‘: 0 ⏩: 0

saramania [2009-03-12 11:24:38 +0000 UTC]

good stuff

πŸ‘: 0 ⏩: 0

Solpyro [2009-03-12 09:12:37 +0000 UTC]

code suggestion:

if each box handles its own movement after the click, which is the most efficient way (for loops slow evertything down) , you can add an if statement at the end which checks if the box has come to rest, and then remove the onEnterFrame event.

this keep the firing code to a minimum, and only cause speed issues if the user clicks a lot and quickly.

πŸ‘: 0 ⏩: 1

Solpyro In reply to Solpyro [2009-03-12 09:15:26 +0000 UTC]

sorry, should have read all comments.
I skimmed over the one from =Niallmeister

πŸ‘: 0 ⏩: 0

happienoodleboy [2009-03-11 18:54:09 +0000 UTC]

That's pretty cool

πŸ‘: 0 ⏩: 0

borgir [2009-03-11 16:55:21 +0000 UTC]

Suggestion:
User clicks on the stage for a random distribution and within a time period the user has to click in every box in some order (ascendent for exemple).
Take care!

πŸ‘: 0 ⏩: 0

coreper [2009-03-11 15:33:44 +0000 UTC]

very funny, though when you click it very fast, it laggs like hell

πŸ‘: 0 ⏩: 0

Nebagram [2009-03-11 14:35:40 +0000 UTC]

Ridiculous and awesome. My favourite combination.

πŸ‘: 0 ⏩: 0

Niallmeister [2009-03-11 14:09:04 +0000 UTC]

Damnit, you get 28 faves already, on this?

Haha, anyways it's good for a test, I clicked a lot and I think I may have broken something...

πŸ‘: 0 ⏩: 1

Niallmeister In reply to Niallmeister [2009-03-11 14:10:50 +0000 UTC]

Oh, and another thing. From the speed it's going at it looks like you're still simulating the boxes even after they've stopped moving and calculating. Maybe try something like a removeListener or a delete onEnterFrame?

πŸ‘: 0 ⏩: 1

smashmethod In reply to Niallmeister [2009-03-11 15:12:16 +0000 UTC]

There are no listeners or onEnterFrames, once the box stops moving, it isn't touched in the code anywhere.

πŸ‘: 0 ⏩: 1

Niallmeister In reply to smashmethod [2009-03-11 23:46:17 +0000 UTC]

That's odd, it seems to perform extremely slowly for what it's doing then.

πŸ‘: 0 ⏩: 1

smashmethod In reply to Niallmeister [2009-03-11 23:52:25 +0000 UTC]

That's a great assessment considering you have no idea what it's doing. Though I will concede that you seem oddly offended by this stupid test getting feedback from others, and I'm not quite sure why.

πŸ‘: 0 ⏩: 1

Niallmeister In reply to smashmethod [2009-03-12 14:20:45 +0000 UTC]

Sorry, I didn't mean to sound like that.

πŸ‘: 0 ⏩: 0

snowy-kc [2009-03-11 12:01:29 +0000 UTC]

Wow, nice idea! I'm having fun with this ^^

πŸ‘: 0 ⏩: 0

ccblpu [2009-03-11 10:52:16 +0000 UTC]

Seems so simple, yet oh so brilliant... and rather addicting, too... Especially if you have this OCD thing where you feel you absolutely HAVE to fill in every space with a box.

Bahahaha, fun stuff. I'm enjoying it thoroughly.

πŸ‘: 0 ⏩: 0

a2designs [2009-03-11 10:43:21 +0000 UTC]

This is tres cool indeed.

"It might get slow if you click too many times. "

Soon as I read that, I went click crazy lol

πŸ‘: 0 ⏩: 0

DJAnt1320 [2009-03-11 07:38:21 +0000 UTC]

Nice job!

I like how each of the tabs displays the changing X, Y; very crafty!

I had the screen completely covered it little numerical boxes - it was great.

Which ver are you using? I'm running CS3 Pro, but haven't had the time to get back to mucking about with it.

πŸ‘: 0 ⏩: 0

Auoro [2009-03-11 07:25:13 +0000 UTC]

i have a amd phenom 9750x4 2gbram gforce 9800 and it freez !

πŸ‘: 0 ⏩: 0

no-preview [2009-03-11 06:49:24 +0000 UTC]

Awesome .. i kept clicking until i filled the screen with numbers ...

πŸ‘: 0 ⏩: 0

zhoumlh [2009-03-11 05:49:14 +0000 UTC]

HA THIS IS SO FUN IT LOOKS LIKE MONOPOLY MONEY FLYING ALL OVER

πŸ‘: 0 ⏩: 1

munchinees In reply to zhoumlh [2009-03-14 06:43:53 +0000 UTC]

Yeah! But in hundred thousand value. Hoohoo! "Money" all over.

πŸ‘: 0 ⏩: 0

Gamedragon89 [2009-03-11 05:21:28 +0000 UTC]

Mindlessly entertaining in the most awesome way.

πŸ‘: 0 ⏩: 1

GFXNode In reply to Gamedragon89 [2009-03-11 11:41:42 +0000 UTC]

+1 i cant think of a better way of describing it!!

πŸ‘: 0 ⏩: 0

Dark-Kaomi [2009-03-11 04:08:10 +0000 UTC]

Can you add in a z coordinate?

πŸ‘: 0 ⏩: 0

zeruch [2009-03-11 03:41:47 +0000 UTC]

You should try the Processing language:

[link]

πŸ‘: 0 ⏩: 0

AstuteObservations [2009-03-11 03:31:00 +0000 UTC]

i crashed it

πŸ‘: 0 ⏩: 0

2moons [2009-03-11 03:16:54 +0000 UTC]

Gar! I just got flash, and i STILL don't know how yo use it

Very cool clicky thing btw

πŸ‘: 0 ⏩: 0

kumagoro-doll [2009-03-11 02:55:12 +0000 UTC]

That was awesome!

πŸ‘: 0 ⏩: 0

Advent-CK [2009-03-11 02:47:46 +0000 UTC]

O_O omg....this is so awesome! I became clicker-happy! I love how it changes numbers when right before it lands!!! Sweet!

πŸ‘: 0 ⏩: 0

origin-ing [2009-03-11 01:57:01 +0000 UTC]

cool, it would also look awesome with colors, but since they're random boxes it would be a pain to do it.

πŸ‘: 0 ⏩: 1

smashmethod In reply to origin-ing [2009-03-11 02:25:11 +0000 UTC]

Actually, it had colors that it pulled from an array, but I thought it looked better in black and white.

Maybe I'll post a colored idea later.

πŸ‘: 0 ⏩: 0

kheng [2009-03-11 01:43:21 +0000 UTC]

Pretty cool

πŸ‘: 0 ⏩: 0

Monsuta-Ko [2009-03-11 01:34:53 +0000 UTC]

I was click happy. kehehe..

awesomesause on the mass clicking on this thing.

I wish I had flash, but blah..

in the game, make it violent.

πŸ‘: 0 ⏩: 0

Monsuta-Ko [2009-03-11 01:28:39 +0000 UTC]

o3o

πŸ‘: 0 ⏩: 0