Phaser home
Phaser AE
Open source
Phaser 4
Download
Learn
Editor
Tools
Docs
Examples
News
Log in
Examples
/
Tilemaps
/
Tilemap Gpu Layer
Phaser 4.1.0
Phaser 4 examples
Tilemap Gpu Layer
3
examples
Examples
3
Animated GPU Tiles
Demonstrates creating tilemap layers that utilize GPU-accelerated rendering to handle tile animations defined in the Tiled editor JSON data.
Copy Tilemap GPU Layer Tiles
Demonstrates how to copy a rectangular area of tiles within a GPU-accelerated Tilemap Layer and manually refresh the layer's data texture to update the rendering.
CPU vs GPU Tilemap Rendering
Demonstrates how to toggle between standard CPU tilemap rendering and GPU-accelerated tilemap layers.