<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Tool Buddy</title>
    <description>The latest articles on DEV Community by Tool Buddy (@tool_buddy_io).</description>
    <link>https://dev.to/tool_buddy_io</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3936132%2F02bb82cd-bda4-4282-b204-4781fa89b2ac.png</url>
      <title>DEV Community: Tool Buddy</title>
      <link>https://dev.to/tool_buddy_io</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tool_buddy_io"/>
    <language>en</language>
    <item>
      <title>Packing sprite atlases for Unity, Godot, Phaser and Cocos without a desktop tool</title>
      <dc:creator>Tool Buddy</dc:creator>
      <pubDate>Wed, 02 Dec 2026 06:33:40 +0000</pubDate>
      <link>https://dev.to/tool_buddy_io/packing-sprite-atlases-for-unity-godot-phaser-and-cocos-without-a-desktop-tool-2mei</link>
      <guid>https://dev.to/tool_buddy_io/packing-sprite-atlases-for-unity-godot-phaser-and-cocos-without-a-desktop-tool-2mei</guid>
      <description>&lt;p&gt;If you have a folder of sprites and a deadline, the image part of a texture atlas is easy. The settings around it are what come back as bugs after import: the data format, the maximum sheet size, how transparent edges are trimmed, padding, and how frame names are written.&lt;/p&gt;

&lt;p&gt;This post walks through those settings, how to check an atlas before exporting it, and when to split it into several pages. I'll use &lt;a href="https://www.toolbuddy.io/texturepacker" rel="noopener noreferrer"&gt;ToolBuddy's TexturePacker&lt;/a&gt;, a free browser packer I built, but the checklist applies to any packer.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you actually need from an atlas tool
&lt;/h2&gt;

&lt;p&gt;A single "pack" button isn't enough once the atlas goes into a real game. Sheet size, padding, trimming and the data format all affect whether frames render correctly and how much texture memory you use, so you want to set them yourself, and see the result before you export.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Data files for Unity (three flavours), Godot, Unreal, MonoGame, Pixi, GameMaker, O3DE, Construct 3, Phaser, Cocos, CSS and generic JSON.&lt;/li&gt;
&lt;li&gt;Sheets from 256 to 4096 px per side, optional power-of-two or square sizing, and multipack when everything won't fit on one page.&lt;/li&gt;
&lt;li&gt;A live preview of the packed sheet, so you can see trimming, rotation and spacing before exporting.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Packing step by step
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Add sprites one by one or pick a whole folder.&lt;/li&gt;
&lt;li&gt;Choose the data format your engine expects and the maximum sheet size.&lt;/li&gt;
&lt;li&gt;Adjust trim and padding. For pixel art, set scaling to pixelated so resized frames stay crisp.&lt;/li&gt;
&lt;li&gt;Build the preview and look at the awkward cases: tiny UI icons, sprites with lots of empty space, anything that got rotated.&lt;/li&gt;
&lt;li&gt;Export. You get a ZIP with the numbered atlas PNGs and the data file for your format.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  One atlas or several?
&lt;/h2&gt;

&lt;p&gt;For a small or medium sprite set, one sheet is simpler to load and manage. For a big library, one sheet either won't fit under your size limit or ends up wastefully large. Multipack spreads the sprites across as many pages as needed and writes the data to match. If multipack is off and the sprites don't fit, the packer tells you instead of quietly dropping frames.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Keep a compact UI set on one sheet.&lt;/li&gt;
&lt;li&gt;Turn on multipack when a big set won't fit, or when you want pages you can load separately.&lt;/li&gt;
&lt;li&gt;Mobile targets often want smaller pages; a desktop game can usually take a single 4096 sheet. Compare the preview at each size before deciding.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  After exporting
&lt;/h2&gt;

&lt;p&gt;If the atlas is still heavy, turn on image optimisation or shrink the source images first, then repack. If the atlas belongs to a Spine character, open it in a Spine viewer and check that every region still maps to the right attachment.&lt;/p&gt;

&lt;p&gt;That's the loop: pack, trim the weight where it matters, and confirm it plays before anyone imports it.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on the &lt;a href="https://www.toolbuddy.io/blog/texture-packer-online-sprite-atlas-workflow-guide" rel="noopener noreferrer"&gt;ToolBuddy blog&lt;/a&gt;. I'm Ankit; I build ToolBuddy, free browser tools for game devs, developers and creators. Happy to answer atlas questions in the comments.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>gamedev</category>
      <category>unity3d</category>
      <category>godot</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
