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

Pixel rounding issue? #lerp #camera #nearest #2155

Open
PascalLadalle opened this issue Dec 27, 2020 · 2 comments
Open

Pixel rounding issue? #lerp #camera #nearest #2155

PascalLadalle opened this issue Dec 27, 2020 · 2 comments
Labels
🐛 bug This is a bug impacting users

Comments

@PascalLadalle
Copy link

Enlarged low-resolution pixel perfect game with lerp camera motion creates distortions.

Example attached.
Run preview, use left/right arrows and look at the character's vertical eye when the camera slows down. Thickness varies until camera is static.
image
image

testingPixelArt.zip

source: https://forum.gdevelop-app.com/t/my-pixel-art-game-have-some-problem/29513

@Bouh
Copy link
Collaborator

Bouh commented Dec 27, 2020

Is there any chance that it is related to this?
pixijs/pixijs#7049

@PascalLadalle
Copy link
Author

PascalLadalle commented Jan 10, 2021

Forwarding an example from the Discord, resolution is 96*64

balls.mov

Solved by doubling the game's resolution.

@Bouh Bouh added the 🐛 bug This is a bug impacting users label Oct 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug This is a bug impacting users
Projects
None yet
Development

No branches or pull requests

2 participants