0 Members and 2 Guests are viewing this topic.
Rule # Condition Action1 Space below empty Move down2 Spaces to the sides empty Move either left or right3 Single empty space to a side Move into that empty space
Rule # Condition Action1 Space below empty Move down2 Space to the bottom-right/left empty Move to that empty space
Rule # Condition Action1 Space above is empty Move up2 Space above is filled Move left/right3 rand<.05 End life of this pixel
Rule # Condition Action1 Space below is not Acid Move down2 Spaces to the sides is not acid Move either left or right3 Single non-Acid space to a side Move into that empty space
For(F,0,N For N+1 Pixels D*2+L1->L Find their location in L1{L}->X X location in first Byte{L+1}->Y Y location in second bytesPxl-Off(X,YIf Pxl-Test(X,Y+1) If ground below is solid Rand^2*2-1->A Choose a random direction !If Pxl-Test(X+A,Y If that direction is empty X+A->X Move there Else!If Pxl-Test(X-A,Y Else, if the opposite direction is empty X-A->X Move there instead EndElse Y+1->Y If all else fails and ground below is empty, move downEndPxl-On(X,YX->{L}Y->{L+1}End
Lbl TST{r2/8*W + (r1/8)+L1}Return
Lbl TST{r2/8*W + (r1/8)+L1}<NReturn
-------O------OO-----O-O----O--O---OOOOO--O----O-O-----OOOOOOOOO
-------O------OO-----OOO----OOOO---OOOOO--OOOOOO-OOOOOOOOOOOOOOO
Lbl MSK{{r2/8*W+(r1/8)+L1}*8+(r2^8)+Str1}e r1Return
Good idea, I think i'll move it. Some of the ideas are applicable, but its really only for Axe and Asm. Do you think I should sticky it?
O.o great explanation!! The screenie is amazing too. I'll be sure to remember this whenever I want to do something physics based Maybe I'll try and make a powdertoy....sorry qwerty nah I don't know the chem behind the he interactions of substances... Meh idk
loop { [refresh position] [position+velocity]}