In this post, there is discuss of how to make a jigsaw puzzle game with javascript and webview.
Here is another version of jigsaw puzzle game, made with pure AI2 blocks, and extensions.
And the app looks like:
There are 4 extensions used in this app:
ImageConvertor by @TIMAI2 for image format convert, rotate, crop, resize..
PDEV2 by @TIMAI2 for make the jigsaw small pieces into different types.
SimpleSaf by @TIMAI2 for pick up the background image
CompCreator @Kevinkun for generate the imagesprite dynamically.
The main work of this app:
1. Load a background image
2. Convert the image to png, if it's not a png file
3. Rotate the image, if its width is bigger than height
4. Crop the image to fit the canva s
5. Resize the image according to column and ro w.
6. Draw the outline on the can vas
7. Cut the bg to small pi eces
8. Apply the mask on the p ieces
9. Apply the outline on the pieces
10. Generate the image Sprites
11. Drag the sprites
12. Check if they arrive the corrent position
The apk can be download from here:







