Caches RPG Maker autotile frame descriptions for one fixed shape table.
import { RpgmAutotileAtlas, type RpgmAutotileShapeTable } from '@datamoc/mw_games/two-d/render';declare const shapeTable: RpgmAutotileShapeTable;const atlas = new RpgmAutotileAtlas(shapeTable);const frame = atlas.get(7, 0, 3);console.log(frame.quadrants.length); // 4 Copy
import { RpgmAutotileAtlas, type RpgmAutotileShapeTable } from '@datamoc/mw_games/two-d/render';declare const shapeTable: RpgmAutotileShapeTable;const atlas = new RpgmAutotileAtlas(shapeTable);const frame = atlas.get(7, 0, 3);console.log(frame.quadrants.length); // 4
Caches RPG Maker autotile frame descriptions for one fixed shape table.
Example