InkTd Flash game source code released

Did you ever wonder how a complete tower defense source code looks like?

This is your lucky day.

A couple of years ago Ben Lowry, also known for being the founder of Playtomic, made a tower defense game with two game modes: path mode, which is the mode we all are used to play (minions running along a defined path, and towers to be placed on defined spots) and maze mode, where you can place towers anywhere and minions dynamically adjust their paths to reach the base.

Both modes have up to 100 levels, and the name of the game is InkTd

One of the things I liked the most is the feature to upgrade the cannons with various colors, to match with enemy colors. It adds strategy since red enemies can be hit by red towers, green enemies by green towers, and so on.

But I talked about the source code, because Ben shares with us the full source code, more than 40 classes to be studied to make your own tower defense game.

It’s a source code of a great value and I can’t thank enough Ben for giving it for free.

Download the source code.

  • Aldo Leka

    Great !
    Appreciate your efforts on the blog which is very interesting sometimes.
    Greetings from Albania :)

  • Wow, thank you so much for this source code, it should be an invaluable resource moving forward.

  • Ven

    Nice work Emanuele and Ben, way to keep the fountain of knowledge flowing!

  • Thanks Emanuele and Ben.

  • Ray

    Thanks for sharing!

  • Spacey

    Great. I like looking at how other people structure their code, and get ideas from that.

  • Pingback: Open Sourced Flash Tower Game | circlecube()

  • Thanks for sharing. i learn a lot here :)

  • Wow awesome game! I want to make something like this. I’m using Flash Punk atm which is quite interesting.

  • Pingback: InkTd Flash game source code released – Emanuele Feronato « eaflash()

  • I like reading blogs about Sourcecode. You did really good work on here. I’ll bookmark your site. Thanks, Jörg.

  • dammage

    It’s great, thank you very much for sharing

  • mm

    Thank you so much. As a beginner this is a great way to learn how to build my most enjoying games. I basically can’t stop playing any tower defense games.

  • Thanks for the realease its great for learning.

  • wangxx

    why i can’t open INKTD.fla ?