03.05.2013 Views

Tutorial: Jigsaw using ActionScript 3.0.

Tutorial: Jigsaw using ActionScript 3.0.

Tutorial: Jigsaw using ActionScript 3.0.

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Note that checking for completion in both programs is done with a tolerance factor: the<br />

player does not have to be perfect. If you want to make the puzzle more challenging, you<br />

can decrease this factor. If you require the player to position things exactly to the pixel, it<br />

will be very difficult to complete.<br />

The third version of the jigsaw has something called an attractor or idler. The game<br />

begins with the pieces periodically in new, mixed up positions. When the player starts to<br />

drag a piece or clicks on a button, the pieces stop moving. If the player does not do<br />

anything for a certain period of time, the pieces move again. The idea here is that this<br />

application could run on a kiosk and 'attract' people passing by. The term idler comes<br />

from the notion that the game is idling. People build idler/attractors that have no<br />

connection to the actual application. For jigsaw, mixing up the pieces is an obvious<br />

choice for the idling display.<br />

Overview<br />

The critical parts of building this application are<br />

creating the puzzle pieces, including determining the information that needs to be<br />

stored in order to re-create the puzzle

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!