Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After I have been through more intensive C++ studies, I am thinking of giving it a start in my practices of computer game programming. Therefore, I think 2D knowledge (processing images, animating frames, etc.) would be a good place to start. However, I don't seem to find many articles on 2D (mostly 3D), and if found one, it is mostly stuffs like how to use a 2D game engine. I would really want something much more low-level, or "from scratch" ideas.

I want articles/books that would answer something like:

How would I import images into C++? (Let's say, if I want to import jpeg/bmp/etc. file into raw C++ code, what would I do?)

Basically, I just want to have enough low-level knowledge about computer graphics to be able to create something like 2D game engine from scratch.

share|improve this question

closed as off-topic by Byte56 Apr 9 '14 at 0:10

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about "how to get started," "what to learn next," or "which technology to use" are discussion-oriented questions which involve answers that are either based on opinion, or which are all equally valid. Those kinds of questions are outside the scope of this site. Visit our help center for more information." – Byte56
If this question can be reworded to fit the rules in the help center, please edit the question.

If you asked stackexchange how to import images into C++, I bet you'd get a useful answer :) – BRaffle Aug 12 '10 at 20:11

SDL would be a good place to start. Here is a link to some general articles on beginning 2D game design:

On that same site they have a pretty complete tutorial set that will show you everything you need to know to program a basic 2D game.

The reason I really like this tutorial is that it really breaks it down for you into readable code. It also introduces how to incorporate OpenGL which is a much more powerful library.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.