Users browsing this thread: 1 Guest(s)
How make games in c++?
#6
Like everyone's been saying, we can't just write up a tutorial for you. There are countless resources on the internet, you'll have to put some effort into learning the language and making it yourself. Like ThatStruggleThough suggested, starting small is inevitable, if you don't start off making small programs you're guaranteed not to get anywhere. Even for experienced programmers, games are a big endeavour and much more complex than it might seem.

I'm also not sure if C++ would be the right choice, especially if you've never coded before. I started learning it years ago, and after going through a huge, university-level book, the result was a command-line program that converted numeric grades to letters. C++ is an extremely low-level programming language, meaning that you will have a lot of stuff to deal with. Libraries like SDL obviously make this much easier, but even then you'll need to take a lot of time to learn and build experience. Personally, I switched to ActionScript 2.0 (and then 3.0), the Flash Player language, as that allowed me to create what I wanted much quicker and easier. Even now, years after, I'm making a game with a team and it's a challenge (granted, it's not a very simple game, but still).

I'm not saying C++ shouldn't be used for making games, or even as a first language to learn. It's great, it's the base of many things including games (pretty sure most major operating systems were written with it) and certainly useful. I still intend to learn it someday for working with bytes and memory at a low level. However, choosing a programming language to learn isn't asking "which have I heard the most about", but rather "which is the best tool for the job, and for me?" Last year I started using Haxe instead of ActionScript 3.0, because it was a good choice for me. It has a very similar syntax and there's a framework for it with the Flash API, so it was really easy for me to migrate. It can also compile to various targets in addition to Flash Player, which was useful for my projects.

What I'm basically trying to say is, don't jump in the deep end or you'll drown. This requires a lot of thought and consideration. You can't just feel like making a game and ask "how do I make a game in C++?" You need a lot of time, patience, and determination before you can begin creating anything resembling a game.

Wow, I didn't expect to write all that, sorry if it's a bit much Shy
You may have a fresh start any moment you choose, for this thing that we call "failure" is not the falling down, but the staying down. -Mary Pickford
Reply
Thanked by: Vipershark, E-Man


Messages In This Thread
How make games in c++? - by ?1t - 12-06-2014, 02:46 PM
RE: How make games in c++? - by E-Man - 12-06-2014, 02:54 PM
RE: How make games in c++? - by Shade - 12-06-2014, 03:13 PM
RE: How make games in c++? - by Kold-Virus - 12-06-2014, 03:23 PM
RE: How make games in c++? - by Struggleton! - 12-06-2014, 11:30 PM
RE: How make games in c++? - by puggsoy - 12-07-2014, 12:36 AM

Forum Jump: