Slider Puzzle
New Source has finally been added.
Okay, it's been a while since I put up some new code but here's a slider game, that demonstrates how to copy an image at runtime (that's how the individual pieces are made), using Bitmap.draw() and Matrix.translate()

So while the game is not really that interesting, once you're aware of using Bitmap.draw() to copy sections of the screen, you can use this knowledge to manipulate your images in other ways...
Also, you can swap out the image with your own, or if you're familiar with file uploads, you can build an application to take user supplied files.
At some point, I'll put up and AS3 version...but no promises about when
Download
Okay, it's been a while since I put up some new code but here's a slider game, that demonstrates how to copy an image at runtime (that's how the individual pieces are made), using Bitmap.draw() and Matrix.translate()

So while the game is not really that interesting, once you're aware of using Bitmap.draw() to copy sections of the screen, you can use this knowledge to manipulate your images in other ways...
Also, you can swap out the image with your own, or if you're familiar with file uploads, you can build an application to take user supplied files.
At some point, I'll put up and AS3 version...but no promises about when
Download
0 Comments:
Post a Comment
<< Home