Can 48 dragon frames fit on one 4096 px texture?
Yes, with a shared crop and a one-pixel gutter on every side. Our 48 original PNG frames are each 1376 × 768. Their visible pixels all fall inside the same 510 × 622 rectangle. Keep that rectangle for every frame and the packed sheet measures 4096 × 3744.

Change the gap
Keep the frames upright in a uniform grid and leave a separate gutter around each cell. The limit below applies independently to the width and height of each page.
| Source | Cell | Columns × rows | Pages for 48 |
|---|---|---|---|
| Original canvas, no gutter | 1376 × 768 | 2 × 5 | 5 |
| Shared crop, 1 px per side | 512 × 624 | 8 × 6 | 1 |
| Shared crop, 2 px per side | 514 × 626 | 7 × 6 | 2 |
Eight 512-pixel cells fit exactly across 4096. At 514 pixels, an eighth cell would end at 4112. There is room for 42 poses on the first page and six on a second. Engines with different texture limits or packers that rotate or trim each pose can give different results.
Keep the dragon at the same origin
Download the original 48 transparent frames in the Godot sample and open the frames folder. The shared crop begins 433 pixels from the left and 85 pixels from the top of the original canvas. Every frame uses that same offset. A separate tight crop on each frame would need its own offset.
To check frame 024, read its top-left source rectangle from the JSON file. Copy the 510 × 622 region from the atlas, leave out the gutter, and paste it at (433, 85) on a transparent 1376 × 768 canvas. Compare against frames/frame_024.png. We ran this check on all 48 frames, comparing the complete alpha channel and the image composited on black and white.
Open a smaller preview of the complete atlas to check the frame order. The download uses transparent gutters. Engines that use linear filtering or mipmaps may need copied edge pixels or more separation. Choose those settings for the target game before committing to the one-page layout. The JSON lists frame durations in milliseconds and top-left pixel coordinates.
Will the dragon jump when Godot changes texture pages?
Download the two-page Godot project (10 MB). Extract the folder, import project.godot and press F5. The scene opens on pose 42, the last cell of the first texture. Press Right once. Pose 43 comes from the top-left of the second texture. Use Left to compare the two poses, or Space to watch the full loop.
The dragon's wings move while its node stays at (405, 315). Both poses have the same 1376 × 768 logical canvas. In dragon.tres, each AtlasTexture uses the same margin position (433, 85). Its margin size (866, 146) restores the width and height removed by the common crop. The source region excludes the two copied edge pixels on each side. This example uses linear filtering with mipmaps off.
Page one measures 3598 × 3756 and holds 42 poses. Page two measures 3084 × 626 and holds six. We imported the project in Godot 4.7.2 and checked all 48 frame sizes, page assignments and durations. One complete loop takes 4.458 seconds at playback speed 1. Godot documents the two resource types in the AtlasTexture reference and the SpriteFrames reference.
Run the same dragon animation in Godot to see how a character can keep its facing direction when the arrow key is released. The project includes its own sprite sheet.
Try another animation
Create a sequence from your own character in FrameSprite. Once you have your PNGs, measure their common crop and enter the dimensions in the sprite sheet size calculator.
Measured by the FrameSprite team using the public bone dragon Fly sequence.