melonJS
    Preparing search index...

    Interface PlacedTile

    interface PlacedTile {
        alpha?: number;
        flip?: number;
        tileId: number;
        x: number;
        y: number;
    }
    Index
    alpha?: number

    its opacity, from 0 to 1

    flip?: number

    1 to mirror it across, 2 to mirror it down, 3 for both

    tileId: number

    the tile, by its id within the tileset (0 is the first)

    x: number

    where the tile's left edge is, in pixels from the layer's origin

    y: number

    where the tile's top edge is, in pixels from the layer's origin