Hi, I am currently making a game called Tangram
http://en.wikipedia.org/wiki/Tangram .However, I am stuck with the checking section. I have used hitTestPoint to check whether the player has assembled the correct pattern, however here comes the problem. As you could see the following image
[URL=“http://img529.imageshack.us/img529/5251/screenshot20100806at094.png”]http://img529.imageshack.us/img529/5251/screenshot20100806at094.png
could still be considered as “correct” even thought the correct pattern should be assembled as
http://img85.imageshack.us/img85/9666/screenshot20100806at234.png.
Besides the pixel perfect collision detection, what else could I use? Since I am still a newbie to AS3 and Flash.
The option of storing of all registration points may not be feasible, since there are alot of possibilities to solve a pattern. Is it possible if I could define the boundaries of the shape by myself rather than the highest and lowest X Y co-ordinates? Thank you very much for your help!