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
game
Making Game using SDL: Part – 1
Few days ago I started to develop a cricket game for one of my university courses. I decided to use SDL Library to make the game. Since I wanted to develop a very basic 2D Game in C++, so I didn't go for OpenGL or DirectX. SDL will provide almost everything to make this game.…Read more Making Game using SDL: Part – 1