PDA

View Full Version : Is This Possible



nitrobry
01-05-2008, 10:09 AM
What i have done is broken down an image into a jigsaw puzzle.

Now what i want to do is when you line up a piece i would like it to snap / connect together.

Is this possible

holtgrewe
01-06-2008, 06:58 PM
This was posted in the Suggestion section, should probably have been in the Discussion section...

One way would be to store the 'home' position (X,Y coord) of each piece in a table, which you probably already have done.

When the piece is moved into position (or even very close to it), it could then be snapped into the 'home' position, using audio sound or by fade out/in type of visual effect.

hth