Making Game using SDL: Part – 2

  Welcome back guys. Let's resume my last post which was Making Game using SDL: Part - 1. We discussed the variables of Graphics class. Now let's see what functions we have used. Graphics() Constructor: Graphics::Graphics(){ SDL_Init( SDL_INIT_EVERYTHING ); //Set up the screen this->screen = SDL_SetVideoMode( SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_BPP, SDL_SWSURFACE ); //Initialize SDL_ttf TTF_Init(); //Set…Read more Making Game using SDL: Part – 2

Like
Like Love Haha Wow Sad Angry