Just a general question. When cutting images using the SDL API we do something like this:
and so on...
However, not all images on a sprite sheet line up correctly, and the rendered sequence oftentimes has a "jerking" motion. I would simply solve this with trail and error, which is time consuming and frustrating.
My question is: Does anyone know of a good rough guide on how to line up the sprites without having to manipulate the variables (through SDL_Rect) by (sometimes) a pixel(s) at a time?