Jump to content

Animation FPS?


Recommended Posts

What version of panda are you using? I'm not sure if this is the answer you are looking for but in version 1 animations works like so:


.body(function() {

game.addAsset('anim1/skeleton-animation0.jpg', 'prop0');
game.addAsset('anim1/skeleton-animation1.jpg', 'prop1');
game.addAsset('anim1/skeleton-animation2.jpg', 'prop2');
game.addAsset('anim1/skeleton-animation3.jpg', 'prop3');
game.addAsset('anim1/skeleton-animation4.jpg', 'prop4');
game.addAsset('anim1/skeleton-animation5.jpg', 'prop5');

game.createScene('Main', {
    backgroundColor: 0xeeeeee,

    init: function() {
		this.propeller = new game.Animation(
        this.propeller.animationSpeed = 0.3;
        this.propeller.position.set(230, 350);


So you just have to adjust the animation speed with:

this.propeller.animationSpeed = 0.3;


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...