melonJS
    Preparing search index...

    Type Alias CellShape

    CellShape: "square" | "isometric"

    How cells sit in the world:

    • "square": side by side in columns and rows, an orthogonal map
    • "isometric": as diamonds, columns running down to the right and rows down to the left, a Tiled "isometric" map. The grid's x and y are the top left corner of the box around every diamond, the first column's diamond is at the top, and tileWidth and tileHeight are a diamond's width and height.

    The search is the same for both: only where a cell is in the world differs.