Build 10 games and learn game development along the way in this fast paced game development course

Get the source code of 12 commercial games, loaded 50+ million times, and learn the secrets of game design

Learn how to make a successful Flash game from a real world example. Fully commented source code

Create realistic Flash physics games from scratch with advanced features, from Angry Birds to Crush the Castle

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 (28 votes, average: 5.00 out of 5)
Loading ... Loading ...
Learn how to make a successful commercial Flash game from a real world example: get the fully commented source code of Globez, a Flash game played millions of times which generated a four figure income. Limited copies available.

Get it now
Be my fan on Facebook and follow me on Twitter! Exclusive content for my Facebook fans and Twitter followers

This post has 15 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.

  15. wangxx

    on June 3, 2013 at 12:22 pm

    why i can’t open INKTD.fla ?

Thank you for the download!!

I hope you will find it useful and make something interesting out of it

To keep up to date with the blog, why don't you like my Facebook page and follow me on Twitter?

Want to learn more? Don't miss this:

Learn how to make a successful commercial Flash game from a real world example: get the fully commented source code of Globez, a Flash game played millions of times which generated a four figure income. Limited copies available.

Get it now

×