We require an AS3 class (including any helper and subclasses) which will implement a jigsaw puzzle.
[url removed, login to view] file (or files) implementing jigsaw puzzle class
[url removed, login to view] demonstrating the class works
An .fla is _not_ acceptable as a deliverable.
Project is work for hire. No royalties will be paid. In addition to payment, coder will recive acknowledgement on a credits screen in any project where the class is used substantially unchanged in our sole opinion..
The class should be called as follows:
Jigsaw(Picture:Bitmap, width:int, height:int, pieces:int);
Picture is a bitmap object
width and height is the width and height of the picture (is this necessary?)
pieces is the number of pieces the jigsaw puzzle should have.
The jigsaw class will 'rip' the picture into pieces number of pieces. Jigsaw pieces have dents and bumps and can fit together only in their unique locations. Each piece should be approximately the same size, and should have no more than one dent _or_ one bump per edge. If the rip process can not be completed near instantaneously, a progress bar must fill at the bottom of the screen.
When the rip is completed, the class should dump or scatter the pieces on the screen. The screen will be approximately 150% wide and 150% tall as the picture.
The user shall be able to drag and drop the scattered pieces. If two pieces are positioned relative to one another correctly, they will merge. The number of pixels off that the user can have the pieces shall be an easily identifiable constant (we will do the gameplay tuning).
The class must report via a public boolean PuzzleComplete completion of the puzzle. The puzzle is complete when all pieces have been reassembled to form the original picture.
see [url removed, login to view] for a competitor's project.
Hi. We can do a great Flash Jigzaw Puzzle for you with Flash 9 and ActionScript 3.0. Please see our Private Mensaje to further details and demos. Thank you for your time. Bye.