Join Paul Trani for an in-depth discussion in this video Using hardware keys, part of Flash Professional CS5: Creating a Simple Game for Android Devices.
- View Offline
- Exercise Files
The great thing about Android devices is that they have physical buttons that you…can use to add additional functionality to your game.…Those buttons include the Options menu, the Search button, as well as the Back button.…And probably the most common used is going to be that Options button, or…Options menu, because again, you can use it to add, for instance, this Options…menu that I have right here.…So just turn off the introScreen, and you will see it right there.…It's called Options menu.…And that's what I want to toggle on and off when you click on that Options key…on the actual device.…
And I am going to add some functionality by using code snippets.…So refer to the Code Snippets video if you don't have this Mobile Game folder.…And if I scroll down, Mobile menu key, that's what I want to use.…I will just double-click on it to add that functionality.…And now I can put everything in its proper place.…So all variables actually are going to be at the top, so I will take this first line,…I'll cut it, scroll up to the top, and paste it about line 22.…
- 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.