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. ...

Get Real-World Flash Game Development, 2nd Edition 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.