Search code examples
flashactionscript-3algorithmhexagonal-tiles

Drawing a hex grid in Flash?


What's the easiest way to draw a hex grid algorithmically? How should I present them in data?

For example, in a square grid, I could just save x-y coordinates..


Solution

  • So hexagon is a neat library for AS3 games, it has some hexagon classes that might be handy in your research. This article has some very nice details about hexagon tiles in Flash.