Join Paul Trani for an in-depth discussion in this video Displaying the score, part of Flash Professional CS5: Creating a Simple Game for Android Devices.
Once the player has completed the game, you want to go ahead and display the results--…so, how well the player did. And if they've done really well, you want to give…them the opportunity to enter their name to be added as the highest scorer.…This is all going to be done in this endScreen layer. If I turn that on, you can…see this endScreen movie clip. There is its instance name.…I'll just double-click it, and in here we have a couple of different elements.…First off, we have this high score text field. This is a dynamic text field.…
So again, this is selected, and what will be populated in here is how well…they've done, their score, what level they got to, information like that.…If they've done pretty well, what's going to happen is they're going to have…the opportunity to enter in their name in this input text field, and it's known…as High-score name.…When they click Enter, it's again known as enter_btn.…It will actually populate this same dynamic text field with, again, confirmation…of how well they did with their name, and then the player can go ahead and play again.…
- 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.