begininend / citrus-engine

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

Changing animation's FPS does not affect anyhow #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm not sure, am I doing something wrong, but when I try to change animations 
FPS with changeAnimation function it doesn't affect at all.

I'm using png spritesheet from texturepacker.

Original issue reported on code.google.com by ossi.ron...@gmail.com on 8 Feb 2012 at 12:41

GoogleCodeExporter commented 9 years ago
Hello,

To change the fps Animation you should do it this way, in your StarlingState 
class :

view.getArt(_hero).fpsMC = 60;

Original comment by aymeric....@gmail.com on 12 Feb 2012 at 5:23