HaxeFlixel / flixel

Free, cross-platform 2D game engine powered by Haxe and OpenFL
https://haxeflixel.com/
MIT License
1.98k stars 436 forks source link

Tweens & tween Demo #572

Closed igrowbeards closed 11 years ago

igrowbeards commented 11 years ago

I've noticed that the tween demo is not up to date with the most recent changes. I created a fork and had planned to update it but honestly am not sure how to go about it.

I replaced all of the instances of Ease with FlxEase which cleared up a big chunk of the compile errors but I'm getting the following errors and am not sure how to clear them up:

Unknown identifier : hasTween
Unknown identifier : addTween

Code in question is here: https://github.com/HaxeFlixel/flixel-demos/tree/master/Effects/FlxTween

If someone can point me in the right direction I'll be happy to do the grunt work of getting the demo up and running again.

Gama11 commented 11 years ago

Recently, there has been a big change to the tweening system (and there probably are gonna be a few more), so the tweening demo wasn't updated. I just did update it though.

An issue should always be created on the repo which has that issue (in this case flixel-demos), if that makes sense. The flixel engine doesn't have to do anything with the tweening demo not being updated yet.

igrowbeards commented 11 years ago

@Gama11 - gotcha. Thanks.