The tile list in the tilemap section is a palette of pictures: each tile shows its lone tile (the four convex corners for floor and wall, the picture itself for none) with its name below, laid out with the image-picker grid (#139)
game-maker / gate (push) Successful in 1m41s
game-maker / suite (push) Successful in 6m15s

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
adminandClaude Opus 5 committed 2026-09-18 10:15:51 +02:00
1 parent 4c411c1ff3
commit bfbcbe604c
9 files changed
+331 -28

No files matched your search

+8
View File
@@ -118,6 +118,14 @@ const NO_NEIGHBOURS: Neighbours = {
nw: false,
};
/**
* The tile standing for its kind in a palette (#139): the lone tile, all four convex corners. It is
* the one RPG Maker shows too – the block's top-left tile, which is pixel for pixel the same.
*/
export function loneTileQuadrants(kind: TileKind): TileQuadrants {
return tileQuadrants(kind, NO_NEIGHBOURS);
}
const SIDES = ['n', 'e', 's', 'w'] as const;
const DIAGONALS = ['ne', 'se', 'sw', 'nw'] as const;