Sign in to follow this  

What concepts i need to know in C++?

This topic is 2528 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello,
I haven't been programming for a while and forgot may things, but now I'm refreshing and by now I remembered pointers, arrays, functions, references, loops and all these simple concepts. I want to remember all what I knew and learn a bit more before stepping into SDL using Lazy Foo tutorials. Can you list here all things i must know in C++ before starting creating 2D games? And not just in C++ if there is any...

Share this post


Link to post
Share on other sites
There is no "you must know Y in order to do X" list. Familiarity with your language of choice is a must, obviously, as is familiarity with programming concepts (which are generally language agnostic).

Share this post


Link to post
Share on other sites
Well, for creating a 2D game I think OOP is a good thing to learn. (C++ class keyword)

Share this post


Link to post
Share on other sites
Like Washu said, there is no list of "need to know" topics for 2D games. Obviously knowledge of your programming language and your library is required, but some games for example, will require AI , whereas others won't. Some games might need to go multiplayer, while others are content with being single player. The key is to know what your game will need, and then learn it. There's no need to learn and write a physics engine after all if your game is not going to incorporate it.

That being said, I think you should go to whatever library you plan to use and familiarize yourself with basic functions, such as rendering a sprite. If you don't know those, then your chances of making a game are sunk. :)

Share this post


Link to post
Share on other sites
I think the easier way to learn about more advanced and specific topics is to use them. Once you relearn the basics of C++, it's probably better to jump directly in making simple games. You will learn by yourself what you will need to create your game.

Share this post


Link to post
Share on other sites
Well, I don't know if this is what you are looking for but my advice is that you check Thinking in C++. This is a free book (free as in free beer) an my opinion is one of the best C++ books. Since you are not a beginner maybe you can skip lots of sections in the book but make sure that you can understand everything in it.

[url="http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html"]http://www.mindview....ingInCPP2e.html[/url]

Also...if you like OOP you can try SFML ([url="http://www.sfml-dev.org/"]http://www.sfml-dev.org/[/url]). It's Object Oriented and I find that it "blends" nicely with Object Oriented C++. I'm not claiming that it's "better" than SDL..I just like it [img]http://public.gamedev.net/public/style_emoticons/default/laugh.gif[/img]

Share this post


Link to post
Share on other sites
Sign in to follow this