Skip to content

Sprites with an even dimension have antialiasing when stretched. #7979

@GDDEGabriel

Description

@GDDEGabriel

Is there an existing issue for this?

Describe the bug

Continuation of #7903

Sprites with an even dimension ( ex : 16x16 ) have antialiasing applied when stretched, while sprites with an uneven dimension ( ex : 16x24 ) don't.

Image

This is an image of the same object with 2 different animations, one with 16x16 and another with 16x24 that has the same contents.

In a pixel art project, the one on the right is ideal. This also happens with particles and other objects.

Steps to reproduce

Create a sprite with an even dimension and stretch it in any way.
Create another sprite with an uneven dimension and stretch it in any way.
Compare the two.

aaTest.zip

GDevelop platform

Desktop

GDevelop version

5.5.245

Platform info

Additional context

I have no idea why this would be the case, i first noticed this on my main project and then made a test project to check if i wasn't going crazy!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions