Sturb Posted November 9, 2015 Share Posted November 9, 2015 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 More sharing options...
Tom Atom Posted November 9, 2015 Share Posted November 9, 2015 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 Sturb and stupot 2 Link to comment Share on other sites More sharing options...
Sturb Posted November 10, 2015 Author Share Posted November 10, 2015 Great! Thanks, I'll take a look and try this out. Link to comment Share on other sites More sharing options...
gmalone Posted November 23, 2015 Share Posted November 23, 2015 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 More sharing options...
Recommended Posts