Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renderTexture.fill() doesn't properly fill the texture #4390

Closed
Jerenaux opened this issue Feb 21, 2019 · 2 comments
Closed

renderTexture.fill() doesn't properly fill the texture #4390

Jerenaux opened this issue Feb 21, 2019 · 2 comments

Comments

@Jerenaux
Copy link

Version

  • Phaser Version: 16.1
  • Operating system: Window 10
  • Browser: Chrome

Description

When filling a renderTexture (with fill()), the fill doesn't appear at the right coordinates.

Example Test Code

It works in version 15.1, as can be seen in this fiddle, which shows the intended behavior.

It doesn't work properly in version 16.1 anymore, as can be seen in this fiddle (the black area should touch the white one).

@photonstorm
Copy link
Collaborator

Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.

cristlee pushed a commit to cristlee/phaser that referenced this issue Oct 1, 2019
…fill rect, causing it to appear in the wrong place and the wrong size. Fix phaserjs#4390
@LorenzoBoccaccia
Copy link

23.0 is showing some more fill positioning issues https://jsfiddle.net/f2maodx9/

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

No branches or pull requests

3 participants