Only 60fps works for animations

Get help using Construct 2

Post » Sun Jun 22, 2014 11:34 pm

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?
B
9
S
1
Posts: 97
Reputation: 715

Post » Mon Jun 23, 2014 12:03 am

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?
B
12
S
4
G
1
Posts: 241
Reputation: 1,699

Post » Mon Jun 23, 2014 1:13 am

Might want to try one of the other physics engines and check performance.
What I know would fill a Book , what I don't know would fill a Library
B
37
S
12
G
29
Posts: 331
Reputation: 16,499

Post » Mon Jun 23, 2014 10:29 am

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
B
9
S
1
Posts: 97
Reputation: 715


Return to How do I....?

Who is online

Users browsing this forum: gamecorpstudio, InfiniteRockets, jorgmaquoi, newt, sean080 and 18 guests