Phaser home
Phaser AE
Open source
Phaser 4
Download
Learn
Editor
Tools
Docs
Examples
News
Log in
Examples
/
Tilemap
/
Tests
Phaser 4.1.0
Phaser 4 examples
Tests
6
examples
Examples
6
Tilemap Collision Face Debugging
Demonstrates how modifying tilemaps via methods like putTileAt, removeTileAt, copy, and fill affects collision face calculation, visualized using debug rendering.
Tilemap Culling Tests
A visual test to verify tilemap culling works correctly across layers with different offsets, scroll factors, non-uniform scaling, and multiple tileset sizes.
Tilemap Tile Flipping Reference
A visual comparison demonstrating that tiles flipped or rotated in Tiled render correctly in Phaser by matching them against a reference screenshot.
Tilemap World Coordinates and Layer Scaling
Demonstrates how to accurately retrieve tile information, including bounds and center points, from world coordinates across layers with varying offsets and scales.
Tilemap World to Tile Coordinates
Demonstrates how to convert pointer coordinates to tile positions across multiple layers, handling layer switching and tilesets of different sizes.
Visual Tile Bleed Test
Tests for tilemap rendering artifacts and 'bleeding' between tiles while the camera is scrolling with pixel art settings enabled.