Hi,
I’m currently trying to create a sliding puzzle like this:
http://play.google.com/store/apps/details?id=com.panagola.game.arrangefree
It’s just a basic 3x3 sliding puzzle with numbers…
I have the mechanism set up, but I need an advice. I want to shuffle the tiles in front of the player. This means, when I load the screen, I want to see the tiles shuffling randomly up and down, left and right…for about 5 seconds.
I created a for cycle with random number generation, which said which row or column and where it will move. And then transition.to() But the code was very chunky and super long. There must be a better way to do this. Would anyone know how to make the shuffling easier? I would be grateful.
Thanks in advance
