Follow goofballgames on Twitter

Ok, so based on the comments I realized that not having a “win” or “lose” condition at this point was not working. Well, fear not my friends, I have fixed the situation and now you can lose or win depending on how you play the game now. Yay!

Having a win/lose condition at this point is no good if you don’t know how anything else works. Therefore, If you haven’t read How to build a tower defense flash game – Part 9 – Scores and Wave Timeline! you should go back and read it before you continue. [...]

Welcome to another installment of my tower defense series – Part 9. I know you’ve been asking for more and I’ve done my best to get creative. I’ve already built out the next few Parts the only thing I need to do now is explain it all, but for now without any more delay – This lesson we will be covering the following subjects:

  1. Multiple Waves of creeps at the same time.
  2. Creation of a time line for creep releasing.
  3. Start tracking a users score in a full game.

Before we begin, if you haven’t read How to build a tower defense flash game – Part 8 – Poison Tower and Basic Startup! you may become overwhelmed at the scope and content and should consider going back and read the earlier articles which may answer some questions if you came here first. [...]

_Note: Fixed a problem with Part 8 download it should now be working – Thanks MIV for pointing that out._

We are now at Part 8! You should be pretty up on your tower defense games at this point in the series. However, before we begin you should make sure you have reviewed the previous tutorials if you came here directly from a link. If this is the first time you’re viewing the page you may want to start at the beginning by clicking here or you can go to the previous tutorial Part 7 by clicking the below link:

How to build a tower defense flash game – Part 7 – Gold and Upgrades! [...]

I’ve taken a much needed holiday vacation from my work, but I’m back to work at MTV and I’m all ready to get back into this. If this is the first time you’re viewing the page you may want to start at the beginning by clicking here) or you can see the previous part 6 if you just missed that one :^D

How to build a tower defense flash game – Part 6 – Tower Powers! [...]

Wow, the last article was intense – How can I possibly beat that? Oh, I think I can come up with an idea, um, how about tower powers?! You know that thing that makes the towers placed unique. Well I could think of a few powers that can be combined to make virtually all tower types – but then i realized something so complete would take a lot of writing to explain. So here are the intermediate level tower powers!

If you haven’t already read the last tutorial – How to build a tower defense flash game – Part 5 – Wave after Wave of Creep Kill’in! you should seriously consider giving it a go.

So this is what we will build today – Select the different towers and play around. The black tower is our default “damage only” tower. The red tower is an area of effect tower that does a tad less damage but it is spread across a larger area. The blue has a small area of effect and slows enemies by 25% and does minimal damage. [...]

As of today, we’re bring it all together – Today is the day that the tower defense game will start to really look as it should. Even thought this is an insanely interesting article, you really should read the other articles first – Most especially, How to build a tower defense flash game – Part 4 – Starting the tower attack!

In this article today we are going to do so many things:

  1. Creeps can now die
  2. We will make *WAVES of CREEPS* with different groupings and speeds
  3. We’ll add in some in game messaging
  4. Lastly, creatures that make it all the way around will attack again [...]

We’re back with another lesson in the never ending saga to create the perfect tower defense game. This is part 4 of the the series, you would be well advised to consult the first 3 tutorials in the series, How to build a tower defense flash game – Part 3 – Rotation and Realism before attempting this section.

Once again all the source code for this tutorial can be downloaded by clicking here.

Today we are going to charge right into the newest section in the series – “Starting the tower attack!” This is one of the most important components in a tower defense game and will ultimately be one of the most enjoyable to program. I will definitely not get to all the cooler aspects of attacking towers in this one section, but I promise that we will create all sorts of fun towers soon. You will however, at the end of this particular tutorial, have enough knowledge to make any cool towers you can think of. I’ve tried to make the codes robustness enough for that! [...]

Welcome to part 3 of the tower defense series – Today we are going to be delving into the fine art of realism. Nothing ruins the immersion of games like something that doesn’t make sense in the real world (unless that’s what your game is completely about. Since most tower defense games are rooted in the real world, we need to make sure that the items in the game act like real object.

If you’ve been diligently following the past 2 part of the series (”part 1 – Waypoint and Enemies” and “part 2 – Placing towers”) you know that currently both the towers and the creeps don’t rotate. Now that’s fine for hot air balloons and flying saucers, but people turn in the direction their either walking in or shooting in. So to this end we have to add a few new abilities.

  • Towers need to be able to target the nearest creep
  • Towers need to face in the direction of the creep they’re targeting
  • Creeps need to rotate when they move in a specific direction

Before we begin, if you haven’t read How to build a tower defense flash game – Part 1 – Waypoints and Enemies or How to build a tower defense flash game – Part 2 – Placing Towers [...]

Welcome to part 2 of the tower defense series – Today we’re going to be adding code to place towers. Whoa, slow down there you say – “place towers? That’s crazy talk”. I assure you it isn’t and once you are able to place towers in the next section we will combine our lessons together to have a single level of play!

If you haven’t read How to build a tower defense flash game – Part 1 – Waypoints and Enemies, you may want to review it before you continue on

Before I get ahead of myself, we still need to finish this task in the series! You can Click Here for all the material I present for part 2 of this tower defense series. [...]

How to build a tower defense flash game (Part 1 – Waypoints and Enemies)

So we are going to start off strong in the first part of this tower defense tutorial “how to” series: Waypoints and Enemies.

All flash files and code can be be downloaded Here

More to the point I am going to going to show you how to have a basic enemy follow a predefined path, by following a series of waypoints. By the end of this series, you will have all the information to be well on your way to making the next great tower defense game. [...]