1 Attachment(s)
My Achievement system (it works, but sucks?)
I have created an Achievement system for my game and uploaded an example of it. It works, but I feel that its a very clumsy system I have made (160 events).
I wonder if someone who is a better coder then my could look at it and maybe change it so its not so clumsy and have so many events? Its also a real headache to add new stuff or extra achievements to it as it is now I feel with this many events and conditions.
Also I used up a lot of global values to be able to check if an achievement have been unlocked in the game and set the direction of the medal to the right direction if it has been fulfilled. Maybe I could use something else then globals? It need to be able to carry over all frames though.
I have attached my example to this thread. You can mouse over an achievement to make it "pulsate" and display its text. You can also use the arrow keys to jump between achievements if the player prefer keyboard controls.