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

Animate 22.0.2 resized Texture Atlas shapes position problems in the resulted "atlas.png"

New Here ,
Feb 16, 2022 Feb 16, 2022

Copy link to clipboard

Copied

Hi, never used flash before yesterday.

 

I'm trying to upscale an animation (animation composed from multiples symbols accross the .fla file) , the animation is in a Symbol, before exporting it in "Export to Texture Atlas" to have the Atlas.png and Json related but :

 

When I use the "Resolution" option in the texture atlas, the textures are fine and not missaligned (resolution x2 or x3), but its still too small for my use sor I want bigger :

 

1.png

 

Then I tried resizing manually (I resized every frames with the "Edit multiple frames"), the resulted Atlas is effectily bigger but with misaligned textures :

 

2.png

 

The .fla was originally created in Macromedia Flash 8 so I tried it to resize etc. But same problems occures. I put the .fla file in download, the symbol (that contains the animation I'm trying to resize) is the Symbol 82.

 

FLA FILE 

 

Do you know what is going on, why can't I resize it without misaligned texture etc. ? Thanks.

Views

200

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
New Here ,
Feb 16, 2022 Feb 16, 2022

Copy link to clipboard

Copied

I don't see the edit button sorry, but the black shapes on the second screen are the outlines of other shapes, they are normally superposed to their respective shapes.

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
Guru ,
Feb 16, 2022 Feb 16, 2022

Copy link to clipboard

Copied

I tried to open the FLA, but nothing loads on the stage, because of an 'invalid instance name'.

 

Anyhow, what you can try is scale up your contents on the stage (as you have done) and use Zero Transform to reset the matrices of your symbols. This will most likely help with the export.

 

Nick - Character Designer and Animator, Flash user since 1998
Member of the Flanimate Power Tools team - extensions for character animation

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
New Here ,
Feb 16, 2022 Feb 16, 2022

Copy link to clipboard

Copied

The scene is empty, the game was build like that. The animations are in symbols,  the one I'm trying to scale is in Symbol 82 (you can open it).

 

I tried the Zero Transform thing, but from what I saw, it changed nothing, are you talking about the

"Set Reg Point to Transform Point" command ? with the "Zero Transform" option ?

 

It didn't seem to work, do you know another tool to reset the matrices of the symbols ?

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
Guru ,
Feb 16, 2022 Feb 16, 2022

Copy link to clipboard

Copied

I had no difficulty fixing it with Zero Transform.

You need to Zero T not only the wrapper but the body parts as well.

 

Here is the fixed FLA.

 

However, the setup of the rig is absurd with a million of unnecessary nested symbols.

 

Upped the container size to 300% and here is the 3x atlas:

 

spritemap1.png

Hope this helps.

 

Nick - Character Designer and Animator, Flash user since 1998
Member of the Flanimate Power Tools team - extensions for character animation

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
New Here ,
Feb 17, 2022 Feb 17, 2022

Copy link to clipboard

Copied

Thanks, it works great.

 

But to be sure, do I have to resize every body part in every frame ?

 

And when you're talking about "wrapper", what are you referencing, the whole stage ?

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
Guru ,
Feb 17, 2022 Feb 17, 2022

Copy link to clipboard

Copied

LATEST

The wrapper in this case is "Symbol 82".

I dragged it onto the stage and scaled it up numerically to 300% via the Transform panel.

Then I reset its matrix using Zero Transform, which makes it 100%, but pushes the transformations internally, where you have frames and layers.

 

You need to Zero T once each of these symbol instances inside, not every frame. Zero T loops through all of them.

Before you do it, though, go inside those and break apart everything within the body part symbols. Unnecessarily, there were many nested symbols in there.

 

That's it.

Takes about 3-4 minutes to do it. 

You can up the initial res to more than 300% if you like.

 

Nick - Character Designer and Animator, Flash user since 1998
Member of the Flanimate Power Tools team - extensions for character animation

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