Skip to content

Fix createFromTiles to handle multiple tilesets when using sprite sheets#7123

Merged
photonstorm merged 1 commit into
phaserjs:masterfrom
vikerman:master
May 23, 2025
Merged

Fix createFromTiles to handle multiple tilesets when using sprite sheets#7123
photonstorm merged 1 commit into
phaserjs:masterfrom
vikerman:master

Conversation

@vikerman
Copy link
Copy Markdown
Contributor

This PR

  • Fixes a bug

Describe the changes below:

Fixes #7122.

Properly use the starting index of the tileset while calculating the frame to be used for the sprite from the tileset image.

Fixes phaserjs#7122.

Properly use the starting index of the tileset while calculating the frame to be used for the sprite from the tileset image.
@photonstorm photonstorm merged commit 66f982b into phaserjs:master May 23, 2025
@photonstorm
Copy link
Copy Markdown
Collaborator

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TileMap.createFromTiles doesn't properly handle multiple tilesets

2 participants