phaserjs / phaserjs/phaser

[3.86.0] Gaps/lines between the images on camera move

Open
#6,927 21 comments 2 reactions 1 assignee View on GitHub

@zekeatchan is already working on this.

Since Feb 6, 2025.

🎥 Camera
Dominant language
JavaScript
Stars
40.3k
Forks
7.2k
PR merge metrics
No merged PRs in 30d

Description

Version

3.86.0

Operating system

Windows 11, Google Chrome 129.0.6668.101

Description

If you place four graphics next to each other, a visible line will appear between them. Something similar happened to me on 3.85.X, but it was always visible on specific camera zoom. This time it appears on camera moving; there is a position when it is not visible. Changing "pixel perfect" in the config doesn't change anything. This is a regression bug; the last stable version is 3.80.1.

Expected behaviour

There's no gaps between the images

Example Test Code

backgroundImages.forEach(image => { const bgImage = this.add.image(image.x, image.y, image.key); bgImage.setDisplaySize(image.displayWidth, image.displayHeight); if (image.origin) { bgImage.setOrigin(image.origin.x, image.origin.y); } });
phaser_bugless_0
phaser_bug_1

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.