Question

Today I started exporting my game into CocoonJS and soon realized that TweenLite from GreenSock simply doesn't work for some reason. Basically the code just stops running as soon as it encounters a TweenLite function - the error console stays silent.

Can someone recommend a good javascript tweening engine that is compatible with CocoonJS? Thanks

Was it helpful?

Solution

Personally I've tested and I use Tween.js by sole in GitHub at https://github.com/sole/tween.js/. There may be no better than TweenLite, but it still is fast and fluid (tested on iPhone 3GS and Android Samsung Galaxy S3 ...). In addition, Tween.js is licensed under the MIT, where you can put ads and in-app purchases in your apps free of charge. Unlike TweenLite which you have to pay a professional license ($ 50 / year).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top