Join Paul Trani for an in-depth discussion in this video Adding lasers, part of Flash Professional CS5: Creating a Simple Game for Android Devices.
- View Offline
- Exercise Files
So let's go ahead and see where this file's at currently.…I am just going to do a test movie. We have our intro.…I'll click Play.…And as I get into the game, you can see that I can move my character,…but I really can't destroy any of these UFOs coming down.…So I want to go ahead and add some lasers to my ship, and I want to have…those lasers animate up.…So those lasers are, of course, ultimately going to destroy these UFOs coming down.…All right! So I am going to do that by using code snippets.…
So I do have this Mobile Game folder in my Code Snippets panel.…And just reference the Code Snippets movie, if you don't have this.…And I am going to add the Add Timer because that's what I want to do;…I want to shoot this laser right over here at a certain interval.…So I am going to add a timer.…So I am just going to double-click on that.…It adds that code to my Actions panel, right at the bottom actually.…And let's take a look at this because there's an array that's created…that's really going to hold all of the lasers.…
- 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.