Skip to content

ShadowMario/Carrot-Animate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Carrot-Animate

Carrot-Animate is a Love2D library for rendering Adobe Animate's Texture Atlas format.

With two different rendering modes, for personal preferences and different use cases.


Details

About rendering modes:

  • Direct Draw: Default, renders elements of a symbol directly into screen every frame.
  • Canvas: Can be activated by calling the makeCanvas function, renders elements of a symbol into the configurated canvas and only redraws it when animation changes frame for better optimization.

Known Issues

  • Color Effects do not work (Tint, Alpha, Brightness, etc.)
  • Looping modes other than "Play graphic in loop" do not work. (Play graphic once, Single frame, Reverse once, Reverse loop)
  • Rotated frames will be displayed with a clockwise 90-degrees rotation.
  • Blend modes do not work. (Add, Overlay, Multiply, etc.)
  • Frame filters do not work (Blur, Shadow, etc.)
  • Masks do not work.
  • Children do not move according to the parent.

Limitations

  • Only Adobe Animate 2021 and forward work, this is due to the formatting being changed for being more compact, support for older versions may be added later on, but its not the main priority.
  • On Direct Draw mode, sprite shaders may act weirdly as the shader affects every element of the animation individually, similar problem with opacity.
  • On Canvas mode, sprites can be cut-off if the canvas is too small/offsets aren't properly adjusted.

License

Software

Carrot-Animate is licensed under the MIT License. See LICENSE for details.


Third-Party Libraries

  • json4lua - Used only for the demo, JSON encoding/decoding @ Craig Mason-Jones - MIT License

About

A Love2D library for rendering Adobe Animate's Texture Atlas format.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages