Have you tried with FlxTween? Could you provide a code sample? What Actuate version?
Have you tried with FlxTween? Could you provide a code sample? What Actuate version?
package test;
import flixel.FlxState;
import motion.Actuate;
import motion.easing.Sine;
class TestState extends FlxState {
override public function create():Void {
var sprite:FlxSprite = new FlxSprite( 0, 0 );
sprite.makeGraphic( 100, 100, 0xFF0000 );
sprite.alpha = 0;
add( sprite );
Actuate.tween( sprite, 2, { alpha: 1 } ).ease( Sine.easeOut ).delay( 2 );
}
}
W dniu piątek, 17 stycznia 2014 09:49:44 UTC+1 użytkownik Gama11 napisał:
Have you tried with FlxTween? Could you provide a code sample? What Actuate version?
Funny that you mention that feature, just added it yesterday because someone asked about it. It was trivial to add, but you have to know it's requested in the first place. If you have any more ideas about how to improve FlxTween (or any other part of the engine really), we would love to hear about it. :)So you've been using Haxe 2.10 until recently? There has been a bug in Actuate for tweening properties (alpha is one, as opposed to a regular var) for months (see this, this and this issue). Joshua is obviously a busy man though, and I think it makes sense for him to focus on OpenFL instead. But I suggest you switch to using FlxTween instead