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

Spritesheet generator ignores alpha levels on both png8 and png32

New Here ,
Dec 22, 2022 Dec 22, 2022

Hello all!

I would like to ask about the adobe animate symbol "generate spritesheet" feature.
I have a symbol that fades from 100% opacity to 0% opacity in 10 frames.
However, when I generate spritesheet, the frames are either at 0% opacity or 100% opacity.
This is expected behaviour of PNG8 format.
However, this behaviour is also observed when generating a PNG32 spritesheet, which is COMPLETELY UNEXPECTED BEHAVIOUR.

Does anyone know how to solve this?

Note: The opacity was adjusted using the frame's Color Effects tab, where I adjusted the alpha levels.

Any help would be greatly appreciated!

Attached is the screenshot of where I adjust opacity, and also a spritesheet generated that is supposed to have 10 frames, each with changing opacity.

Thank you

1.1K
Translate
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
Community Expert ,
Dec 22, 2022 Dec 22, 2022

you showed nothing helpful in your attachments.

 

for example, showing your export ss settings, would have been helpful:

 

kglad_0-1671730181530.png

 

 

but, at this point, you can probably just compare my settings (which work) to the settings you used, and fix your settings.

Translate
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 ,
Dec 22, 2022 Dec 22, 2022

Hello friend!
Thank you for the swift reply!
I attempted to follow your settings as closely as possible, but it does not work 😞

Screenshot 2022-12-23 at 3.14.15 AM.png

Each of the yellow squares should have a lower opacity than the one before but that isnt happening.
Any fix would be welcome!

Thank you

Translate
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
Community Expert ,
Dec 22, 2022 Dec 22, 2022

i don't see any problem (though those are sketchy looking size params)

 

kglad_0-1671736983685.png

 

 

 

you could try resetting your preferences:

 

remove

 

Win:

C:\Users\<username>\AppData\Local\Adobe\Animate CC <version>\ and

C\Users\<username>\AppData\Roaming\Adobe\Animate\<version>\

 

Mac:

/Users/<username>/Library/Application Support/Adobe/<Animate CC version>/ and /Users/<username>/Library/Preferences/Adobe/Animate/<version>/

Translate
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 ,
Dec 22, 2022 Dec 22, 2022

In your screenshots, are you directly adjusting the opacity of the lines and fills? Or are you adjusting the alpha on the frame level?

If I adjust the opacity of the lines and fills, the export works properly.

However, if I adjust the alpha on the frame (The frame within the symbol), it plays perfectly within adobe animate, but when I export it the alpha levels of the frame are not recognized, as shown in my screenshots.

I have tried your suggestion of resetting my preferences to no avail 😞

Translate
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
Community Expert ,
Dec 23, 2022 Dec 23, 2022

@PiakPiak 

 

read @Mario_CR's post.  he saw you were making an obvious error by using a frame color effect and trying to apply a motion tween to it. 

 

for me trying to duplicate your steps, i can't create a motion tweened frame property. can you?  eg, when you play that tweened timeline, do you see a gradual fade change?

 

i didn't check your first post carefully enough to realize that's what you were trying to do.  it never occurred to me that anyone would try that.

 

what you should do is add your object to a keyframe in a timeline layer by itself, add your motion tween, size it, move the playhead to the end-frame of your tween, click the object to select and change its properties (alpha, tint, position, size, etc etc).  you can change many properties in one tween.  but use the object's properties.

Translate
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
Community Expert ,
Dec 23, 2022 Dec 23, 2022

I made a quick video below to demostrate the issue and solution better. Let us know if this works for you.

 

In short, going to Properties > Frame > Color Effects > Alpha will not render in the spritesheet.

Go to Object > Color Effects > Alpha instead.

The same effect is accesible both at object level and frame level. Only object level effects will be exported in the spritesheet.

Translate
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
Community Expert ,
Dec 23, 2022 Dec 23, 2022

@Mario_CR 

 

is it even possible to use frame color effects and a motion tween to create a timeline tween that works?

Translate
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
Community Expert ,
Dec 23, 2022 Dec 23, 2022

Modern Motion Tweens you mean? I don't think it's even an option for them.

You can do it with Classic Tweens, frame effects can be classic tweened as well.

Translate
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
Community Expert ,
Dec 23, 2022 Dec 23, 2022
LATEST

@PiakPiak and @Mario_CR 

 

my apologies.  i confused another post with this one and thought a motion tween was being used.  

Translate
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
Community Expert ,
Dec 22, 2022 Dec 22, 2022

This is a known bug with frame filters. Convert the frames to symbol and apply the alpha effect on the symbol itself instead of the frame, then it will export.

Translate
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
Community Expert ,
Dec 22, 2022 Dec 22, 2022

how can you even create a motion tween in a layer that has a frame with a color effect without removing the color effect?  or how can you create a color effect on a frame, add a motion tween and then change the color effect?

 

ie, it's no surprise that a frame color effect won't work with a motion tween on the timeline during testing before you even get to the spritesheet.

Translate
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