lmoh wrote:
Hey, I'm new here to the forums, and I was wondering if anybody can help me to get on the track to programming games with C++.
Just to give some background, I originally had some experience with GML, but I reall want to start using a professional language in order to work on a specific project of mine. I actually had started up on the basics of C++ (an 800 page book and some websites to be more specific), but I am having trouble understanding where exactly I should start. I really have no idea whether or not I am using the right program for a specific tutorial, or whether or not I am consulting the right tutorial, which was why I gave up on it about a year ago. Now I feel like getting back on the bandwagon and try again to get a hold on learning how to make games with C++. It should probably be best to assume that I have absolutely no knowledge of C++ (I cannot really remember much of the basics that I have read), but do have some experience programming (I am fluent in GML).
What I want is to know what type of programs and tutorials you recommend for me to get started. Hopefully, a step by step guide in learning how to actually create a visual game using the language (something more like a game that uses actual sprites, and not computer language games like tic-tac-toe), to the point where I can feel comfortable in what I am doing. I am trying to work towards making 2D games specifically, so any tutorials on making sprite-based games would probably be best here.
I highly recommend a book (about $60) at a Barnes and Noble called C++ Primer Plus (Sixth Edition) it has everything you could ever need to know about C++ from a beginners shoes (primer meaning you have no prior knowledge of anything) Also thinking in C++ is really extensive and is usually suggested after you read a developer's library. C++ Primer Plus is a developer's library, I don't recommend pirating anything, just go out and buy a newest edition of a book, you get a lot more out of it (C++11, boost library documentation and revisions) if you can't afford anything like that I do not recommend online tutorials a free ebook like thinking in C++ is a great start, I've got to warn you the Primer plus book is over 1300 pages so be ready to cringe when you see it on your book shelf staring at you menacingly without even a dent put into reading it after a couple days of reading non stop. It might take a sleepless night or two to just finish it I can't stay focused enough when I read the thing I always walk away and play a video game (don't do this please) my best advice learning from my mistakes is just to sit down and get it all done at once.
The reason I don't recommend any online tutorials is you said you want to professionally use C++, well I don't see any professional careers where you learn everything properly (the industry standard way) there is to know through youtube videos or online tutorials. I do have to mention people really exaggerate how hard it is to learn C++ its just time consuming. Its always smart to learn the language before you get involved in anything because there are all sorts of things that can go wrong. It takes 10 years to learn a language and fully understand it inside and out - says many professionals, if you listen to them though, do you really think your going to get anywhere? It took me a good 3 or four weeks to get through the first 300 pages, sitting down and making myself do it was/will be the hardest part, not learning anything you can even get quizzes at the end of each chapter you may want to look over. I don't recommend online tutorials again, because in a profession that just isn't going to cut it, unless of coarse its something like thinking in C++, that is free and online, you sometimes find gem's like those laying around but don't count on finding them to learn something without extensive research you could have used to learn something with in a developer's library.