Build 10 classic Flash games and learn game development along the way with this ultra-fast paced game development course.

If you love this blog, this is the book for you.

Buy the book

Get the source code of 12 commercial Flash games, which have been loaded more than 50 million times!

Learn from real world successful examples.

Get it now

Box2D for Flash Games teaches you how to make Flash physics games from scratch with the most advanced features.

Create the new Flash game smashing hit.

Buy the book

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.

Rate this post: 1 Star2 Stars3 Stars4 Stars5 Stars (25 votes, average: 5.00 out of 5)
Loading ... Loading ...
Flash Templates provided by Template Monster are pre-made web design products developed using Flash technology.
They can be easily customized to meet the unique requirements of your project.
Be my fan on Facebook and follow me on Twitter! Exclusive content for my Facebook fans and Twitter followers

This post has 14 comments

  1. Aldo Leka

    on April 19, 2012 at 6:38 pm

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

  2. Ben Reynolds

    on April 19, 2012 at 6:42 pm

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

  3. Ven

    on April 19, 2012 at 7:19 pm

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

  4. Tarcísio Gruppi

    on April 20, 2012 at 12:19 am

    Thanks Emanuele and Ben.

  5. Ray

    on April 20, 2012 at 12:53 am

    Thanks for sharing!

  6. Spacey

    on April 20, 2012 at 3:00 pm

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

  7. Open Sourced Flash Tower Game | circlecube

    on April 20, 2012 at 7:55 pm

    [...] InkTd Flash game source code released – Emanuele Feronato 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 ga… [...]

  8. Dani

    on April 23, 2012 at 6:14 am

    Thanks for sharing. i learn a lot here :)

  9. Niverse

    on April 23, 2012 at 8:55 am

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

  10. InkTd Flash game source code released – Emanuele Feronato « eaflash

    on April 23, 2012 at 9:10 am

    [...] on http://www.emanueleferonato.com Share this:TwitterFacebookLike this:LikeBe the first to like this [...]

  11. Jörg

    on May 11, 2012 at 9:55 am

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

  12. dammage

    on July 19, 2012 at 11:27 pm

    It’s great, thank you very much for sharing

  13. mm

    on January 12, 2013 at 11:24 pm

    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.

  14. Jocuri

    on January 19, 2013 at 8:39 pm

    Thanks for the realease its great for learning.