Gridwright Studio

Godot Pixel-Perfect SetupGodot 4 Pixel Perfect Settings and Camera

Opening Godot Pixel-Perfect Setup…

The Godot Pixel-Perfect Setup fixes the two things that make pixel art look wrong in Godot 4: blurry sprites and a camera that jitters. It walks through the six settings that matter (texture filter, resolution and integer scaling, pixel snapping, the camera, fonts and imports), with live demos that show each problem next to its fix.

Pick your game's resolution and the window it opens in, and it writes the lines for project.godot: Nearest filtering, stretch mode viewport or canvas_items with integer scaling, and snapping to whole pixels. The camera script follows your player with smoothing but keeps the camera on whole pixels by rounding the distance between them, so the player never shakes against the background.

Everything comes as one ZIP with a README, and the settings and the script were tested in Godot 4.7.2. Try the demo on this page, no account needed.

Know someone who needs this? Send it to them

A first session

  1. 1Pick your game's resolution, the window size and the stretch mode.
  2. 2Watch the demos and tick off each step of the checklist in your project.
  3. 3Download the ZIP and paste project_settings.txt at the end of project.godot.
  4. 4Put pixel_camera.gd on your Camera2D and drag the player into Target.
It exports
  • project.godot settings
  • Pixel-perfect Camera2D script (GDScript)
  • README with the checklist
Try the demo, then buy it
Try the demo on our example, no account needed. Your own files and every download come with the tool, bought once.
Can I use what I make in a commercial game?
Yes. What you make with the tools is yours to use in your games, commercial ones too, under the Gridwright licence.

Packs that work with it

Guides for this tool

More tools

All 30 tools on one page