[Tweener] Applying 2 movements to a same MC.
Mi cuenta Personal
bicodeswim at gmail.com
Sun Feb 14 19:47:57 PST 2010
So you are implying that most tweening engines will go from a point A to a
point B...mmm, do you know if it also applies to gtween v2?, damn i may just
not use 'em when i need combined access. thanks.
2010/2/13 Zeh Fernando <zeh at zehfernando.com>
> For that kind of control, using any tweening engine is really not the best
> idea. Instead, you'll need speed/direction controllers that are controlled
> by keyboard or other events and updated on every frame (or any amount of
> time you prefer your game tick to be).
>
> Zeh
>
>
> On Sat, Feb 13, 2010 at 10:30 PM, Mi cuenta Personal <bicodeswim at gmail.com
> > wrote:
>
>> *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
>>>
>>>
>>
>> _______________________________________________
>> 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/20100214/84da968f/attachment.htm>
More information about the Tweener
mailing list