Using Love2D to create gif animations?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
unixfreak
Citizen
Posts: 82
Joined: Thu Oct 15, 2015 6:25 am
Location: Bristol, UK
Contact:

Using Love2D to create gif animations?

Post by unixfreak »

Just an idea that popped into my head.

Some people might remember this classic windows freeware;
https://en.wikipedia.org/wiki/Pivot_Animator

I haven't used it in about a decade, so it's probably alot more advanced than it used to be, but i'm wondering if anyone has used Love2D to make something with a similar concept. Are there any existing projects or libraries that can handle the creation of gifs using the Love"D framework? And possibly some kind of animator program someone may have made?
User avatar
zorg
Party member
Posts: 3470
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: Using Love2D to create gif animations?

Post by zorg »

Loader:
- https://love2d.org/forums/viewtopic.php?t=82642
Exporting:
- https://love2d.org/forums/viewtopic.php?t=77324#p163516 (One of the GIF specs, for implementing a "real" gif exporter)
- https://love2d.org/forums/viewtopic.php?t=81543#p193117 ("Offline" frame-by-frame export idea)

And i'd guess that if someone's game required it, they'd have coded a skeletal (or other) animation system already, though these two things are a bit separate from each other.
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
alloyed
Citizen
Posts: 80
Joined: Thu May 28, 2015 8:45 pm
Contact:

Re: Using Love2D to create gif animations?

Post by alloyed »

Here's an already-made gif export library: the only issue is that it uses native code, which makes it harder to get up and running
https://love2d.org/forums/viewtopic.php?f=5&t=82460

I tried making my own generic animation editor, too. It's not really in a usable state but if you'd like to keep working on it, I can open-source what is there. If I wanted to actually use an animation editor in an actual project I would maybe use spriter or spine instead: they cost money but they're much more polished, and have good tools to import into love2d. other options include flash or blender, but those might be a lil harder to get imported into love.
1488991619027.png
1488991619027.png (28.72 KiB) Viewed 2791 times
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 2 guests