Page 1 of 3

[library/wip] Löve Bone: 2D Skeletal Animations

Posted: Tue Feb 03, 2015 11:10 pm
by Seltzer
Hello lovers, I made a thing and I want to share it with you! :awesome:

Löve Bone is an object-oriented 2D Skeletal Animation framework.

It's still a WIP, so I'm totally cool with changing how the API is structured if it will make it nicer to use.

Here's the repository. It contains the library and a couple of sample projects.
GitHub Repository
Documentation

Play around with it. Let me know what you think. Suggestions are welcome and encouraged!

The repository has a basic tutorial that shows you how to make this thing.
Image

Feature Demo

The following animations were made using Demina. I included an importer for it in the repository.

Basic animation
Image

Animation Layers
Image

Attachments
Image

Skins (technically attachments)
Image

Bone Modification functions
Image

Some More Cool Features
  • Event triggering
  • Animation blending
  • Debug rendering
  • Vertical/Horizontal flipping
  • And much, much more!
Known Bugs/Issues
  • Vertical/Horizonal flipping is kinda hacky, and doesn't play nice with bone transformation functions without some tweaking.
  • Not completely dummyproof.
  • Making a simple actor with basic animation playback support requires a some extra coding effort. I'd like to find a better balance between usability and robustness.

Re: [library/wip] BÖNER

Posted: Thu Feb 05, 2015 8:05 pm
by Karai17
This library looks pretty cool, but the name isn't exactly subtle, is it? I think such a name will probably hurt this lib's potential. While I am a fan of the de facto naming convention of love libs, subtlety is important.

Re: [library/wip] BÖNER

Posted: Thu Feb 05, 2015 8:22 pm
by Zarty55
It looks pretty damn awesome! I can't wait to have a chance to use it.

Uhh, don't you think the name is kind of too bold? I would use it anyways, but still.

Re: [library/wip] BÖNER

Posted: Thu Feb 05, 2015 9:18 pm
by Seltzer
Thanks for the feedback. I made sure to structure it so the name could be changed without any fuss. This library is for the community, so I'd be happy to change it. Does anyone have name suggestions?

Re: [library/wip] BÖNER

Posted: Thu Feb 05, 2015 9:28 pm
by Karai17
How did you pull off the animation blending? I have a 3d model library that I need to add animation blending to, it'd be nice to see how others did it. :)

https://github.com/karai17/Lua-IQE-Loader

Re: [library/wip] BÖNER

Posted: Thu Feb 05, 2015 9:43 pm
by Seltzer
Karai17 wrote:How did you pull off the animation blending? I have a 3d model library that I need to add animation blending to, it'd be nice to see how others did it. :)

https://github.com/karai17/Lua-IQE-Loader

Check out examples/advanced/character.lua
It's a wrapper for the actor class that handles animation blending. All you have to do is smoothly increase the transformation power over time and the library figures out how much control the animation should have over its designated bones (if specified) relative to any other playing animations.

If you want to see the guts of how the animation works, look at the transformer.lua file. I wrote this after having worked on an ASSIMP implementation, so it's modeled after how 3D animation works.

Re: [library/wip] Löve Bone: 2D Skeletal Animations

Posted: Sun Feb 08, 2015 9:23 am
by Seltzer
Decided to rename the library to something a little more appropriate. The new title is Löve Bone. The repository has been renamed as well.

Moved most of the readme content to the wiki. https://github.com/GeekWithALife/love-bone/wiki

I'm hoping to get some more tutorials up for using it soon. :)

Re: [library/wip] Löve Bone: 2D Skeletal Animations

Posted: Mon Feb 09, 2015 9:39 pm
by DmL
Can you tell me what steps you took to get Demina working?

Re: [library/wip] Löve Bone: 2D Skeletal Animations

Posted: Mon Feb 09, 2015 10:44 pm
by Seltzer
DmL wrote:Can you tell me what steps you took to get Demina working?
I don't think I had any particular problems installing/running it. What seems to be the problem?
  1. I downloaded the ZIP from https://demina.codeplex.com/
  2. I extracted it somewhere.
  3. The executable will end up being <path_to_installation>/Demina/Demina.exe
Demina has been pretty buggy for me, and certainly isn't my preference. It's just easy to get a quick-and-dirty test running.

I'm hoping to add importers for Sprited/DragonBone/Spine at some point, as those seem to be the other prominent competitors.

Re: [library/wip] Löve Bone: 2D Skeletal Animations

Posted: Tue Feb 10, 2015 9:52 am
by DmL
It simply crashes at start up... however, I discovered spriter today and found hardcrawler's implemention...
http://brashmonkey.com/forum/index.php? ... and-video/

While his library is a bit odd, it works more or less as expected and spriter was a joy to learn!

I'm very interested if you do a spriter, so I'll keep an eye on this!
Image
Spriter + hardcrawler's implementation