Laggy sprite animation

Bugs will be moved here once resolved.

Post » Fri Apr 04, 2014 10:32 am

Problem Description
When i import a sprite sheet and i set animation speed higher than 10 frames per second + physics behavior the sprite becomes laggy while animating. When the animation stops it's'okay. The problem is gone once the animation speed is less than 10 but well. I don't think it's a performance problem. I think it's the behavior plugin problem

Steps to Reproduce Bug
  • Make a sprite object on the top of layout and import a sprite sheet. Put animation from 15 to 24 frames per second.
  • Put physics behavior to the object and set world gravity to -10
  • Play the game and check it's laggy

Observed Result
Laggy animation

Expected Result
Not laggy animation

Affected Browsers
  • Chrome: (YES)
  • FireFox: (YES)
  • Internet Explorer: (YES)

Operating System and Service Pack
I use vm but i tested it on mobile and mac os

Construct 2 Version ID
165
B
12
S
4
G
1
Posts: 241
Reputation: 1,699

Post » Sun Apr 06, 2014 9:09 pm

Closing, this type of error is usually caused by your hardware
B
17
S
7
Posts: 360
Reputation: 2,202

Post » Mon Apr 07, 2014 12:45 pm

@fongka2 , i think Ashley should decide that, not you.

@vagaev , i noticed something similar, a long time ago, that only happens if the animation speed of a sprite is higher then your fps/2.5 .
You should definetely post a capx, where you show that, else Ashley will most likely close it,
it may be a bug, may not, Ashley probably has a explanation why that happens ready ;)
How im handling it: If animation Speed != fps/2.5 - set animation speed to fps/2.5 (That way i keep it with 60 fps at a 24 playback rate, (pretty smooth))
"It's done when it's done"

Shadows of War
Buy on Steam ;)
B
24
S
10
G
7
Posts: 253
Reputation: 4,931

Post » Mon Apr 07, 2014 1:06 pm

Closing, please follow the bug report guidelines (attach a .capx illustrating the problem).
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,762

Post » Mon Apr 07, 2014 8:51 pm

I will provide a capx asap illustrating the problem.
Didn't post because it was a commercial project work in progress.
Thanks @SgtConti i will try your method and keep this updated
B
12
S
4
G
1
Posts: 241
Reputation: 1,699


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 4 guests