Now that our application bar is set up, we can add additional ways for us to get input …from our player. …Why don't we set up a way for them to enter their name? This way, when they share their …high score out with their friends, it'll include their name as well. …We're going to use the WinJS flyout control. …Let's jump over to default.html and scroll down to our existing App Bar and App Bar commands. …We're going to add a new command underneath our Home command, and we're going to call it cmdName.…
We're going to call into WinJS UI AppBar command. …And we're going to use data-win-options of cmdName for our ID, player name for our …label; this will be the name underneath the icon. …And instead of using one of the default icons like we did for Home, we're going to create …our own icon. …So let's go ahead and add accept.png to the images folder.…
If I hover over accept, you'll notice it's in a special format. …If you're creating your own App Bar icon, you need to create what's called a sprite sheet. …
- Setting up your Visual Studio 2012 development environment
- Laying out the interface with Canvas
- Creating a game loop
- Adding a menu
- Supporting snapped, filled, and full-screen modes
- Working with the Touch API
- Playing music
- Creating a scoring and leveling system
- Working with the Application Bar
- Accessing the camera and accelerometer
- Debugging and deploying your application
Skill Level Intermediate
Visual Studio 2010 Essential Trainingwith Walt Ritscher8h 8m Intermediate
1. Getting Started
2. The Microsoft Web Platform
3. The Game Interface
4. The Game Engine
5. Screen Size Support
6. Touch Support
7. Music and Sound
8. Gaming Extras
9. Windows Features
10. Device Hardware
Using the accelerometer6m 59s
Next steps1m 29s
- 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.