Jump to content

Animation alternatives


Sturb
 Share

Recommended Posts

Hey guys, I was wondering if there were any alternative animation systems to Creature. I'm looking for something like Flump, Dragon Bones, Spriter, etc. that works well with and is kept up to date with Phaser. Any suggestions at all would be greatly appreciated. Thanks.

Link to comment
Share on other sites

Hi, I created Spriter player for Phaser - it can play Spriter animations created in free version of Spriter. Last week I put it on public repo at GitHub: https://github.com/SBCGames/Spriter-Player-for-Phaser

 

Spriter output is either xml (scml) or json (scon). I wondered, if there is way how to shorten these wordy formats. Few animations in my last game took 600kb. So, I created SpriterMinimizer - small app that can take xml/scml and "obfuscate" it to shorten all tag names. It is here: https://github.com/SBCGames/SpriterMinimizer.

 As I still was not happy with size of the output, the app can also convert it into binary format. That Spriter player can load original xml/scml, minimized xml/scml, original json/scon, minimized json/scon and also binary.

 

 File size for well know Grey Guy are these:

  • 346 kb standard, pretty printed, Spriter output,
  • 240 kb Spriter output with pretty printing unchecked,
  • 165 kb after minimization with SpriteMinimizer (with default definitions.xml),
  • 74 kb when converted into binary format with smallOffset switch on.

 

Here is the player in action: http://sbcgamesdev.blogspot.cz/2015/09/phaser-tutorial-phaser-and-spriter.html

Link to comment
Share on other sites

  • 2 weeks later...

I'm on a similar quest.  My criteria is skeletal (bone) animation for characters.  Unity and Cocos 2D-x-JS support it officially, mostly using Spine as the skel anim tool.  But I know Phaser and am going to give a good look at Tom Atom's Spriter->Phaser bridge code (https://github.com/SBCGames/Spriter-Player-for-Phaser) to see if it might work for a commercial production.

 

I know there's been some low level buzz about Phaser eventually supporting skeletal animation, but all I've been able to find is pretty vague.  Would be nice Rich might give us his thoughts on it.

 

 

The main problem with Creature is that it is entirely WebGL without any fallback method.  Otherwise it sure is awesome.

 

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...