Hack of the day: Power of two
December 9, 2010
To find out if a number is a power of two, you can use the following code snippet: (C++) » more
To find out if a number is a power of two, you can use the following code snippet: (C++) » more
To swap two variables without the use of a third temporary one, you could use the bitwise XOR operator: » more
Here is an example of how to check if two ints have opposite signs: » more
During the last weeks I was thinking a lot about which type of game I could do next, because I want to start working on a new game next year. » more
It seems that there is a new trend to offer indie games in bundles for very low prices. » more