Very poor performance in Chrome with CreateJS

I have a game that I am developing for a client. It's not a particularly graphically intense game, but it has quite a few different animations and lots of textures. There seems to be a threshold for the number of different spritesheet based animations I have in Chrome. When I go past this point (about 5 different animations) the FPS tanks go up to about 5FPS.

It's weird that the game runs at a solid 60FPS all the time in Firefox with no issues.

It looks like it has something to do with the way Chrome does hardware acceleration of the 2D canvas.

Notice this video game, the game runs at a silky smooth 60FPS (see bottom right corner for the FPS counter) when the game is less than about 220px, but once it's even slightly higher than then it starts at 5-10FPS :

https://www.youtube.com/watch?v=3VWo6eQmy1g&feature=youtu.be

I think it must be related to this issue: https://code.google.com/p/chromium/issues/detail?id=170021

He says it is fixed, but I don't think it is.

Anyone have any info on this ?!

Hooray!

+3


source to share





All Articles