Sign in to follow this  
Firefly08

XNA Tutorial Series : Making a Tower Defence

Recommended Posts

Firefly08    164
Hi,

I have recently revived an old blog of mine : [url="http://xnatd.blogspot.com/"]http://xnatd.blogspot.com/[/url]. It is devoted to creating a full TD using XNA. So far I have 10 tutorials online :

Tower Defense Tutorials :
[list][*][url="http://xnatd.blogspot.com/2009/02/ok-so-first-part-of-our-tower-defence.html"]Tutorial 1 : Drawing the level.[/url][*][url="http://xnatd.blogspot.com/2009/03/tutorial-2-levels.html"]Tutorial 2 : Create a Sprite base class.[/url][*][url="http://xnatd.blogspot.com/2010/09/tutorial-3-enemy-class.html"]Tutorial 3 : Creating the Enemy class.[/url][*][url="http://xnatd.blogspot.com/2010/09/tutorial-4-waypoints.html"]Tutorial 4 : Adding way-points and enemy movement.[/url][*][url="http://xnatd.blogspot.com/2010/09/tutorial-5-towers.html"]Tutorial 5 : Making a base Tower class.[/url][*][url="http://xnatd.blogspot.com/2010/09/tutorial-6-tower-management.html"]Tutorial 6 : Tower placement and management.[/url][*][url="http://xnatd.blogspot.com/2010/10/tutorial-7-firepower.html"]Tutorial 7 : Extending the tower class and adding projectiles.[/url][*][url="http://xnatd.blogspot.com/2010/10/tutorial-8-waves-featuring-tower.html"]Tutorial 8 : Adding a wave of enemies.[/url][*][url="http://xnatd.blogspot.com/2010/10/tutorial-9-multiple-waves.html"]Tutorial 9 : Adding multiple waves[/url][*][url="http://xnatd.blogspot.com/2010/12/tutorial-10-creating-basic-gui.html"]Tutorial 10 : Creating the GUI (Part 1)[/url][*][url="http://xnatd.blogspot.com/2010/12/tutorial-11-creating-gui-part-2.html"]Tutorial 11 : Creating the GUI (Part 2)[/url][*][url="http://xnatd.blogspot.com/2011/01/tutorial-12-adding-new-tower-type.html"]Tutorial 12 : Adding a New Tower Type[/url][*][url="http://xnatd.blogspot.com/2011/01/tutorial-13-adding-slow-tower.html"]Tutorial 13 : Adding the Slow Tower[/url][*][url="http://xnatd.blogspot.com/2011/01/tutorial-14-polishing-game.html"]Tutorial 14 : Polishing the Game[/url][*][url="http://xnatd.blogspot.com/2011/02/tutorial-145-drag-and-drop-towers.html"]Tutorial 14.5 : Drag and Drop Towers[/url][/list]
Pathfinding Tutorials :
[list][*][url="http://xnatd.blogspot.com/2011/06/pathfinding-tutorial-part-1.html"]A* Pathfinding Tutorial : Part 1[/url][*][url="http://xnatd.blogspot.com/2011/08/pathfinding-tutorial-part-2.html"]A* Pathfinding Tutorial : Part 2[/url][*][url="http://xnatd.blogspot.com/2011/12/pathfinding-tutorial-part-3.html"]A* Pathfinding Tutorial : Part 3[/url][/list]
All the tutorials (excluding Tutorial 1 and Tutorial 2) have accompanying source code. The blog also contains source code for a finished Tower Defence (albeit old and slightly different to the final project made using the tutorials). Hopefully you will find the tutorials helpful, and any feedback is welcomed (Good or Bad :P)

Share this post


Link to post
Share on other sites
Kada    100
I'll take a look when I have time later today. I hope this does a good job of explaining how to draw and maintain more than 1 image, because I haven't quite grasped the process of drawing multiple things, and also transitioning from 1 game screen to another (menu to game, quit back to menu, etc).

Thanks for the resource!

Share this post


Link to post
Share on other sites
Kada    100
I'd like to learn XNA by following your tutorials (I already know -some- C# and I'm an experienced programmer in other languages), but in your first tutorial you say the engine is loosely based on Nick Gravelyn's Tile Engine, but I can't seem to find it on the web. The old link is dead, and the new one I found by googling (http://nickgravelyn.com/archive/#tileengine) is dead too :-P

Thanks for the help

If I DO find the tile engine tutorial, should I read that first, or do you think your tutorial set is sufficient enough as a start to see how you go about creating a game (and then go and read the tile engine tutorial after)?

Share this post


Link to post
Share on other sites
Firefly08    164
Hey, I would definitely recommend watching the whole series, it really is very useful, but it's not required, it just depends how much experience you have with C#

I found you a link : http://blog.nickgravelyn.com/2010/02/tile-engine-videos-on-youtube/

Share this post


Link to post
Share on other sites
Firefly08    164
Quote:
Original post by VitaliBR
Amazing!

Congratulations friend!
I work with DirectX, but I issued the forum I frequent in my country (Brazil), ok?


:D


Thank you very much! :D

Share this post


Link to post
Share on other sites
Firefly08    164
I have just uploaded the latest tutorial in the series! [url="http://xnatd.blogspot.com/2011/01/tutorial-12-adding-new-tower-type.html"]Tutorial 12 : Adding a New Tower Type[/url]

Share this post


Link to post
Share on other sites
Firefly08    164
Hey guys, I have just added the final tutorial in the series! [url="http://xnatd.blogspot.com/2011/01/tutorial-14-polishing-game.html"]Tutorial 14 : Polishing the Game[/url]. Hope you have enjoyed this series and hopefully you found it of some use!

Share this post


Link to post
Share on other sites
falc410    127
Hi,

this looks like a great tutorial. I really want to read it through. Could you maybe host the tutorial in PDF form or at least add a print link to the individual posts? That would be greatly appreciated! This way I could have the whole tutorial in one file and not needing to access the webpage all the time.

Share this post


Link to post
Share on other sites
falc410    127
Yes because it's totally unreadable. Usually articles have a print button which prints the text / article in a printer friendly format but I didn't see any link on the blog for this. If you just print the webpage it looks horrible.

Share this post


Link to post
Share on other sites
Doug Rogers    253
[quote name='F4lc0n' timestamp='1296835583' post='4769574']
Yes because it's totally unreadable. Usually articles have a print button which prints the text / article in a printer friendly format but I didn't see any link on the blog for this. If you just print the webpage it looks horrible.
[/quote]

There are free plugins to print web pages, like this one:

http://www.hp.com/global/us/en/consumer/digital_photography/free/software/smart-web-printing.html


Epson has one, too, I think.

Share this post


Link to post
Share on other sites
Firefly08    164
I have uploaded one last addition to the series which should make porting the game to windows phone easier! [url="http://xnatd.blogspot.com/2011/02/tutorial-145-drag-and-drop-towers.html"]Tutorial 14.5 : Drag and Drop Towers[/url]

Share this post


Link to post
Share on other sites
Firefly08    164
I have just uploaded a short tutorial on how to add health bars to the game : [url="http://xnatd.blogspot.com/2011/04/tutorial-15-adding-health-bars.html"]Tutorial 15 : Adding Health Bars[/url]. I hope you find it useful!

Share this post


Link to post
Share on other sites
Firefly08    164
Just to let you know guys I have started a new short tutorial series on Pathfinding, the first two tutorials are now up :
[list][*][url="http://xnatd.blogspot.com/2011/06/pathfinding-tutorial-part-1.html"]A* Pathfinding Tutorial : Part 1[/url][*][url="http://xnatd.blogspot.com/2011/08/pathfinding-tutorial-part-2.html"]A* Pathfinding Tutorial : Part 2[/url][/list]
Hopefully some of you guys will find this useful!

Share this post


Link to post
Share on other sites
Firefly08    164
The last tutorial in the A* pathfinding series is now up, enjoy!! : [url="http://xnatd.blogspot.com/2011/12/pathfinding-tutorial-part-3.html"]http://xnatd.blogspot.com/2011/12/pathfinding-tutorial-part-3.html[/url]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this