All games contain loops of some sort. The most important loop in the game is simply called “game-loop”. This is a short example how it will run:

This is a short version of what is happening in the code. …

Spacefight – The game-loop – Part 6 Read more »

Tagged with: , , , ,

In the last post I made a GameObject class. Now it’s time to subclass from the GameObject class into an enemy. The enemy object will make use of the shared functionality in GameObject, like position, access to a shared AnimationLibrary …

Spacefight – Subclassing into enemies, player and other stuff – part 5 Read more »

Tagged with: , ,