How do I use sprite sheets?

This depends on the game engine you are using. Usually, it works as follows:

  1. Load the sprite sheet into the game engine.
  2. Optionally, load a data file that provides extra information about each sprite (such as position, size, anchor points, etc.).
  3. To use a sprite from the sheet, tell the engine which sprite to render — and in some engines, also on which sheet it's located in.

See our tutorials section for more information.