   2D animation help
  Hi allI'm trying to render some 2D animation as part of the UI for my game. And I'm not sure how I should go about this. I've thought about using an array of different textures per frame to do animation, but I'm not sure if this is the best method. Also, how should I load the animation? from a bunch of pictures? from gif? are there any libraries out there that can help?any suggestions are welcomethank you   
  You should load 1 texture with all frames needed for the animation.  Then it's just a matter of updating the texture coordinates each frame to switch animation frames at the appropriate rate.   