Is there a way to move or spawn sprites based on array values?
For instance, I have an 0-9 array;
On the start of layout I fill it with random 0 or 1;
there are two different sprites on scene (Sprite and Sprite2);
I want to move Sprite (the pink one) to fields with value 0 and Sprite2 (the green one) to fields with value 1.
I`ve made a little example showing what I`m trying to achieve.. Please check the capx!
any help would be appreciated!
cant post links so just copy and paste this "s/p5epy9to9yl9rzi/spriteToValue.capx?dl=0" after the dropbox adress dropbox...com/PASTE_HERE