首页 · Video & Audio · 精灵表制作

精灵表制作

把帧排到网格上,下载精灵表和 JSON 图集。

R runs. Esc cancels. D downloads.

Recent

Files you add show up here, on this device.

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

    正在等待文件。

    时长
    —
    帧
    —
    尺寸
    —
    文件
    —

    Try next

    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 精灵表制作 ahead of the usual version?

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