Friday, March 06, 2015

Flash animations in GoDot Engine


If you have not heard about GoDot game engine,.. you should check it out right away.. godotengine.org


Last time, i wrote a blog post about my experience making a simple physics game to GoDot Engine.
Though there are a bunch of free options announced during the GDC this year, i thought ill' contribute to the engine. The one piece that is most important for game dev is the pipeline for the engine.


One of the most common tools used for 2D animations is Flash. I have been using a library called Super Animation for almost all the games we've made for android at TMG. It's  a  free tool which lets you convert swf files to .sam files. This file can then be loaded in Cocos2Dx using the Open source loader library https://github.com/raymondlu/super-animation-samples

I thought it would be a good idea to port this cpp library to GoDot so that i understand how to write custom modules for the engine.


This is the video of the module in action. I have exposed the methods for basic operations like loading an animation file, Playing a particular animation / pausing it etc. 

I still want to add a bunch of editor related things but i think its' in a state where i can share with others and see if i can find more contributors.

The module is hosted at https://github.com/vkbsb/godot_sam





Post a Comment