ruagodplatelicker

–views

Machine translated

    ruagodplatelicker

    Sprite dahon

    Buksan ang sprite dahon. Walang lumalabas sa tab na ito.

    R runs. Esc cancels. D downloads.

      Padding is the gap between cells, not an outer margin. The JSON lists each frame’s name and pixel rectangle.

      Naghihintay ng file.

      Tagal
      —
      Mga frame
      —
      Mga sukat
      —
      File
      —

      How to pack a sprite sheet

      1. Drop frames that share a cell size. Mixed sizes are centered in a cell as large as the biggest frame.
      2. Set the column count and the padding between cells.
      3. Download a zip with spritesheet.png and spritesheet.json.

      Questions

      What does the JSON look like?

      It records the sheet size, cell size, columns, padding, and an array of frames with name, x, y, w, and h.

      Is the order the order I dropped them?

      No. Names are sorted so cell_2 comes before cell_10. Rename files if you need a different order.

      Are the images uploaded?

      No.

      How is Sprite dahon ahead of the usual version?

      A whole drop of frames is packed into one sheet plus JSON.