Actionscript 3 Side Scrolling Games

Use Flash and Actionscript 3 to program a side scrolling game that could be played online, on Android, or iOs devices.
3.6 (8 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.
9,033 students enrolled
25% off
Take This Course
  • Lectures 6
  • Length 3.5 hours
  • Skill Level All Levels
  • 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 11/2013 English

Course Description

Justin Dike, lead developer and owner of teaches every step in programming a side scrolling Flash game with Actionscript 3. Use the arrow keys to move a character around and attack while traversing a vector based environment (you can easily draw the entire level to play on using vector shapes or movie clips.

Also included is alternate code to use with a mobile device's accelerometer (tested on the Android & iPhone OS). Topics include:

  • Add new classes for different enemies.
  • Add new classes for objects like coins to collect.
  • Swap in new art to easily create new levels (just cut and paste, or draw in new art).
  • Add more levels, including animation that the player could collide with.
  • Add more objectives (items to pick up or areas on the board to go to)
  • Adjust how many enemies are on stage, where they spawn from, and how often they appear.
  • Change the physics of the game, speed or attack intensities of the enemies

As usual with Justin's tutorials, source files are included.

What are the requirements?

  • Adobe Flash CS5, CS5.5, CS6, CC (or any version with Actionscript 3)

What am I going to get from this course?

  • Program at least one level of a side scrolling game

Who is the target audience?

  • Anyone

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 and Programming Your First AS3 Class

In this tutorial, we will mostly just look at creating a custom class in Flash. Learning Object Oriented Programming is an important part of the lessons to come, so handling a relatively simple countdown clock is a good place to start.

Section 2: Programming an Actionscript 3 Side Scroller

In this lesson we will program the main engine of the game, setup a Player, Enemy, test collisions and much more.

The example files for this part of the course are included in the Supplemental Materials tab.


In this lesson we will spawn more enemies, handle what happens when an enemy falls off the edge of the universe, code actions for the player jumping and attacking, and a whole lot more.

The example files for this part of the course are included in the Supplemental Materials tab.


In this lesson we'll add a Coin class and include code for using the Accelerometer on a mobile device to control the character. The example files (in the Supplemental Materials tab) might not run properly if you don't test on a device.

The Supplemental files included with Lecture 6 strip out the mobile code.

Alternate Source Files

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Justin Dike, CartoonSmart / Owner / Leader Developer and Instructor

Justin Dike is the founder of CartoonSmart one of the internet's first video training websites. He is a long-time illustrator and animator, focusing mostly on Adobe Flash, and experienced programmer with Swift, Sprite Kit, Actionscript 3, Objective C and Cocos2d. For CartoonSmart he has recorded hundreds of hours of video tutorials and recently published his first full length book titled iOS Programming with Xcode and Cocos2d available in the iBookstore. Justin has also developed many iOS games, including a side scrolling game engine.

Ready to start learning?
Take This Course