Skip to content
AI-powered appsNewChat, vision, voice, generationBookings & schedulingAppointments that book themselvesShops & sellingA storefront in every pocketClient & businessRun the operation from one placeCommunities & clubsA home that is not a group chat
Health & wellnessHabits, tracking and calmGames2D, 3D and multiplayerPersonal & toolsThe tool you wish existedInternal toolsThe tool ops never had time for
See all use cases
ArcadeNewPricingSecurity
EngineThe game engine and World EditorHow it worksFrom one sentence to a live productDocsGuides for building and publishingBlogStories, guides and newsChangelogWhat shipped latelyStatusUptime of every serviceSupportGet help from the team
AI-powered appsBookings & schedulingShops & sellingClient & businessCommunities & clubsHealth & wellnessGamesPersonal & toolsInternal tools
See all use cases
ArcadeNewPricingSecurity
EngineHow it worksDocsBlogChangelogStatusSupport
Language
Blog
GlossaryNovember 22, 20263 min read

What is a sprite sheet?

One image, dozens of frames. Here is how sprite sheets and texture atlases work, the numbers to start from, and the bugs they cause when the grid is off by a pixel.

Startbase Team
Editorial ink illustration of a sheet of postage stamps showing frames of a running fox, the half-torn stamp in ember orange

Key takeaways

  • A sprite sheet is one image holding many frames or graphics; the game shows one rectangle of it at a time.
  • Uniform grids suit animations; packed atlases with a JSON map suit mixed-size graphics.
  • One sheet means fewer downloads and fewer draw calls, which is why games use them on phones.

Picture one image file laid out like a contact sheet, with every frame of a character's run, jump and idle animation (or many different small graphics) arranged side by side: that file is a sprite sheet, and the game displays one rectangle from it at a time to animate or draw.

It works like a strip of film or a sheet of stamps. Instead of keeping 40 loose photos of a running fox, you keep one sheet and point at frame 7, then frame 8. Flip through quickly and the fox runs.

How a sheet is laid out

There are two common shapes:

  • A uniform grid. Every frame is the same size, for example 64 by 64 pixels, in rows: row 1 idle (4 frames), row 2 run (8 frames), row 3 jump (3 frames). The game finds frame n with simple arithmetic: column = n mod columns, row = n div columns.
  • A packed atlas. Graphics of different sizes are squeezed together to waste less space, with a JSON file that lists each one's name and rectangle, such as { "coin": { "x": 128, "y": 0, "w": 24, "h": 24 } }. PixiJS loads this format directly.

Animation speed is a separate setting from the frames: 8 to 12 frames per second is a good starting point for pixel-art runs, while the game itself still draws at 60. A run cycle of 8 frames at 10 fps loops every 0.8 seconds.

Why games bother

Loading 60 separate small images means 60 network requests, and drawing them can mean switching textures constantly. One sheet loads once, and sprites that share a texture can be batched into fewer draw calls, which is often the difference between smooth and choppy on a mid-range phone. The limit is size: keep each sheet at or below 2048 by 2048 pixels as a safe starting value for phones, and split by level or character beyond that.

Bugs that come from sprite sheets

  1. 01Bleeding edges. A thin line of the neighboring frame flickers at the border. Leave 1 to 2 pixels of padding between frames and extrude edges.
  2. 02Jitter. Frames drawn at different positions inside their cells make the character wobble. Keep the feet on the same baseline in every frame.
  3. 03Blurry pixel art. Smoothing filters blur crisp pixels when scaled. Pixel games need nearest-neighbor scaling and whole-number zoom levels (pixel art style guide).
  4. 04Wrong frame count. Off-by-one grids make the last frame show half of the next row. Check columns, rows and total frames match the image.

Sprite sheets in a Startbase game

The agent can generate game art and wire it in, and the Assets view lists the images your game uses. For animated characters, a sheet with a clear grid is the easiest thing to hand over or ask for. If you bring your own art, attach the image and state the frame size and which row is which animation; guessing frame sizes is where most animation bugs start. For how generated art fits in, see AI-generated images for apps.

I attached a sprite sheet: 64x64 frames, 8 columns. Row 1 is idle (4 frames), row 2 is run (8 frames), row 3 is jump (3 frames). Play idle at 6 fps, run at 10 fps, hold the last jump frame while airborne, and use nearest-neighbor scaling so the pixels stay sharp.

Common confusions

  • Sprite vs sprite sheet. A sprite is one drawn object on screen; the sheet is where its images are stored.
  • Atlas vs tileset. A tileset is a sprite sheet of level tiles laid on a grid, see tilemaps explained.
  • Animation fps vs game fps. A character can animate at 10 fps inside a game running at 60.

Frequently asked questions

What size should sprite sheet frames be?

Pick one size per character and keep it consistent. 32x32 or 64x64 are common for pixel art; larger illustrated characters often use 128 or 256 pixel cells.

What is the difference between a sprite sheet and a texture atlas?

People use the words loosely. Sprite sheet usually means animation frames on a grid; texture atlas usually means mixed graphics packed tightly with a data file of positions.

On this page

  • How a sheet is laid out
  • Why games bother
  • Bugs that come from sprite sheets
  • Sprite sheets in a Startbase game
  • Common confusions

Keep reading

More in Glossary
Editorial ink illustration of a hand-cranked music box drum plucking a metal comb, the crank handle in ember orange
GlossaryNovember 22, 2026

What is a game loop?

Every real-time game runs one repeating cycle: read input, update the world, draw it. Here is what that cycle looks like and why it decides how your game feels.

3 min read
Editorial ink illustration of a brass stopwatch beside a small wind-up toy car, the second hand in ember orange
GlossaryNovember 22, 2026

What is delta time?

Delta time is the number that keeps your game the same speed on every screen. Here is how to use it, where it breaks, and how to spot a game that forgot it.

3 min read

Read less. Ship more.

Everything in this post is one prompt away. Describe your app and watch it build.

Start building

Apps, games, backends and publishing from one conversation.

Product

  • Features
  • Use cases
  • Pricing
  • Changelog

Resources

  • Blog
  • Docs
  • Support
  • Status
  • Security

Contact

  • w@startbase.ai
  • X / Twitter
  • LinkedIn
  • Instagram

Legal

  • Terms
  • Privacy

© 2026 Startbase. All rights reserved.