Hey guys and gals, I'm 15 and looking to start writing some code for anything, games mostly though and I was wondering if the Test Based game is headed in the right direction. Is it the right habit / am I doing anything that will end me up in a bad coding habit? This is in Visual Studio Professional 2013.
Text based games are generally not going to help you begin game programming. It doesn't teach you to utilize graphics or external libraries or anything. On top of that, they are usually much harder to write and don't generate much attraction. I recommend giving SFML a spin. It has a great documentation and is easy to get the hang of. Once you've made a game or two with that, try some Java if you're serious about games. If you really like C++ try out DirectX or OpenGL.
and just the tutorials page in general, it has everything you need to make simple game with SFML. The good thing about SFML is that it is cross platform, meaning you can use the same code on Mac, Linux, and Windows, without a problem. (Generally)
Thank you!, Ill check that out. Also I was told that Java, C#, and other languages to make games out of are simpler than C++, therefore I wanted the extreme challenge of C++.
Also, I'm running my computer on Windows and Linux to develop games on, (it was a hand down from my local computer store.) Are you saying that if I make a game in windows, ill be able to open that game up under my Linux and play it?
Are you saying that if I make a game in windows, ill be able to open that game up under my Linux and play it?
If by "open it" you mean execute the same object file, then no. Object files are not compatible across Winfows and Linux.
What R23MJ meant by "cross-platform" is that you can take the same source code, compile it and bind it with the SFML library for a particular platform and have an executable that runs on that platform.