Join Lee Brimelow for an in-depth discussion in this video What you will be building, part of Developing Applications for Amazon Kindle Devices.
- View Offline
So I quickly wanted to show you the application that we're acutally going to be building throughout this course. Now I've provided a lot of the application already done for you because the goal of this course is to learn how to adapt it to Kindle devices, and to use the Amazon API's. So it's a game called Spin It. A really simple game. You just spin a wheel, kind of like Wheel of Fortune. If you land on a money amount, it gets added to your score. If you land on the lose it all segment, then essentially your game is over.
So let me launch here, and its going to come to the main menu screen. And you can see these little overlays that's actually the game circle API's and UI and specifically here this is the whispersync creature is slightly mean no that I have two different saves for this game. One on this device and one in the cloud. So I'm going to sync to the one in the cloud. And then you're going to see it's syincing. And another part of the game circle API that we can do, I can just click View High Scores.
And this is actually going to launch up The Game Circle UI, and it's going to show me the high scores global leaderboards for this game. And we also are going to create an achievement, which I've already unlocked, it's when you reach $1,000. So again, this is a nice UI presenting you with all of your game information. So let's go ahead and click Play game. And again, you can see it's actually downloaded that state from the cloud, so I already have 300 dollars. Now for in-app purchases, I can click Add Money and it's going to allow me to buy a thousand dollars of in game currency for 99 cents. So I'm going to click Purchase.
And then let me get rid of that dialog. And you can see now my dollar amount has gone up by a thousand. Obviously I can spin the wheel to actually play the game. And you can see my dollar amount has been updated. So now another in app purchase we can do is to change the style of the wheel. We can buy new wheel styles. So I'm going to click Change the Wheel, and that's going to bring me to this screen, which allows me to choose from these different styles. Now you'll notice here, these two have padlocks, that are actually locked, but I can unlock them for $0.99. So I'm going to do the Camouflage wheel, I'm going to click Buy. And again, it's going to launch up the in-app purchase. And, this is something that once I purchase it I never have to purchase again.
So I'll click Purchase, and it's Thank you for purchasing, or Buying the camo wheel, I'll dismiss that. And you'll notice now the padlock has gone away, I can click on it, and now I have access, to that wheel style. And I can continue playing the game this way. And you can see there, I actually lost the game. so now it brought me to to the game over screen. now what I can do from here is to submit my score to the global leaderboards, so let me do that. And it's submitting it, and I now have the new high score. And again, you can see that game circle UI popping out there. So that is in essence what we're going to be building, and it's going to be integrating both the in-app purchasing and the game circle API's, and we'll be using a separate app for the maps API.
The course also covers multiscreen development and testing with the Kindle Emulator, as well as actual deployment to the Kindle store.