Thank you, Guntur. I can not find your thread in the archive. Do you have this algorithm or any basic fla? It would be very helpful. Drawing api is clear for one object but creating many puzzles looks fantastic. Is it possible? Natalia
2006/7/16, Guntur N. Sarwohadi <[EMAIL PROTECTED]>:
Natalia, You can search the archive and find recent threads concering jigsaw puzzle algorithm. In fact, thats the thread I started.. that's why I (and Hans) know it's there ^_^ But to answer you question... 1. flash 8 has provided a bitmapData class, it's really good handling bitmaps so you can use the copyPixel method and but it in n movieClips on it. For jigsaw drawing, you can use flash drawing api.. especially the curveTo method. Basically it's only one type of curving and it is repeated for each side with variations being it inward or out.. 2. group and blending two pieces isn't that hard actually, as long as the pieces are placed in the right position it will look as one. The drop shadow is done by code and updated, while the center curve fading can also be done by code.. sure, it's a little complex than droptarget and hittest but it can be done :D hope that helps Guntur N. Sarwohadi On 7/15/06, natalia Vikhtinskaya <[EMAIL PROTECTED]> wrote: > > Yes, I checked before posting but found only questions without answers. > > 2006/7/15, Hans Wichman <[EMAIL PROTECTED]>: > > > > Please refer to the archives, there is a thread about this going on as > we > > speak... > > > > On 7/15/06, natalia Vikhtinskaya <[EMAIL PROTECTED]> wrote: > > > > > > Hi to all > > > > > > Can anybody give me advice for creating game like this? > > > > > > http://www.magickeys.com/books/jigsaws/cheetah_1/e.html > > > > > > 1. How can I create each time different pieces? I can only guess > that > > > there are some sets with different shapes and they attached as mask. > > > 2. When pieces are correct new pieces appear. How this is done? How > > > they determinate that? This is not droptarget or hittest. How from > two > > > masks > > > they create one mask? > > > > > > Has anybody any code that can help to create this? > > > > > > Thanks, > > > natavi > > > _______________________________________________ > > > [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 > > > _______________________________________________ > [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
_______________________________________________ [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

