O'Reilly logo

Real-World Flash Game Development, 2nd Edition by Christopher Griffith

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

13

MIXUP——A SIMPLE ENGINE

CHAPTER OUTLINE

The Main Document

The MixUp Class

The Title Class

The RulesPanel Class

The Game Class

The Interfaces

The GameBoard Class

The SourceImageEmbedded Class

The GameHistory and Results Classes

The SourceImageCamera Class

Review

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 discuss how to create a basic image scramble game that we’ll call MixUp. This is a popular type of puzzle game, in which 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. ...

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