O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Mobile Game Development with Flash CS6 and ActionScript 3.0

Video Description

This VTC course on Mobile Game Development with Flash CS6 and ActionScript 3.0 is designed to walk you through the basics and provide the building blocks to create your very own mobile games. Author Chad Troftgruben begins with some ActionScript essentials and then demonstrates how to create touch, accelerometer, and gesture controls for mobile applications. Then he'll show you, step by step, how to design and code a game using Flash CS6 and ActionScript 3.0. By the end of the course, you will have a template that you can build upon to create and market your very own mobile games! ActionScript and Flash work files are included. For work files message our support at learnmore@vtc.com / sales@vtc.com

Table of Contents

  1. Overview of Flash CS6 And ActionScript
    1. Introduction 00:03:58
    2. Overview of the Flash Interface 00:06:35
    3. New in CS6 00:04:50
    4. What ActionScript Is 00:04:02
    5. ActionScript Resources 00:04:37
  2. ActionScript Basics
    1. Creating a Trace Statement 00:05:49
    2. Displaying Text 00:06:51
    3. Displaying a MovieClip 00:06:41
    4. Multiplying MovieClips 00:06:46
    5. Commenting on Code 00:04:50
    6. Coding an Event Listener 00:06:35
    7. Drawing Graphics with Code pt. 1 00:04:19
    8. Drawing Graphics with Code pt. 2 00:04:21
    9. Animating Graphics with Code 00:04:52
    10. Hit Detection Test 00:06:29
    11. A Look at ActionScript Files 00:02:35
    12. A Look at XML Documents 00:01:47
    13. Public vs. Private Statements 00:02:54
  3. Accelerometer
    1. What the Accelerometer Is 00:01:59
    2. Setting Up the Document and Assets 00:05:33
    3. Coding a Trace 00:06:11
    4. Mapping Movement to the Marble 00:04:43
    5. Setting Boundaries 00:05:39
  4. Taps
    1. An Explanation of Taps 00:03:11
    2. Setting Up the Document and Assets 00:06:32
    3. Explanation of Mouse Events 00:01:58
    4. Coding a Touch Event 00:05:25
    5. Coding Drag Functionality pt. 1 00:03:20
    6. Coding Drag Functionality pt. 2 00:04:31
    7. Testing Other Taps 00:02:53
  5. Gestures
    1. Setting Up the Document and Assets 00:04:48
    2. Coding a Rotation 00:05:36
    3. Coding a Zoom Effect 00:06:58
    4. Constraining Zoom Size pt. 1 00:03:13
    5. Constraining Zoom Size pt. 2 00:03:52
    6. Setting Up the Document for Swipes 00:02:43
    7. Coding a Swipe pt. 1 00:03:35
    8. Coding a Swipe pt. 2 00:03:39
    9. Coding a Swipe pt. 3 00:04:52
    10. Coding a Swipe pt. 4 00:05:01
  6. Assembling Coin Game Assets
    1. Overview of the Game 00:03:45
    2. Setting Up the Background 00:03:10
    3. Assembling Fish Animation 00:06:23
    4. Assembling the Explosion pt. 1 00:04:09
    5. Assembling the Explosion pt. 2 00:04:57
    6. Animating the Bubbles pt. 1 00:06:00
    7. Animating the Bubbles pt. 2 00:06:32
    8. Animating the Bubbles pt. 3 00:02:39
    9. Animating the Sparkle pt. 1 00:05:12
    10. Animating the Sparkle pt. 2 00:03:30
    11. Importing Other Assets pt. 1 00:04:45
    12. Importing Other Assets pt. 2 00:05:11
    13. Game Over Screen pt. 1 00:03:39
    14. Game Over Screen pt. 2 00:06:03
    15. Game Over Screen pt. 3 00:02:39
    16. Setting Up Main Movie Clip pt. 1 00:05:03
    17. Setting Up Main Movie Clip pt. 2 00:03:12
  7. Coding the Coin Game
    1. Creating an ActionScript File 00:03:00
    2. Importing an ActionScript File 00:02:45
    3. Importing Classes 00:05:06
    4. Defining Variables pt. 1 00:03:54
    5. Defining Variables pt. 2 00:02:16
    6. Defining Variables pt. 3 00:05:26
    7. Setting Up the Beginning 00:06:08
    8. Accelerometer and Timers pt. 1 00:06:10
    9. Accelerometer and Timers pt. 2 00:06:31
    10. Functions for Coin and Bomb Timers 00:06:21
    11. Function for Adding Coins pt. 1 00:05:18
    12. Function for Adding Coins pt. 2 00:05:59
    13. Star Bursts and Coin Score pt. 1 00:05:43
    14. Star Bursts and Coin Score pt. 2 00:02:25
    15. Clean Up Function 00:05:01
    16. Create Bomb Function 00:04:48
    17. OnTimer Bomb Function pt. 1 00:04:29
    18. OnTimer Bomb Function pt. 2 00:03:55
    19. OnTimer Bomb Function pt. 3 00:03:15
    20. Remove Bomb Function 00:05:16
    21. Bubbles Function 00:05:36
    22. Speed of Fish 00:05:27
    23. Start Game Function 00:05:39
    24. Accelerometer Function 00:04:28
    25. Game Over Function 00:03:44
    26. Defining directionWas 00:03:51
  8. Testing and Publishing
    1. Debugging pt. 1 00:04:44
    2. Debugging pt. 2 00:03:10
    3. Adjusting Export View 00:04:09
    4. Exporting to Android 00:03:38
    5. Creating Your Android Certificate 00:05:26
    6. Tips for Publishing to Google Play 00:04:06
    7. Exporting to iOS 00:04:04
    8. Apple Developer Certificate 00:05:00
  9. Conclusion
    1. Course Wrap Up 00:02:53
  10. Credits
    1. About the Author 00:00:59