• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Export sprite sheet with fixed frame dimensions

Community Beginner ,
Nov 02, 2022 Nov 02, 2022

Copy link to clipboard

Copied

Is there a way to use the spritesheet exporter so that every frame is on a fixed width/height grid? I see that I can change the output texture map resolution, but what I really want is for each *frame* to be on a square transparent frame, i.e. a grid of 128x128 sprites with transparent backgrounds. I need this for a game I am working on that imports sprites at runtime for my game animation students to add custom animated sprites to.

 

The best way I have found to do this is a hacky workaround - I put a transparent square on the bottom layer of my movie clip, and resize my movie clip to a power of 2 (minus one, since the info panel doesn't reflect float values) so it fits on a document without adding extra padding on the right... but it's annoying!!! what if my sprite is meant to be 46x46? I was so happy to find that Animate supported sprite sheet exporting, but I wish it were just slightly more robust and customizable. As it is, I think I will have to completley rewrite my importer to support image sequences, which is.... also annoying.

 

Alternatively, does anyone know of a plugin that would support this functionality?

Views

150

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 02, 2022 Nov 02, 2022

Copy link to clipboard

Copied

LATEST

The best way to export to a sprite sheet is to have the animation inside a graphic symbol. And it must be on the stage, a in the context menu is marked export as sprite sheet. If it is too large, it is scaled enough to match the desired size. If you work with Unity, there is this asset that is used to import sprites.

 

https://assetstore.unity.com/packages/tools/sprite-management/flash-sprite-sheet-importer-53520


____
2D vector animator since 2000 & PhD

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines