Join Paul Trani for an in-depth discussion in this video Handling exits and idle mode, part of Creating a Simple Game for Android Devices with Flash Professional CS5.
As you're developing your game, you need to keep in mind how this is going to…play on an actual device.…In the case of this game, since we're controlling the player based on the…accelerometer by tilting the device, we're not touching the screen at all,…so, there is a chance that the screen could actually dim while we're playing game.…So I actually want to keep the screen awake, is a mobile- specific thing I want…to do, as well as I want to make sure this Exit button works.…So let's go ahead and take a look at that.…I am going to use a code snippet in order to do that,…and just refer to the Code Snippets movie if you don't have this Mobile Game folder.…
I am going to scroll down, right down here, Keep Screen Awake.…So I am going to double-click on that,…and that's going to add these two lines. All right!…So this looks good, and this is really going to be mobile-specific technology…that we're dealing with.…Let me just hit Enter a couple times.…So keep the screen awake if you're using the accelerometer or whatever else.…
- 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.