Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A library for Love2D to display Adobe Animate texture atlases, similar to FlxAnimate or GDAnimate.

License

Notifications You must be signed in to change notification settings

swordcube/loveanimate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

25 Commits

Repository files navigation

loveanimate

A library for Love2D to display atlases/spritesheets generated from Adobe Animate, similar to FlxAnimate or GDAnimate.


❓ What formats are supported?

  • Texture Atlas (Adobe and BTA, supports optimized and unoptimized variants)
  • Sparrow Atlas (v1 + v2)

❓ How do I test this out?

There are several examples to try out here!

Simply run the project with love . to immediately test. You can add the name of an example to test aswell, for example: love . lyric


πŸ’‘ Example Usage

Loading and playing a texture atlas

-- This is the only line you need to import love.animate
require("loveanimate")
local atlas = nil
function love.load()
 atlas = love.animate.newTextureAtlas()
 -- my_atlas is a folder containing all of the images/data for the atlas,
 -- Make sure to use the folder path and NOT the path to any of the 
 -- contents of the folder.
 atlas:load("my_atlas")
 -- Starts playing a specific symbol.
 -- If none is specified, every symbol will be played, 
 -- one after the other.
 atlas:play("my_symbol")
end
function love.update(dt)
 atlas:update(dt) -- Make sure to update the atlas object!
end
function love.draw()
 atlas:draw() -- Can't see the atlas if you never draw it!
end

πŸ“œ TODO

  • Color Transform (needs more testing)

About

A library for Love2D to display Adobe Animate texture atlases, similar to FlxAnimate or GDAnimate.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /