Skip to main content
Participant
December 22, 2022
질문

Spritesheet generator ignores alpha levels on both png8 and png32

  • December 22, 2022
  • 2 답변들
  • 874 조회

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

    이 주제는 답변이 닫혔습니다.

    2 답변

    Mario_CR
    Community Expert
    Community Expert
    December 23, 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.

    kglad
    Community Expert
    Community Expert
    December 23, 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.

    kglad
    Community Expert
    Community Expert
    December 22, 2022

    you showed nothing helpful in your attachments.

     

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

     

     

     

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

    PiakPiak작성자
    Participant
    December 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 😞

    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

    Mario_CR
    Community Expert
    Community Expert
    December 23, 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 😞


    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.