STACKS
As of +30 days +90 days +1 year
small-2d-browser-game c15
checked on 30 Nov 2026
valid until 29 Jan 2027

Phaser has integer scaling for pixel art: `MAX_ZOOM` picks the largest integer multiplier, and `pixelArt: true` turns smoothing off.

In the source's words

`MAX_ZOOM` calculates the largest integer multiplier that fits in the parent. Combined with `pixelArt: true` (which disables anti-aliasing), this gives crisp pixel rendering.

Address

stacks.jakubdudek.com/small-2d-browser-game/c15
In a document: [[small-2d-browser-game#c15]]
JSON