Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 23 Nov 2008
Offline Last Active Oct 22 2016 07:38 PM

#5305613 Good C++ Learning Materials For A Beginner

Posted by on 13 August 2016 - 03:53 AM

This the book that I used in my C++ class last semester: https://www.amazon.com/Programming-Problem-Analysis-Program-Design/dp/1285852745/ref=sr_1_1?ie=UTF8&qid=1471021377&sr=8-1&keywords=c+from+problem+analysis


That class was my first introduction to C++ and I found the book helpful.  It is pricey for the physical copy, but it looks like you can get the etextbook for about $10.

Over the years I have received the same advice:

  • Avoid books with "for DUMMIES" in the title.
  • Avoid books that claim to teach you anything in 10 minutes, 24 hours, or 21 days.
  • Avoid all books written by Herbet Schildt.
  • Avoid all books written by D.S. Malik
  • Avoid C++ Primer Plus

The best books I would recommend is C++ Primer or Programming Principles and Practices Using C++, tutorials at cplusplus.com, to get The C++ Programming Language purely as a reference book. 

#5291775 Any Mentors Out There?

Posted by on 15 May 2016 - 11:33 PM


So I guess I'm curious whether there is anyone out there who would be willing to be a mentor for this purpose.  I'm quite limbered up when it comes to logic and learning syntax, but there are a lot of gaps in my knowledge as far as bringing an entire game together.  Is anyone out there working on any strategy games and have a bit more experience?


The whole forum is like a mentor and much more effective than a one-2-one mentor. 


You can always ask for hints, tips, advice and any general questions on game development issues. Often, there is always someone who's been there, done it and can offer valuable advice. 


One-2-one mentor maybe too restrictive to that single person's experience and availability only


There are pros and cons to both methods. Both offer the chance to ask questions of a experienced programmer. 1-on-1 has the con of learning wrong if the mentor programmer is new enough him/her-self to the point that they are teaching poor or bad habits. Forum mentors have the possible con of the mentors getting into a conflict about what method to use for the question and possibly adding to the confusion of the person asking. Just for example, I'm perfectly fine using C++'s Standard Template Library in my games (like using vectors to hold my tilemaps) while many veteran game programmers still have the mindset that you have to roll your own containers for games. I just wanted to put that out there.


That said, I completely agree that asking here is far more beneficial in the long run than having a 1-on-1 mentor where you are left waiting for their time to free up to get an answer. The forums usually get you an answer within a matter of minutes instead of hours or days.

#5291587 What book to start from

Posted by on 14 May 2016 - 11:59 AM

Programming Principles and Practices Using C++ by Bjarne Stroustrup covers C++ 11 and C++ 14. The C++ Programming Language 4th Edition by Bjarne Stroustrup covers C++11 and makes a decent reference book. Beyond those books you could get SDL Game Development and SFML Game Development for learning to make games. Above all else, write code and learn as you go.

#5290728 Will Unity or Unreal Engine 4 suit better for me?

Posted by on 08 May 2016 - 06:38 PM

I just fielded an email with a similar question only for an RPG. As I told them if you are experienced with C++ then use Unreal, if you are experienced in C# use Unity...if new to it all learn C# and use Unity. I also stressed that you should pick the engine that suits your game's needs and in your case of an FPS, both engines are perfectly capable of making that. Graphically they should both be able to handle almost anything you and your team throw at it. As for the learning curve, it should be minimal as they both have a wealth of documentation, tutorials, and howtos on making different games with them. So for you I'd recommend Unreal due to your knowledge of C++.

#5288822 Where to learn 2D Math for game dev

Posted by on 26 April 2016 - 03:21 PM

There are a lot of books about the matter also. This book is the one I used in my college course: Fundamentals of Math and Physics for Game Programmers by Wendy Stahler.

Yes, I know you asked for 2D, but I'm going to add this in case you move to 3D for any reason.

There is also 3D Math Primer for Graphics and Game Development by Fletcher Dunn; again; in case you are interested in 3D. 

There are other books as well, but I've not read any of them to be able to recommend any other book.

#5288514 My understanding for developing a video game, can I get some insight?

Posted by on 24 April 2016 - 07:21 PM

I hadn't read all that post due to the way he started it as I had assumed it was him, yet again, probing at the OP for a response. I stand corrected, my apologies.

#5288510 My understanding for developing a video game, can I get some insight?

Posted by on 24 April 2016 - 06:50 PM

A person can be self reliable and still ask questions so I disagree with the "ask less questions". You also haven't answered my clarification question about the book you named. You have spent the thread arguing with the OP.


 ( and I still think you are lazy and all talk-no action, and you still haven't started to make your first 3d game   :lol:  )

Absolutely uncalled for and rather childish to put. There is a level of civility and professionalism expected in the beginners forum. 

#5288362 My understanding for developing a video game, can I get some insight?

Posted by on 23 April 2016 - 06:18 PM

Read some books, for example  "3D Math for Graphics and Game Development". The first 8 chapters are all about that "world of yours".

Are you referring to the Fletcher Dunn book or another one? That is one problem, every programmer and developer has their own set of books they like so it is rather difficult to know which books to read. 


I'm asking for clarification due to books having similar names or identical names yet different authors. Don't want current and future readers of this thread to rush out and buy the wrong book. I'm drawing from the experiences of beginners in C++ being told to buy C++ Primer only to rush out and buy C++ Primer Plus (which is notorious for being poorly written). 

#5288339 My understanding for developing a video game, can I get some insight?

Posted by on 23 April 2016 - 01:14 PM


I don't mean to be rude , but what is the difference? Im sure there is and im curious. Is development the general project and design is specifically related to an actual project and its "design"



The names imply the differences. Game design is where you sit down and decide what will be in the game, how the game will be played, what levels will look like, what characters will look like, etc. Development is the process of turning the design stage into the actual game. 

#5287339 How did you learn making games?

Posted by on 17 April 2016 - 12:55 PM

What was the language you used for for first?
BASIC then moved straight to C++. Since have dabbled in other languages. 
How much time did it take to learn the language? (When were you able to do on your own, a game)
I've been programming since I was 13 (2 years BASIC due to school), but started in on C++ when I was 15. I'm now 35 and still learning it as the standard updates add new things for me to play with. After a year you should be more than comfortable to start making games like the ones listed in this article.
Have you uploaded the game to somewhere (like gamejolt)
Do you think it was a good game? Was it succesfull when you showed it to your family/friends
Outside of a basic Pong Clone I wrote using C++ and Allegro I have not publicly released anything I've done since 2006. I do what I do for myself so I don't have the need to publish any of it. 
Are you still making games? And if you, can you feel that, you make progress in game making?

Yes. You only make progress by pushing yourself, once you stop experimenting with ideas and settle into doing the "safe projects" is when you stop progressing. Think of Call of Duty, every sequel has felt like the previous game with just one or two features added. 

#5285956 Is it good practice for game development to learn multiple languages?

Posted by on 08 April 2016 - 10:52 PM


Is it good practice for game development to learn multiple languages?

It is important for ALL programmers to learn multiple languages. They each have different idioms, strengths, and weaknesses. Even if you never _actually_ use a language, learning about that language and how it solves certain problems makes you an all-around _better programmer_. e.g. I never use Ruby myself, for instance, but having spent some time learning it I've learned some new tricks about DSL design and library design in C++ for improving DSLs, as well as having been able to speak competently and authoritatively to external Ruby developers.

Modern games are often also typically written in a variety of languages. Our project's engine, tools, and backend services are written with a combination of _at least_ C++, C#, Python, Lua, ActionScript, Java, Perl, Ruby, and Erlang, and that doesn't even include our build system which uses a mixture including _at least_ CMake, POSIX shell, PowerShell, Python 3, cmd.exe batch, PHP, and SQL.

This is basically just another version of the adage, "if all you have is a hammer then every problem looks like a nail." Languages are just tools. Learn how to use as many of them as you can, and then select the appropriate tools for the correct jobs. A good rule of thumb is to try to competently learn at least one new language every year (you don't need to master them, just become comfortable reading and maintaining small projects written with them).

So learn Python for making your game. Also make a C++ game. Use Unity and C#. Make a Java game. Put together a website for your games in PHP/SQL/HTML/CSS/JavaScript. Learn as much as you can, and never ever stop.


I was going to reply with a long rant about how it is absolutely a great thing to learn multiple languages, but then read Sean's post and felt he stated my rant in fewer words. 

#5283225 Should I give up?

Posted by on 24 March 2016 - 01:39 PM

I've been there about 11 years ago. Just because we program or develop games (or any other type of software) doesn't mean we are an authority on who can and can't develop games. We also can't tell you if you should give up or not because that is something that only you can decide. Anything worth doing is always hard at first. Just keep at it until you get it or until you decide yourself that it isn't something you want to do anymore. Ultimately, you shouldn't run your life, passions, or hobbies based off the opinions or views of others because they aren't you and don't know what you are capable of; so just keep at it.

#5279973 Is Programming an RTS Game still good?

Posted by on 07 March 2016 - 02:17 AM

Only thing you have to worry about with old books is faded text. Any book that teaches you something is always worth reading and working out of. The only time I would recommend being picky is for a book trying to teach a language, otherwise books, both good and bad, can teach you something about game development.

#5279972 For beginners

Posted by on 07 March 2016 - 02:15 AM

Just to add to this, this is a rather helpful article to read for getting your path laid out. http://www.gamedev.net/page/resources/_/technical/game-programming/your-first-step-to-game-development-starts-here-r2976

#5276646 Game Dev.

Posted by on 18 February 2016 - 01:07 PM

The best programing language for games and realtime software is C/C++, but i think that you can need other language if you want use an engine as unity, in this case you need know javascript or c#, if you want to use Unreal Engine you would need to know UnrealScript or C++. In a personal view point, i think that you need to know C/C++ is a good base to begin in videogames development, because there are other languages as java or c# with a sintax like C and that can help you to learn it quicly.

Learning languages like Java or C# makes it easier to learn C++. C++ is a rather complex language that can be difficult and depression inducing to try and learn for some beginners. There are engines that use other languages to learn game development so you don't have to be locked into C++.