Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Downloads

  • Subpixel Project Files.zip

Missing 1 full-res photo, 1 file, as this post has not yet been imported.

Content

Remove pixel snapping / jitter from your pixel art game with this subpixel fix!

Pixel snapping occurs in pixel art games that use upscaling and smooth / lerp the camera.

To see the difference, detach the script on the camera in the Game.tscn scene, then attach the camera.gd script in its place to see how bad the pixel snapping is.

This fix works by getting an offset which is the distance between the camera's subpixel position and the nearest pixel perfect position. Then we move the whole screen by this offset which fixes pixel snapping.

Files

Previews only

Comments

No comments found for this post.