O'Reilly logo

ActionScript 3.0 Game Programming University, Second Edition by Gary Rosenzweig

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6. Picture Puzzles: Sliding and Jigsaw

image

Manipulating Bitmap Images

Sliding Puzzle Game

Jigsaw Puzzle Game

There is a whole class of games that revolves around using photographs or detailed drawings. Things like jigsaw puzzles are fairly new to computer gaming because it wasn’t until the mid-1990s that consumer computers had graphics good enough to display detailed images.

Flash has the capability to import a few different image formats. However, it doesn’t stop at just importing them. You can actually get to the bitmap data and manipulate the images. This enables us to cut pictures apart for use in puzzle games.

Note

Flash supports JPG, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required