phaserjs / phaserjs/phaser

Unable to use multiatlas for tileset

Open
#7,021 2 comments 1 reaction 1 assignee View on GitHub

@zekeatchan is already working on this.

Since Feb 5, 2025.

🗺️ Tilemap Phaser 4
Dominant language
JavaScript
Stars
40.3k
Forks
7.2k
PR merge metrics
No merged PRs in 30d

Description

Version

  • Phaser Version: 3.87 and 4 Beta 5
  • Operating system: Windows 11, Android 14, iOS 17
  • Browser: Windows - Chrome, FIrefox / macOS - Safari / Android - WebView / iOS - WKWebView

Description

When loading multiatlas to my scene I have no problem selecting frames from each PNG file via this.add.image(0, 0, "multiatlas", "water"). But when I tried the same with tileset created as Tileset object, I am able to select only frames from first PNG file. Other files are not accessable. There is no error in console just black tile is displayed.

Example Test Code

Image

Image

Additional Information

Multiatlas were created via TexturePacker Pro. Selected format was Phaser 3.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.