I made a jigsaw puzzle with 3 levels of difficulty, easy, medium and hard.
For the Medium level I used Arcalau's tutorials: https://www.scirra.com/tutorials/685/ma ... ne-concept
But Arcalaus uses a mechanic that would be really annoying to use with another set of pieces. Apparently his method functions with his set of pieces only.
And I wanted to create another levels with another numbers of pieces. I couldn't figure out a way of using the same method that Arcalaus uses, so...
For the Easy level I used Alextro's example: animated-jigsaw-puzzle-sharing_t182600
And I was very happy <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">
I also wanted a hard level, and this time I managed to use Alextro's template to create basically the same thing, but with more pieces. Problem is that Alextro uses a lot of layers (one for each piece), and it just drastically decreases the fps when using 120 pieces.
So, my 3 levels are working, but the hard one, with 120 pieces and layers are very slow in fps <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">
How would be a good method to create a jigsaw puzzle without using a layer for each piece as Alextro does? Or if it is reasonable, how to change Arcalaus mechanics to work with another set of pieces?