Answer

How do you make a pixel art game look sharp on every phone?

Render the game at a fixed low internal resolution, scale it up by whole-number factors with nearest-neighbor filtering, and let the extra space on wider or taller phones show more of the world instead of stretching pixels. Snap sprites and the camera to the pixel grid, and keep the interface inside each phone's safe area.

Why pixel art breaks on phones

Phones come in many resolutions and aspect ratios, and very few of them are a neat multiple of a pixel art game's base resolution. When the engine scales a 320×180 image to fill an arbitrary screen, some art pixels become three screen pixels wide and their neighbors become four. The result is uneven lines, wobbling sprites and shimmer when the camera moves.

Four other problems make it worse: bilinear texture filtering that blurs edges, texture compression that smears colors, sprites that move by fractions of a pixel, and interface elements placed under a notch or rounded corner. Fixing a pixel art game for mobile means dealing with all five.

Step 1: pick a base resolution and scale by whole numbers

Choose a base height that divides well into common phone heights in landscape, or a base width for portrait games. Then scale the whole image by the largest whole number that fits. A 180-pixel-tall base scales exactly 6× on a 1,080-pixel-tall screen. On a 1,170-pixel-tall screen, 6× leaves a thin band of 90 pixels, which you fill with a frame or extended background. Our guide to choosing a resolution and sprite size explains how to pick the base in the first place.

If thin borders are unacceptable, a common fallback is to render at a whole-number scale and apply one final smooth resize to fit the screen. Edges soften slightly, but every art pixel stays the same size, which looks far better than uneven scaling.

Step 2: handle different aspect ratios

Lock one axis and let the other grow. In a landscape platformer, fix the visible height and show more level to the left and right on wider phones. Design levels, cameras and enemy spawns so a wider view never reveals something the player should not see yet, and test the narrowest and widest ratios you support. Stretching the image to fill the screen is the one option that always looks wrong.

Step 3: filtering, compression and import settings

Every sprite and tile should use nearest-neighbor (point) filtering, no mipmaps and no lossy compression. Lossy GPU formats blend neighboring pixels, which destroys the hard edges pixel art depends on. Bitmap fonts should be drawn at their native size or a whole-number multiple of it.

SettingUnityGodot 4
FilteringTexture Filter Mode: PointDefault texture filter: Nearest
CompressionCompression: NoneImport as lossless
ScalingPixel Perfect Camera componentStretch mode viewport, scale mode integer
Grid snappingPixel Perfect Camera snapping options2D transform and vertex snap settings
Safe areaScreen.safeAreaDisplayServer.get_display_safe_area()

Setting names move between engine versions, so confirm them in the current Unity and Godot documentation. For a side-by-side look at both engines, see Godot vs Unity for pixel art games.

Step 4: camera, movement and interface

  • Snap the camera. Round the final camera position to whole art pixels so the world does not shimmer while scrolling.
  • Keep smooth physics. Store positions at full precision for movement and collisions, and round only when drawing.
  • Anchor the interface. Pin buttons and health bars to screen edges inside the safe area so notches, punch-hole cameras and gesture bars never cover them.
  • Size touch targets in screen space. Buttons drawn in pixel art still need to be large enough for a thumb, which may mean a higher interface scale than the game view.

The deeper technical background, including cameras and render textures, is in how to keep pixel art crisp.

Test on real hardware

Simulators hide filtering and scaling problems. Keep a small set of real phones covering a wide and a narrow aspect ratio, a notch or punch-hole, and a mid-range Android device, and review every build on them. Screenshots at native resolution, zoomed in, quickly show uneven pixels. Our pixel art game development team builds this checklist into every mobile project. If your game already looks soft or uneven on some devices, send us a build.

Questions

Follow-up questions

What base resolution should a mobile pixel art game use?

There is no single correct answer. Pick a base that gives your sprites enough room to read on a small screen and that scales by whole numbers onto common phone heights. Prototype two or three options on real phones before committing.

Why does my pixel art look blurry on iPhone but fine in the editor?

Usually the texture filtering or compression on the device build differs from what you see in the editor, or the final image is scaled by a non-whole factor to fit the screen. Check import settings per platform and the scaling setup.

Should a pixel art game support portrait and landscape?

Only if the design works in both. Supporting both adds layout and testing work for every screen. Most action games choose landscape, while many puzzle and idle games choose portrait for one-handed play.

Can the interface use a higher resolution than the game?

Yes. Many games render the world in strict pixel art and draw menus and text at a higher scale so they stay readable. Keep the style consistent by using the same palette and a pixel font drawn at whole-number sizes.

Making a pixel art game for mobile?

We build pixel art games that stay crisp on every screen, from first prototype to store launch.

Pixel art game development