   Animation speeds are all combining?
  I've noticed recently that whenever I have multiple sprites animating on the screen at once, they all seem to animate at a faster speed (possibly the sum of all of their animation speeds?  I don't know.)  I've been poking around my code and on the forums, but I can't find anything that explains this.This is my animate functionvoid HVSTGFX::animate(HVSTGFX::CSprite *frames, float speed, int frameCount, float width, float height, float x, float y){static float animCount = 0.0f;HVSTGFX::createSpritePNG(width, height, x, y, frames[(int)animCount]);animCount += speed;if (animCount >= frameCount)animCount = 0.0f;}And this is for drawing spritesvoid HVSTGFX::createSpritePNG(float width, float height, float x, float y, CSprite sprite){if (!sprite.loaded){sprite.loaded = true;glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, sprite.pngFile.width, sprite.pngFile.height, 0, GL_RGBA, GL_UNSIGNED_BYTE, sprite.sprite);}elseglColor4f(1.0f,1.0f,1.0f, 1.0f );glBegin(GL_QUADS);glTexCoord2f(0.0f, 0.0f); glVertex3f(x, y, 0.0f);glTexCoord2f(1.0f, 0.0f); glVertex3f(x + width, y, 0.0f);glTexCoord2f(1.0f, 1.0f); glVertex3f(x + width, y + height, 0.0f);glTexCoord2f(0.0f, 1.0f); glVertex3f(x, y + height, 0.0f);glEnd();}The animate function is called once for each sprite being animated in the main loop.  I.E. If I have 3 different characters on screen all animating, the animate function will be called 3 times in the main loop.  I'd appreciate it if someone could take a look at this.   
  Please post the code that moves the sprites.(BTW: why is animCount a double???)   ;  I'm assuming it's because of your animCount is static, which all instances will share.  Thus having more than one instances of sprite will increase your static animCount faster.   ;  Ah, yes that might be the cause as well if you are referring to the speed at which the frames are being played. I thought you were talking about the speed at which they are moving.   ;  Yes, that was it.  I had to extend my CSprite class a little bit for a workaround, but I have it working now.  Thank you very much!   ;  If that required a workaround I bet you have a serious design flaw.   