TweenLite on CocoonJS

213 views Asked by At

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

1

There are 1 answers

2
Xamrix On BEST ANSWER

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).