Introduction In this tutorial, you will learn how to add sound to your game, using the FMOD Ex sound library. You will also learn about sound quality, and how to use FMOD for special sound effects, such as echo, reverb, low-pass filters and so on. Digital Sound Sound is stored Read more »
Introduction Like physics, AI (Artificial Intelligence) is an incredibly complex field, and it's always changing. Some companies allocate entire teams to the subject to make their game provide challenging game play. So we can only hope to understand a few very basic concepts in this tutorial... Read more »
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 Before we continue with typical game related topics, you need to know a few more general techniques that will help you when you write your games. One of these techniques is file i/o. 'I/O' stands for 'input and output'. You are of course already performing file op... 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 article we will return to the numbers that represent colors, as demonstrated in the second installment of this series. This can only be done through the wonderful world of bit magic, which is by the way a very nice place to be, so we will explore it thoroughly. Read more »
One of the harder concepts in C++ is the concept of pointers. Pointers have everything to do with the very nature of the language: C++ gets you pretty close to the hardware you are working with, and one of the most important parts of that hardware is memory. Your system Read more »
In this tutorial, we're going to look at how you can stop and start your code to see what it is doing as well as view some variables and values. This is a process called debugging, it can be a complex process but we'll stick with the basics of breakpoints, 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 »
This tutorial is about the condition commands C/C++ has which allow you to make important decisions that can help you to control the way your program flows. You already did some of these conditions when you did loops without realizing it, so this is just a cool way to make Read more »