14MIXUP —A SIMPLE ENGINE

Up to this point, we’ve gone through many examples of different aspects of game development. Now let’s pull them together to create a simple game from start to finish. In this chapter, we will cover how to create a basic image scramble game we’ll call MixUp. This is a popular type of puzzle game where an image is broken into rectangles on a grid and reshuffled. Players must click on these pieces to interchange their positions and ultimately restore the original image. The difficulty of these puzzles is a combination of the number and size of the rectangles the image is broken into and the amount of detail in the imagery. We’ll create an engine that will support any resolution of source image (within reason and memory ...

Get Real-World Flash Game Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.