Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 31 Mar 2012
Offline Last Active Oct 25 2016 04:37 PM

#5172178 I know a good amount of C++ but what do i need to know about game programming?

Posted by on 07 August 2014 - 07:07 PM

Lazy Foo man. http://lazyfoo.net/tutorials/SDL/index.php


    It goes through many of the things you will need to know about the basic game loop. Input handling, image loading and rendering, sound, basic collision detection, and some things that are more difficult to understand like frame-independent movement. It also goes over things that are included in common games like a game camera and background tiling. It gives you a full(ish) understanding of basic 2D games. It's also a native C library (which means native C++ too). So yeah, that's good.


    Books probably won't help you too much until you understand the basic game loop.They tend to be somewhat unfocused in some places because when your an expert, you can forget what was difficult for a beginner. Also, I wouldn't worry about coming up with amazing solutions to problems(or any solution without research), or copying others code(as tonemgub said) as long as you try(really try) to understand it. Eventually you will get to a point where you do understand, and then you will really want to change copied code or rewrite poorly understood code (because you can do it better).I struggled with the frustration at not being able to come up with a solution on my own for a while before I realized I would just get there eventually with some perseverance and a touch of diligence.


I hope Lazy Foo helps you and if you have some specific questions I would love to answer them, send me an email or a PM on here, and I will get back to you! Much luck to you on your journey.

#5069013 Game Engine Development and Design

Posted by on 11 June 2013 - 07:42 PM

If you want to design a 3D game engine, I would reccommend getting the book Game Coding Complete 3rd or 4th edition. You can download the source code for the engines that he creates throughout the books here -> http://www.mcshaffry.com/GameCode/.