PixelLab Side-Scroller¶
Class: PentaTileLayoutPixelLabSideScroller
PixelLab Side-Scroller reads PixelLab's 8x8 side-scroller tileset output. It shares the same corner-mask behavior as the top-down layout, but uses the side-scroller cell-to-role table.
Like the top-down layout, it currently uses deterministic first-cell selection for masks with multiple candidate cells.
Template¶
![]()
Atlas contract¶
| Property | Value |
|---|---|
| Grid | 8 columns x 8 rows |
| Tile count | 64 cells |
| Mask bits | TL=1, TR=2, BL=4, BR=8 |
| Dispatch | PixelLab side-scroller cell-to-role table, then role-to-mask cache |
| Grid type | single-grid |
| Rotation reuse | none |
Setup¶
- Generate or import a PixelLab side-scroller tileset output.
- Add
PentaTileMapLayer. - Set
layouttoPentaTileLayoutPixelLabSideScroller. - Assign the PixelLab atlas as the layer
tile_set, or use the fallback template for quick testing.
Authoring notes¶
mask=0dispatches to the first side-scroller role-12 cell at(0, 0).- Variation-bank picking is deterministic first-cell selection in v0.2.
- Use this variant, not Top-Down, when your PixelLab output uses the side-scroller cell table.