A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Jigsaw Puzzle

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jul 2000
    Posts
    1

    Lightbulb


    Hey,

    Can anyone give me some pointers on how to make a Flash jigsaw puzzle (much like the one at: http://www.paddingtonbear.com in the games for kids section)?

    Any help/ideas is appreciated.

    Cheers,

    -K.

  2. #2
    Senior Member
    Join Date
    Jul 2000
    Posts
    323
    Well, that's javascript, not flash, but I think flash would have an easier time anyway... Just set each piece as a movie clip with an invisible button. Tell the button to start drag on press and stop drag on release... Also in the release, put a little code to make the X and Y positions snap to the nearest N pixels... X = Int((X + (N/2)) / N) * N

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center