Jump to content

  • Log In with Google      Sign In   
  • Create Account


What concepts i need to know in C++?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
11 replies to this topic

#1 kaktusas2598   Members   -  Reputation: 838

Like
0Likes
Like

Posted 13 February 2011 - 04:12 AM

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...
Behind every great fortune lies a great crime.
Honore de Balzac

Sponsor:

#2 Washu   Senior Moderators   -  Reputation: 4980

Like
0Likes
Like

Posted 13 February 2011 - 04:31 AM

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).

In time the project grows, the ignorance of its devs it shows, with many a convoluted function, it plunges into deep compunction, the price of failure is high, Washu's mirth is nigh.
ScapeCode - Blog | SlimDX


#3 aeroz   Members   -  Reputation: 171

Like
0Likes
Like

Posted 13 February 2011 - 07:51 AM

Well, for creating a 2D game I think OOP is a good thing to learn. (C++ class keyword)

#4 kaktusas2598   Members   -  Reputation: 838

Like
0Likes
Like

Posted 13 February 2011 - 07:54 AM

Well, for creating a 2D game I think OOP is a good thing to learn. (C++ class keyword)


Yes, OOP I know
Behind every great fortune lies a great crime.
Honore de Balzac

#5 kaktusas2598   Members   -  Reputation: 838

Like
0Likes
Like

Posted 13 February 2011 - 12:06 PM

Can you list other advanced topics I need to know?
Behind every great fortune lies a great crime.
Honore de Balzac

#6 drd   Members   -  Reputation: 102

Like
0Likes
Like

Posted 13 February 2011 - 12:13 PM

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. :)

#7 kaktusas2598   Members   -  Reputation: 838

Like
0Likes
Like

Posted 13 February 2011 - 12:18 PM

Thanks
Behind every great fortune lies a great crime.
Honore de Balzac

#8 aeroz   Members   -  Reputation: 171

Like
0Likes
Like

Posted 13 February 2011 - 12:25 PM

Good, go ahead then and create some small games ;)

#9 apatriarca   Crossbones+   -  Reputation: 1645

Like
2Likes
Like

Posted 13 February 2011 - 12:25 PM

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.

#10 kaktusas2598   Members   -  Reputation: 838

Like
0Likes
Like

Posted 13 February 2011 - 12:30 PM

Good, go ahead then and create some small games ;)


Roger that ;)
Behind every great fortune lies a great crime.
Honore de Balzac

#11 vladimirsan   Members   -  Reputation: 131

Like
0Likes
Like

Posted 14 February 2011 - 11:39 AM

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.

http://www.mindview....ingInCPP2e.html

Also...if you like OOP you can try SFML (http://www.sfml-dev.org/). 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 Posted Image
Check out my blog: vladimirsan.com

#12 Lightness1024   Members   -  Reputation: 736

Like
0Likes
Like

Posted 14 February 2011 - 11:43 AM

And for beginners in 2d with sdl, there is the carnage engine i made. http://sourceforge.net/projects/carnage-engine/




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS