python748 / alternate-java-bridge-library

Automatically exported from code.google.com/p/alternate-java-bridge-library
Apache License 2.0
0 stars 0 forks source link

Request for a feature not currently implemented in the AltBridge #142

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I set moveable background for Canvas with setAnimListandFPS but in some cases i 
want to change FPS(animation speed). But i can't find any methods for it. 

Thanks.

Original issue reported on code.google.com by zismailo...@gmail.com on 29 Apr 2013 at 2:06

GoogleCodeExporter commented 8 years ago
AnimCanvas too.

Original comment by zismailo...@gmail.com on 29 Apr 2013 at 2:10

GoogleCodeExporter commented 8 years ago
Added the AnimFPS(int fps) to the Canvas, and AnimCanvas classes.

Original comment by IMPINC...@gmail.com on 30 Apr 2013 at 12:15

GoogleCodeExporter commented 8 years ago
I try this method but there isn't any effect. debug app and see that fps is 
changing but it not effect app. 

Original comment by zismailo...@gmail.com on 3 May 2013 at 11:14

GoogleCodeExporter commented 8 years ago
It won't work for regular Canvas, now that I looked into it a little more. 
You'll have to run the setAnimListandFPS method again. This method uses an 
AnimationDrawable for it's animation, and is created in that method. The FPS 
isn't something that's meant to be changed while running.

I haven't tested yet, but does it work on AnimCanvas? I had to use a different 
logic to implement the animation for that, and I can see that taking effect 
when AnimFPS is run.

Original comment by IMPINC...@gmail.com on 8 May 2013 at 3:54

GoogleCodeExporter commented 8 years ago

Original comment by IMPINC...@gmail.com on 30 May 2013 at 12:41