Tiles

 

Tiles (also called cells) are movie clips in Flash that let you reuse most of your graphics as building blocks for your games. Many games in a top-down or 3D world tend to have a large map that defines the world of the game. In a tile-based world, you can reuse graphics and assemble worlds with code.

 Creating Tiles

A tile can be any size, but is often set up to be approximately the size of the character you are using, or at least the size of the part of the character that touches the ground, such as feet or wheels.

 Archetypes

Archetypes from tile based world designs:

 Flash Examples

 Intro to Tiles
Run the example file of Shark Attack! which uses TBW in an isometric world

Creating and Storing Grid Information
Run the example file of grid.swf
Open the example file in Flash

 Precision Detection
Run the example file of grid_click.swf
Open the example file in Flash

 Adding a Character
Run the example file of character_in_grid.swf
Open the example file in Flash

 Externalizing World Data
Run the example file of game.swf that uses XML
Open the example file in Flash

 Game Review

Asteroids - Clone of the commonly known game.

 Reading

  Flash mx Game Design Demystified: Chapter 7

 Design Project

15x15 tile design.

 Documentation Project

Turn in final Gaming Project Document.