
The Essential Guide to Flash Games
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
The Essential Guide to Flash Games is a unique tool for Flash game developers. Rather than focusing on a bunch of low-level how-to material, this book dives straight into building games. The book is divided into specific game genre projects, covering everything from old classics such as a Missile Command-style game, to hot new genres such as retro evolved. The chapters build in complexity through the book, and new tools are introduced along the way that can be reused for other games.
- The game projects covered start simple and increase in complexity as more and more tools are added to your tool chest.
- Ten full game projects are discussed in detail. Each solves a very different game development problem and builds on the knowledge gained from the previous project.
- Many advanced game development techniques are covered, including particle systems, advanced controls, artificial intelligence, blitting, scrolling, and more.
More details
Other editions
Additional editions

Persons
Content
We have spent a good portion of this book creating a game framework, but so far, we don’t have much to show for it. We will now create a simple game that makes use of the framework as a demonstration. Let’s take a deep dive into our first example game, Super Click. It is a simple game that is similar to many early Flash viral games. It is not original by any means, but the main point we want to demonstrate here is how the Game and Main classes interact.
To do this, we’ll first discuss the elements we need for the game in a simple technical design specification. Next, we will discuss how we tie all of this together into a set of functions to actually create a game. Before we start with the code, we will lay out a very simple technical design document for our game. This document will be used to modify create a Main.as class for Super Click that extends the GameFrameWork.as class. It will also be used to create the SuperClick.as class file that will extend the Game.as framework class.
Creating a Super Click game design specification
We are going to create a simple game technical specification document. It will describe basic game play, but more importantly it will describe how we are going to plan on implementing the game logic. There is nothing wrong with just jumping in and starting to code a game for fun. Experimentation can bring you great rewards, but when you start to design a game that you want to sell or especially one that might be for a client, you will want to plan out the game logic at least to some degree before you jump in and start coding.
Defining the game basics
The game basics will describe the idea behind the game and the general game play fundamentals.
- Game name: Super Click
- Game objective: Click the good circles, and avoid clicking the bad circles.
- Game play description: Blue and red circles will start to appear on the screen. They start small and get bigger, finally disappearing when they have reached a certain size. The player must avoid the red circles and click the blue circles. The quicker the player clicks a blue circle, the more points are awarded. If the player does not click enough circles on a level, the game will be over. It the player clicks a red circle that game will also be over."
System requirements
File format: PDF
Copy protection: Watermark-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use the free software Adobe Reader, Adobe Digital Editions, or any other PDF viewer of your choice (see eBook Help).
- Tablet/Smartphone (Android; iOS): Install the free app Adobe Digital Editions or another reading app for eBooks, e.g., PocketBook (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Watermark-DRM, a „soft” copy protection. This means that there are no technical restrictions to prevent illegal distribution. However, there is a personalised watermark embedded in the eBook that can be used to identify the purchaser of the eBook in the event of misuse and to provide evidence for legal purposes.
For more information, see our eBook Help page.