abhi66 / rokon

Automatically exported from code.google.com/p/rokon
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Bug: sprite.animate - returnToStart bug #110

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1.Sprite.animate(int startTile, int endTile, float time, int loops, boolean 
returnToStart);

2. set the returnToStart boolean to true.

3. start the project and the animation ignores the int loops and continues to 
animate constantly. 

What is the expected output?
stop animating after the set amount of loops and return to startTile

What do you see instead?
never ending animation.

What version of Rokon are you using?
Rokon 2.0.3

On which version of Android are you experiencing this?
2.1

Please provide any additional information below.

Original issue reported on code.google.com by Josh...@gmail.com on 11 Jul 2010 at 8:48

GoogleCodeExporter commented 9 years ago
I can't see where this doesn't work?

Are you sure this is a returnToStart bug?

returnToStart only makes a difference once the animation has stopped. Are you 
saying setting loops makes no difference?

Original comment by rtaylor205@gmail.com on 25 Jul 2010 at 9:26

GoogleCodeExporter commented 9 years ago
If I set returntostart to true is it suppose to return to the start tile or the 
start of the animation loop? If I set my int loops to 5 it will do 5 loops and 
stop if I have returntostart set to false. If its set to true it does infinite 
loops.

Maybe I'm misunderstanding its use, is returntostart just effect returning to 
the start of the loop? 

Original comment by Josh...@gmail.com on 25 Jul 2010 at 5:48

GoogleCodeExporter commented 9 years ago
Fixed for next version

Original comment by rtaylor205@gmail.com on 5 Sep 2010 at 8:13