Ignore:
Timestamp:
2015-06-30 20:42:56 (4 years ago)
Author:
sieerinn
Message:

Bugeja korjailtu.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel/TiledTileMap.cs

    r6539 r6628  
    121121                { 
    122122                    int index = tileSet.FirstGid + (y * tilesW + x) - 1; // Tiled uses one-based indexing for tiles. 
    123                     tileImages[index] = tilesetImage.Area(x * tileSet.TileWidth, y * tilesH, (x + 1) * tileSet.TileWidth, 
     123                    tileImages[index] = tilesetImage.Area(x * tileSet.TileWidth, y * tileSet.TileHeight, (x + 1) * tileSet.TileWidth, 
    124124                        (y + 1) * tileSet.TileHeight); 
    125125                } 
Note: See TracChangeset for help on using the changeset viewer.