The game starts to look complete and I am getting ready to build versions of the game, for the platforms I initially had in mind which are Linux, Windows and Mac OSX. Building for Windows First off I hoped I …

Spacefight – Building and distributing the game – Part 11 Read more »

Tagged with: , , , , , , , , , , ,

While the project is in development phase it is very convenient to have all the assets laying around in folders. But when it’s time to distribute your game it doesn’t look as professional when everything is lying all over the …

Spacefight – Packing all the resources into one file – Part 10 Read more »

Tagged with: , , , , , ,

In software development there are different types of bugs. C++ is a hard typed language which makes it easy for the compiler to detect errors in the code. So if there is type error (int is not a float, or …

Spacefight – Gamecrash, memory leaks and frustration – Part 8 Read more »

Tagged with: , , , , , ,

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: , , , ,