Closed soarcn closed 11 years ago
@soarcn You're right. I've made appropriate commit on dev branch. About HaxePunk's tween system: Do you think it would be better to follow these changes in HaxePunk?
seems haxepunk's tween change the interface quite a lot (esp. the callback from void->void to Dynamic->void). if we follow haxepunk, that will create many upgrade. and another idea is there have other way in flixel to create tween or motion. my idea is keep it simple is ok.
Simple is better. We have Task Manager to create complex tween animations.
callback will not works at least oneshot type tween because callback obj will be recycle before the function be triggered. not verify other type yet, but should be reproduce in any tween type which will destroy after tween been executed.
I noticed that flashpunk's tween api been changed in this part.