Search the Community
Showing results for tags 'gc'.
Hello, I used TweenLite and TimelineLite for a game project based on pixijs for graphics part. I did memory test on chrome and realised that when I create use tween / timeline for my sprites I have have leap sawtooth. Is there any pooling mecanism in the lib in order to reuse the tweens when there animation is complete. Cheers,
I am wanting to be sure that I am going about cleaning up a TimelineMax completely. Can you please review and let me know if this code leaves anything straggling or is otherwise in need of improvement? this.timeline.clear( true ); this.timeline.eventCallback( 'onComplete', null ); // : Function this.timeline.onCompleteParams.length = 0; // : Array this.timeline.onCompleteScope = null; // : Object this.timeline.eventCallback( 'onRepeat', null ); // : Function this.timeline.onRepeatParams.length = 0; // : Array