gorlok / java-universal-tween-engine

Automatically exported from code.google.com/p/java-universal-tween-engine
0 stars 0 forks source link

is there something wong with repeatYoyo?it cann't return to the start status. #17

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.start an animation with repeatYoyo
-------------
What is the expected output? What do you see instead?
i scale an image from 1x to 2x,and repeatYoyo(1,0).
i wish it come back to 1x on the end,but it stoped at 1.2x
--------------------
What version of the product are you using? On what operating system?
6.3.3 on android
---------------
Please provide any additional information below.

here is some source code i wrote.

Tween scale = Tween.to(textSprite, SpriteAccessor.SCALE, 0.5f)
    .target(3).ease(TweenEquations.easeNone)
    .repeatYoyo(1, 0);
scale.start(Engine.graphics.getTweenManager());

case SCALE:
    target.setScale(newValues[0]);
    Engine.app.log(target.getScale() + "");
    break;

and here is the print log.

Original issue reported on code.google.com by tonyzzp@gmail.com on 21 Jan 2013 at 6:09

Attachments:

GoogleCodeExporter commented 8 years ago
I am sooooo sorry !

 I found the problem.

i wrote like this:
void onKeyEvent(Event e){
//do my animation
}

but I should dicide the e.action...

it wast my several hours!!!!!!!!!!!!!!!!!!

so how to close this issues?.

Original comment by tonyzzp@gmail.com on 21 Jan 2013 at 7:22