[Tweener] Applying 2 movements to a same MC.
Mi cuenta Personal
bicodeswim at gmail.com
Sat Feb 13 19:30:43 PST 2010
*Ok, it seems this time tweener wont work for me**.
What happens is that it's a game like double dragon, where keys "up" and
"jump" should be combinable. Anyway, thanks.
*
2010/2/13 Zeh Fernando <zeh at zehfernando.com>
> Tweener always moves from point a to point b. If you wanna move to a
> relative point, measure the destination position by the current one. As in,
>
> Tweener.addTween(mymc, {x:mymc.x+100, time:1});
>
>
> Zeh
>
> On Sat, Feb 13, 2010 at 7:23 PM, Mi cuenta Personal <bicodeswim at gmail.com>wrote:
>
>> Yep, this is what a want to do, one movement will be performed by
>>> Tweener.addTween in Y-axis, the another is just an ENTER_FRAME y++. Both on
>>> the same MovieClip of course.
>>> The problem is that Tweener is forzing the animation to go from a point A
>>> to a point B, instead of adding a value in Y to the position to the current
>>> MC.y
>>>
>>> Is this the only way Tweener can work?
>>>
>>>
>>>
>>
>> _______________________________________________
>> Tweener mailing list
>> Tweener at lists.caurinauebi.com
>> http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
>>
>>
>
> _______________________________________________
> Tweener mailing list
> Tweener at lists.caurinauebi.com
> http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20100213/2e859b23/attachment.htm>
More information about the Tweener
mailing list