Start New Discussion within our Game Development Community

Hi All,

I have a doubt regarding SDL programming.

Can some one please help me how can i subdivide a Image lets say into 4 parts and then store them in SDL_Surface array.

I intend to animate later using these subdivided images by using SDL_BlitSurface function.

I am new to SDL,so it would be great if someone could provide some codes for reference.

Please note that i am using Microsoft visual c++ 2010 compiler..



This article has been dead for over six months. Start a new discussion instead.