Introduction In this tutorial, you will be introduced to game physics. This is an incredibly broad field, and quite complex too, so you'll really only get a teaser. This will however produce some pretty effects, which you will most definitely appreciate. Physics Many recent games use highly ... Read more »
Introduction In this article we can put away our coding fingers for a moment and focus on an important feature of C++. It is portable and extendable! This portability of code is an extremely important feature of C++ - but it requires that we write clean, well maintained classes or Read more »
Introduction If you are like me, you probably hate mathematics. For some strange reason, game development is full of it, yet many game developers consider themselves noobs in this area. It might have something to do with the fact that you get away with plenty of trial and error: once Read more »
Introduction In article 9, you where introduced to the noble art of bitmagic. Here's a quick refresher: multiplying an integer value by (a power of) 2 can be done by shifting its (binary) bits to the left. Division is similar, except this time you shift to the right. So, a Read more »
Introduction If you got here in good shape, you learned a lot: you went though the basics of C programming, and got a taste of object-oriented programming as well. In the meantime, you experimented with quite a few game-related concepts. In the second half of the tutorial series you will Read more »
Introduction You have been using a rather fundamental feature of C++ for a while now, and today you'll actually be properly introduced to it. It's the feature that adds the '++' to C, the feature that will add class to your code. Or rather: classes. It's time to get objec... Read more »
Introduction It's time to introduce you to a great concept for 2D graphics in C++, that you will find very useful and easy to use: Tiles. Tiles are a simple way of displaying 2D graphics for games such as Mahjong, strategic-type turn-based games and so on. We will be using Read more »
In this tutorial, we're going to look at one of the most common and easy ways to keep track of "things" in C++. Arrays are a simple way of keeping data in order so that it can be accessed and changed using a simple variable called an index. Getting the Read more »
In this tutorial, we're going to look at how you can get the computer to calculate with decimal values (numbers like 3.14), instead of only integral values (numbers like 3). Getting the stuff you need As with the last tutorial, we'll use the template again. Extract the package to a Read more »
As you noticed in the first article, setting up a project in Visual Studio can be quite a task. And we didn't (nearly) touch all the settings that you can adjust for a project either. To make your life a bit easier, we will use a project template from now Read more »