Ive got to make this mini game with the whole shabang main menu, quit, help etc.
So i need to start up with the main image and have start and help and if the user hits down or up key the image should blit to the next one...basically placing an arrow where he is going....
#include <SDL.h>
#include <iostream>
using namespace std;
int main (int argc, char** argv)
{
/*-----------------------------------
Initialisation
-----------------------------------*/
To blit an image on top of another one, you just have to blit them sequentially in the order you want, from furthest back all the way to the foreground. So whichever you blit second will appear over the previous one, depending on the order you blit them.