Search the Community
Showing results for tags 'kha'.
-
Hi, I am happy to announce the first release of a new spriter runtime for Haxe (https://github.com/wighawag/spriter , haxelib : http://lib.haxe.org/p/spriter/ ) It is originaly based on the great work of @Loodakrawa for its c# implementation. I optimized it for Haxe and got rid of allocation (so no gc at all while spriter entity is animating!) This does not use pool neither. The runtime itself contain no rendering code and there is currently only one library that do the rendering : https://github.com/wighawag/spriterkha This for Kha : http://kha.tech/ an awesome low level cross platform api. You can find a test project here : https://github.com/wighawag/spriter_test The api is still not complete and it is not yet a 1.0.0 release and I would be interested in feedback Since Haxe can output to different languages, this could be used as a library for any such language as well. Let me know if you need help for that. My implementation has been tested on js and cpp only but should work on all target. The library is unit tested with data from the c# implementation so it should behave in the exact same way The "no allocation" claim is also unit tested (for the cpp target) Hope someone find it useful. Thanks