Go in-depth and learn how to master Bézier curves, procedural generation, and game logic to build a complete Jigsaw game from scratch.
Click the Play button to solve the Jigsaw Puzzle. Once you complete it, click Play again to play the next Jigsaw Puzzle with more tiles.
We start with the mathematical foundation. Learn the formula for cubic Bézier curves and write the C# script to visualize them in the Unity Editor.
Move from lines to shapes. We will use the curves we created to slice an existing texture into a single puzzle piece shape.
Scaling up. We will apply the logic to the entire image, generating a full grid of interlocking puzzle pieces programmatically.
The final step. We add game logic: shuffling pieces, snapping them into place, detecting win conditions, and UI polish.