Join Paul Trani for an in-depth discussion in this video Optimizing ActionScript, part of Flash Professional CS5: Creating a Simple Game for Android Devices.
- View Offline
- Exercise Files
Optimizing your ActionScript code is just as important as optimizing your graphics.…That's what I want to do now.…I am going to go into my ActionScript code. Here it is, and quite frankly,…there's a lot going on.…I need to optimize this, and what that means is I need to go ahead and look…at ways that I can condense down some of this functionality, whether there's…enter frames that can be condensed down maybe into one enter frame, or if there are…for loops that can be condensed down as well.…
I also need to take a look at expensive processes, and when I say expensive…processes, I mean, more than anything, enter frame events. Okay.…So I am going to go ahead and take a look at my enter frame events, and I want to…make sure there are not a lot of them, for one, okay.…So as I scroll down, about line 62 there's this Enter_Frame game loop, and this…constantly checks the game state we are in. And that's fine, but what I am going…to do is I am going to select this word and I am going to do a Command+F, or…
- Designing for mobile platforms
- Creating and optimizing game graphics
- Adding random movement and interactivity
- Moving players based on the accelerometer
- Using gestures
- Detecting collisions
- Implementing audio
- Adding scoring and levels
- Implementing a high score screen
- Publishing an app on both Mac and Windows
- Uploading to the Android Market
Skill Level Intermediate
1. Introduction to Mobile
Understanding the user4m 2s
2. Mobile Game Setup
3. Basic Game Movement
4. Advanced Interactivity
6. Mobile-Specific Functionality
7. Optimizing for Mobile Devices
9. Uploading to the Android Market
Next steps1m 22s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.