I lately talked with a friend about which language is the best and he told me that C++ doesn’t have Interfaces like Java. » more

If you free up memory in C++, you should also set the pointer to NULL. If you double delete memory, your application will crash! » more

@dennisosimon and myself are currently prototyping various things using haxe.

Today we wanted to shuffle the elements of an array around. As haxe doesn’t support a shuffle-method for arrays out of the box, we came up with a very simple workaround: » more

The most boring game ever
February 1, 2011

I just discovered the most boring game ever: It’s called Desert Bus. » more

As mentioned in one of my previous articles, a programmer should often use asserts to detect errors and bugs early. The problem with assertions is, that if you run your code, and the lines are not executed you’ll never get noticed about the problem. » more

A very common problem in programming is to calculate prime numbers fast.

There are a lot of interesting ways to solve this problem. I want to show you some solutions without the need for a complex algorithm. This type of solutions can also be applied to a lot of problems that may occur during your daily work. » more

I usually create a prototype before I start to work on a new game. I also prototype complex features quick and dirty at first. Why is this important? » more

Using right shifts, you can compute the next power of two of an 32-bit integer in a very effective way: » more

A programmer should often use assertions, so he is able to detect errors as soon as they occur.

In C++ the standard assert-macro doesn’t allow for an additional message. But with a simple workaround, you can print out additional information when the assertion occurs: » more

Flashback – The Quest for Identity was released in 1992. It was the sequel to Another World. » more