This tutorial is going to span a number of posts so that I can go into the detail necessary. One last thing that many new developers get hung up on… we are writing a game, not a game engine! Don’t overwhelm yourself with unneeded complexity when you are just starting out. Using C++ without objects is like using a hammer only as a nail extraction tool while functional you are entirely missing the point of the tool. Both of these statements illustrate the failing of many tutorials. So often questions come up like “how do I split my code up into multiple files” or people state things like “I hate OOP, I’ll just use functions”. The problem is so many of these people follow outdated or just downright bad examples and establish a horrific coding style right from day one. I am writing it in C++ because regardless to all the people say “DON’T DO THAT IN C++!” the vast majority of people still do. That is a good question with a bad answer. I am going to cover it over a number of posts, each building on the last and if you follow along, hopefully at the end you will be well on the road to creating your own games. I have decided to take a quick detour from my primary game development, to illustrate how to create a more simplistic 2D game using C++.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |