random every tot pixel
i would like to swap random actor in the background, but with a limited space between 1 and another, like 50pixel.
there is a formula or else?
there is a formula or else?
Best Answer
-
akichan22
Posts: 9
srry i did it. Just write in position 50*random(1,40(depend on the size of the background))
and the same for the Y