Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Creating Jigsaw Puzzle using UnityScript

Discussion in 'Scripting' started by Lord Mozy, Oct 24, 2014.

  1. Lord Mozy

    Lord Mozy

    Joined:
    Oct 13, 2014
    Posts:
    7
    Ahoy mates! I'm an indie game designer. Myself with 4 other guys are making an action puzzle platformer game for mobile devices called "Biopower". This is our first commercial game. You can check out a couple of screenshots here.

    View attachment 116490

    View attachment 116491

    View attachment 116492

    The game is coming out pretty amazing with fantastic gameplay, art & music. But we've a problem. We've a piece of jigsaw puzzle as a collectible at every level. Once the player completes all the levels, a new scene will open where the player has to solve the jigsaw puzzle. Our lead programmer is clueless on how to make this jigsaw puzzle work.

    Each piece should be select-able, drag-gable and rotatable(with UI keys)... Once they're placed in their correct positions, the pieces shouldn't be select-able, drag-gable or rotatable any more.

    The puzzle is 4x4(16 pieces) puzzle like in Braid.


    Can anybody help us with a basic script for this kind of jigsaw puzzle? We tried searching in many forums but we couldn't find any appropriate answers. We can't afford to buy any Jigsaw Puzzle Pack right now.

    Any help would be greatlyappreciated... Thank you very much...