TilemapGPULayer Animated tiles breaks if 2 or more animated tiles are present in tileset
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 40.3k
- Forks
- 7.2k
- PR merge metrics
- No merged PRs in 30d
Description
- Phaser Version:
4.2 - Operating system:
Windows 11 - Browser:
Google Chrome
Description
As soon as 2 or more animated tiles are defined in a tileset all animated tiles apart from the first stop working in a TilemapGPULayer
Example Test Code
https://stackblitz.com/edit/vitejs-vite-hrfwkpon?file=src%2Fmain.js
Should render like:
https://github.com/user-attachments/assets/a5406819-b28b-4024-b8cc-3c7c9a8d064f
Additional Information
It would be great if creating examples like this was a more straightforward process
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the linked StackBlitz reproduction in Chrome and inspect the TilemapGPULayer path responsible for animated tiles. Compare rendering with one versus two animated tiles in the tileset; done means every animated tile continues rendering and animating when multiple animated tiles are present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics, game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 56/100