|Topic was automatically imported from the old Question2Answer platform.
In my game, when the player’s moving (don’t press anything and you’ll see the issue), the player’s circles look kinda weird.
The player parts are Area2D → CollisionShape2D → Sprite, the sprite is a 1024 x 1024 texture. The Area2D node is scaled 0.5, the sprite 0.0625 - the issue seems to disappear when changing the scale of both back to 1 (It could also be that it’s just not visible enough to notice then).
It’s fixed when using pixel snapping, but that causes everything to jiggle in a weird way and I’d rather have it looks smooth.
I tried a lot of stuff, like changing antialiasing settings, enabling mipmaps for the texture, a lot of flag combinations in the texture and so on. Replacing the texture with a 128 x 128 version didn’t seem to help either.
Is there a way to fix this?
Hi, i’ve downloaded the game, the yellow circle is the player? could we see some code?
p7f | 2018-11-30 14:43
I updated the post with a link to the project source
The player is the first yellow circle, the other ones follow the player.
Bingo | 2018-11-30 20:25
Hi, i see some little weird effect, but i do not know if it’s expected cause of the refresh rate or something. Could you post a gif image so i can confirm we are seeing the same effect? I’ve noticed in my computer that the problem is when the sprite is moving relative to screen. For example, if i add a Camera2D to the snakehead and set is as current so the snake is always “still” relative to screen, i see less weird effect on it, but start to notice it on the red circle below.
Sorry, is all i found
p7f | 2018-11-30 22:01
Well, here’s what I could record. I don’t think you can see it well though (freaking compression)
Bingo | 2018-12-01 00:34