Create a Tower Defense Game in ActionScript 3.0

Learn how to create a tower defense game using ActionScript 3. Create games like Plants VS. Zombies and Castle Defense
3.7 (3 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
822 students enrolled
70% off
Take This Course
  • Lectures 19
  • Length 2 hours
  • Skill Level Intermediate Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 5/2015 English

Course Description

At the first part of the lesson, we will just be designing and prepping our stage. In the second part, we will add a script so that when we click on our tanks, another tank will appear and we can drag them on the boxes. The last part of this lesson will show you how to add a cost to your tanks. The third part of this lesson makes the tanks shoots bullets once they are in the boxes In the fourth part of the lesson, we will make the enemies move along the stage. We will also make our enemies disappear once they are hit by the bullets. The fifth part of this lesson will show you how to program your health. This lesson will also tell you how to fix the health, tank, and money issues that you might have encountered.

What are the requirements?

  • Adobe Flash CS4 or higher
  • Adobe Animate (previously called Adobe Flash CS4)

What am I going to get from this course?

  • Learn how to create a Tower Defense Game using ActionScript 3.0
  • Learn how to buy armors/weaponries/tanks and snap them to the stage
  • Learn how to kills enemies using the weapons/armors/tanks that you've bought
  • Learn how to properly integrate addChild, startDrag, and stopDrag methods in ActionScript 3 to Create a Tower Defense Game

Who is the target audience?

  • If you have basic knowledge in ActionScript 3.0, I highly suggest you take my course Flash Beginner to Advanced where we create different browser based games
  • Students interested in creating Tower Defense Games like Plants vs. Zombies

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Introduction: What to Expect?
What to Expect
Section 2: Programming the Tanks
Preparing the Stage
Adding the Tanks
Dragging the Tanks
Preparing to Snap the Tanks
Snapping the Purple Tank
Snapping the Black Tank
Debugging the Purple Tank
Debugging the Black Tank
Finalizing the Tanks
Section 3: Adding Bullets to the Tank
Adding Bullets to the Purple Tank
Adding Bullets to the Black Tank
Section 4: Programming the Enemies
Making the Enemies Move
Purple Bullet Hits Enemies
Black Tank Hit Enemies
Section 5: Programming the Health
Programming the Player's Health
Section 6: Final Touches and Debugging
Final Touches and Debugging 1
Final Touches and Debugging 2
Section 7: Tower Defense FLA file
Download files here
1 page

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Rexcel Cariaga, College Professor

Rexcel Cariaga has been teaching actionscript, game programming, mobile development and interactivity design to college students since 2008. A lot of his students has landed a job in the mobile game industry. View more about me and my students at the website link located in my profile page. 

Ready to start learning?
Take This Course