@ matt.milan
mh...
First I let the pixel check, if they can move down. ( If the pixel under this has less alpha or more brightness)
And if the pixel can't move down, I check, if it can move left or right down...
And that's the whole trick.
@ sp33dy
Sorry, but I'm working on another game, where I want to use this for ash.
But as it stands now, it will still take a couple of months, till the game is ready.
@ Morran
Well, It's not as difficult, as it seems.
I used the methods getColorAt(int,int) and setColorAt(int,int,Color)...
And the rest is explained above
A new version of this scenario was uploaded on Wed Mar 14 20:26:56 UTC 2012
A new version of this scenario was uploaded on Wed Mar 14 20:27:51 UTC 2012
A second mode added.
Press 1 && 2 to change between them :)
A new version of this scenario was uploaded on Wed Mar 14 20:28:15 UTC 2012
A second mode added.
Press 1 && 2 to change between them :)
use mode 1, and when the image settles, switch to mode 2!
A new version of this scenario was uploaded on Thu Mar 15 18:53:22 UTC 2012
Press space to change the image to a black-white image and to see the brightness, it's sorted after.
Your image should be the first one after the texts.
If it's missing, you can try to restart you browser.
You must be logged in, bevore you start it, of course. ;)
Nice! This looks like a future add-on for the Photoshop application or any other image-manipulation program ^^
Apply such 'sandomize' operation and get the final output from the target image/layer^^.
Maybe you could write one, despite it may be in another programming language heh, still worth of a try. :)
Any ways, good work!
2012/3/14
2012/3/14
2012/3/14
2012/3/14
2012/3/14
2012/3/14
2012/3/14
2012/3/31
2012/3/31
2012/3/31
2012/4/22
2012/4/23
2012/6/6
2012/6/16
2012/6/16
2013/7/15
2013/7/15
2013/7/16