Thursday 14 January 2010

Sheild Hit

So after getting the Tank and the Aliens tested for hits the next step was the Shields, I decided that I was going to create a function for this as I will be doing the same code over again for many different items such as the Tank Bombs and the Aliens bombs. The coding for this was straight forward, I did add a little extra to it so that every time the Shields were hit they would fade a little bit this was done with the Alpha setting and deducting 0.10 every hit.



Well here is my code:

No comments:

Post a Comment