Friday, 8 April 2011
Tutorial 15 : Adding Health Bars – Extended
In this tutorial we are going to add little health bars that will float above our enemies heads. A lot of the code in this tutorial has been inspired from George Clingerman’s amazing tutorial on health bars. So if you are struggling with this tutorial, I would recommend reading his first as he explains it in more depth than I will.
Friday, 25 February 2011
Tutorial 14.5 : Drag and Drop Towers
Monday, 31 January 2011
Tutorial 14 : Polishing the Game
In this, the last tutorial in the series, I will show you how to add a bit of polish to the game by adding a few key features to our game :
- Giving the player money when he kills an enemy.
- Removing a life when one of the enemies reaches the end of the path.
Both of these things will be implemented in the wave class, however before we make any changes to that we must first make some of the player’s properties settable!
Friday, 21 January 2011
Tutorial 13 : Adding the Slow Tower
As a few of you have requested, I will write another tutorial on creating a custom tower type. In this tutorial I will show you how to create a tower the makes the enemies move slower when they are hit with a bullet, and hopefully by the end of this tutorial you will see how easy it is to extend the tower class to make all sorts of different towers!
For simplicities sake, I am only going to show you the changes needed to create the new tower class and not include any details about adding a new button or changing the player AddTower method (If you need help on this see Tutorial 12). However I will provide some placeholder textures that you can use for the slow tower :
Tuesday, 18 January 2011
Tutorial 12 : Adding a New Tower Type
Sorry for the delay, I have had a very busy at the month! In this tutorial I will show you how to add in two type of cannon, the Spike tower. This tower will be able to shoot 8 bullets in eight different directions at a time.
This should be pretty straight forward seeing as we have designed the Tower class to be as extensible as possible, although we will have to make several adjustments to some of the other classes.
Thursday, 23 December 2010
Tutorial 11 : Creating the GUI (Part 2)
In this tutorial we will be adding a generic button class to our project, and then we will be using this class to add buttons to our toolbar. We will keep this button class a general as possible so it can be re-used throughout the project.
Friday, 17 December 2010
Tutorial 10 : Creating the GUI (Part 1)
Sorry for the delay in tutorials, but real life got in the way again. In this tutorial we are going to make a start on our games interface, the interface I'm going to show you how to make is going to be incredibly simple for now.
By the end of this tutorial we will have a toolbar that runs along the bottom of our game window that will show the player some useful information.