ANY one worked on A project and knows how to start one in codeblocks with Graphics?

ANY one worked on A project and knows how to start one in codeblocks with Graphics? cause i want to do a flight sim in C++
Alright so this is a super broad question, because of that I am going to assume you are new to graphics programming and/or c++. So, first of all you need to decide what type of graphics you are going to use (2d, or 3d?) Then, you need to decide if you want speed or simplicity. Because of your experience, I am going to assume simply 2d graphics, to start. So use a library know as SDL. Follow the tutorials on this website http://lazyfoo.net/SDL_tutorials/index.php. Also, read these articles.

Must read - http://lazyfoo.net/articles/article01/index.php

Would certainly help if you want anyone on here to help you with your code - http://lazyfoo.net/articles/article02/index.php

And this would be good to read, but it is not necessary. It just makes your life easier when code gets more complex. http://lazyfoo.net/articles/article07/index.php

Reply if you have a more specific problem setting up said library.
got it next?
Last edited on
You could have stated that in the first place. Tried searching for a few WINBGI tutorials?
got the BGI LIBRARY for codeblocks IDE next?
Last edited on
alright, I am not sure what the BGI library is, but if you followed the first tutorial on the first link I posted you should have SDL set up. To confirm, run this program and return with the results.

1
2
3
4
5
6
7
#include <SDL/SDL.h>

int main(int argc, char **argv)
{
     SDL_Init(SDL_INIT_EVERYTHING);
     return 0;
}
Topic archived. No new replies allowed.