-
Hard question ???
In a jigsaw where all the pieces are mclips, what code would i use to recognise whether all the pieces are in place so that a new movie clip plays saying congratulations, this is really stressing me out and no tutorials explain how to do it
Tim
Last edited by TimB; 06-11-2003 at 08:03 AM.
-
If you were able to do a jigsaw, i'd assume you're at least an intermediate programmer. For your problem, the answer would be variables. If you have 15 pieces, add 1 to a count variable each time one piece falls in place. When that count equals 15, your puzzle is finished.
gparis
-
The ActionScript Master
Hoi
if you have MX you should have a look at the ActionScript Tutorial it is about a jigsaw. check how it is doen there!
Master64
useing:XP,MX
don't send me PM's because i never check it so if you what to contact me use Email
-
im more of a beginner, its taken me ages to get to this stage!!
what code would i put to assign the variables. Say for the most simple puzzle which only has 4 pieces
Tim
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|