Only 60fps works for animations

0 favourites
  • 4 posts
From the Asset Store
3 pixel charaters with over 8 animations each + animations with a gun
  • Hi!

    I'm suddenly faced with a situation in which my sprite animations don't seem to play at all, unless I set the animation speed to exactly 60.

    My best guess is that this might be somehow related to using physics, since this is my first game using the Box2D web physics in Construct.

    Has anyone else faced a situation in which animations refuse to play unless set to a certain speed?

  • Don't know about this. But in one of my projects a when i was setting more than 12 fps for animations the physics behavior kinda lagged.

    Maybe if you upload a capx we can check your problem?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Might want to try one of the other physics engines and check performance.

  • Hi! Thanks for the replies! I tried switching to box2d asm but the problem persisted. Might be a logic error too, I'm making those all the time.

    The animation in which the spring contracts is not playing, unless you set the speed of the "backwardsTension"-animation to 60.

    Could this have something to do with dt?

    EDIT:

    I think it's a logic error, will troubleshoot some more on my own

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)