Spriter .scon loading/rendering library v0.9

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
hardcrawler
Prole
Posts: 12
Joined: Fri Jun 27, 2014 11:31 pm

Spriter .scon loading/rendering library v0.9

Post by hardcrawler »

I recently finished building Spriter support into my game, and since it was pretty challenging I figured I'd release the code to help others out.

Spriter is a 2D sprite "rigging" tool. It allows you to build modular sprites that you can rig up with a skeletal structure and animate at run time. It allows for pretty flexible animations without as much RAM as a sprite sheet. This structure, in my opinion, allows for a lot of the modularity and flexibility that you get with real time 3D rendering, but without nearly the difficulty and overhead.

In case you're not familiar with the tool, here's the Spriter site:
http://www.brashmonkey.com/spriter.htm

I did a video overview of the library implementation's internals. The source code is pretty well documented, so hopefully it should be easy to use "out of the box."

Code can be found here:
https://bitbucket.org/hardcrawler/spriter

Youtube links to a video overview can be found here:
http://www.hardcrawler.com/spriter-library/
Last edited by hardcrawler on Sat Aug 16, 2014 3:04 pm, edited 1 time in total.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Spriter .scon loading/rendering library v0.9

Post by kikito »

Hi, this looks interesting.

Have you thought about putting the source code somewhere where it's easy to open issues and send changes, like github or bitbucket?
When I write def I mean function.
User avatar
hardcrawler
Prole
Posts: 12
Joined: Fri Jun 27, 2014 11:31 pm

Re: Spriter .scon loading/rendering library v0.9

Post by hardcrawler »

Yeah, that sounds like a good idea. I've already found a bug caused by temporal aliasing that I had to fix for my game. After I finish my weekend push I'll set it up in github.
User avatar
hardcrawler
Prole
Posts: 12
Joined: Fri Jun 27, 2014 11:31 pm

Re: Spriter .scon loading/rendering library v0.9

Post by hardcrawler »

kikito wrote:Hi, this looks interesting.

Have you thought about putting the source code somewhere where it's easy to open issues and send changes, like github or bitbucket?
It's been a while, but I just put it up on Bitbucket:

https://bitbucket.org/hardcrawler/spriter

Previously, I wasn't doing my rotation interpolation correctly, so it was buggy on more complex rigs. That has been fixed, as well as a few other minor issues.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests