joelwenzel
Programmer
- Jun 28, 2002
- 448
I am developing a jigsaw puzzle applet and am concerned about how to join the pieces. I could either
a)join all the small images with code but not actually join the image. In this case, if the puzzle was completed or nearly completed, and I select the puzzle and move a section containing a large number of pieces to a new location, the computer will have to calculate the position and draw each image piece individual. With 1000 pieces, could this be choppy? I mean, 1000 little images all in motion seems like a bunch
b)I could actually merge the pieces together to create one big piece. In this case, I would only have to calculate the position for one big piece and draw one piece (although it would be large than the individual pieces).
Thanks for your help
ps..I know about double buffering and all that stuff. I speaking strikly from a processing power perspective
a)join all the small images with code but not actually join the image. In this case, if the puzzle was completed or nearly completed, and I select the puzzle and move a section containing a large number of pieces to a new location, the computer will have to calculate the position and draw each image piece individual. With 1000 pieces, could this be choppy? I mean, 1000 little images all in motion seems like a bunch
b)I could actually merge the pieces together to create one big piece. In this case, I would only have to calculate the position for one big piece and draw one piece (although it would be large than the individual pieces).
Thanks for your help
ps..I know about double buffering and all that stuff. I speaking strikly from a processing power perspective