I can't off the top of my head think of any visual ways of doing it, but you can check the relationship of the pieces to each other. For instance if piece A can only fit to the left of B and the bottom of C (it's the lower left hand corner) then you could check those two distance relationships and the rotation of each.
You'd have to store all of the "right" relationships somewhere, such as in the piece instances. Is this the kind of solution you're looking for? Kevin Fitzpatrick Flash Designer, SAP.com Web Services Team - SAP Global Marketing SAP Global Solutions Center 3999 West Chester Pike Newtown Square, PA 19073 C (267) 254-6225 E [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of lars Sent: Friday, March 10, 2006 8:04 AM To: Flashcoders mailing list Subject: [Flashcoders] puzzle: how to verify piece-fitting? hi all. i'm looking for some example on puzzle games which "detect" (show the user) that the pieces are arranged correct. those i know are "simple" drag and drop together ones with do not detect that the pieces are arranged correct and fit. any examples or ideas on how to "detect" that (when having different puzzle piece forms)? thanks: lars _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

