Begun work on the achievements system

I began work on the achievements system today. I build a new block in serge to handle recording and rendering of achievements. I tried this out by adding some simple achievements to QANAT. You can see the result on the screenshot to the right. It looks quite nice and is quite easy to add to the game.

Each achievement has a name and description and a condition that will be checked during the game. You have to manually add the reporting calls to check the condition. For simple things like score this just turns out to be a line of code. I created a simple banner renderer as seen in the screenshot and the next thing on the list is a table view to see all the achievements and show which ones you have reached.

Tags: