Android Game Programming for Dummies

  • Share this:
Share with a friend
Sign into your email account to send this page to a friend:
Outlook or Apple Mail
or other default program
Walmart Gift Card
Put the fun of shopping in their hands with Walmart Gift Cards! Ship to Home or Send via email.
Advertisement
  • Browse Related Products
  •  
Advertisement

Android Game Programming for Dummies

Format:  Paperback,

362 pages

Publisher: John Wiley & Sons Inc

Publish Date: Dec 2012

ISBN-13: 9781118027745

ISBN-10: 1118027744

Buy from Walmart

Shipping & Pickup
Online
$23.33

In stock for:

  • Store information not available.

 Buy from Marketplace

Shipping & Additional Information

Book Information

The following content was provided by the publisher.
Learn how to create great games for Android phones

Android phones are rapidly gaining market share, nudging the iPhone out of the top spot. Games are the most frequently downloaded apps in the Android market, and users are willing to pay for them. Game programming can be challenging, but this step-by-step guide explains the process in easily understood terms. A companion Web site offers all the programming examples for download.Presents tricky game programming topics--animation, battery conservation, touch screen input, and adaptive interface issues--in the straightforward, easy-to-follow "For Dummies" fashionExplains how to avoid pitfalls and create fun games based on best programming practices for mobile devicesA companion web site includes all programming examples

If you have some programming knowledge, "Android Game Programming For Dummies" will have you creating cool games for the Android platform quickly and easily.

Specifications

Author:
Publisher: John Wiley & Sons Inc
Publish Date: Dec 2012
ISBN-13: 9781118027745
ISBN-10: 1118027744
Format: Paperback
Number of Pages: 362
Shipping Weight (in pounds): 1.24
Product in Inches (L x W x H): 7.41 x 0.73 x 9.27
Walmart No.: 9781118027745

Chapter outline

Introductionp. 1
Why You Need This Bookp. 1
Conventions Used in This Bookp. 2
Technical Considerationsp. 2
How This Book Is Organizedp. 3
Adopting the Android Gaming Mindsetp. 3
Starting to Programp. 4
Making Your First Game: Crazy Eightsp. 4
Moving On to Your Second Game: Whack-a-Molep. 4
Managing Your Game in the Marketp. 4
The Part of Tensp. 5
Icons Used in This Bookp. 5
Where to Go from Herep. 6
Adopting the Android Gaming Mindsetp. 7
Getting to Know Android Gamingp. 9
Seeing the Potential of the Android Platformp. 9
Where Android came fromp. 10
And where it's goingp. 10
What You Must Know about the Mobile Gaming Industryp. 11
Handhelds and smartphonesp. 11
iOS or Androidp. 11
How Android Is Suited to Mobile Gamingp. 13
Growthp. 13
Freedomp. 14
Potentialp. 14
Thinking Through Your Game Projectp. 14
Designing firstp. 15
Following a structured development processp. 19
Deciding on distributionp. 20
Knowing What Tools You Needp. 21
Capitalizing on Your Gamep. 22
The tried-and-true approachesp. 22
Designing Your Gamep. 27
Deciding What Kind of Game to Makep. 27
Genrep. 28
Number of playersp. 29
Thinking about how and when people will play your gamep. 31
Identifying Your Target Audiencep. 34
The Android user basep. 35
Casting a wide net or finding a nichep. 36
Targeting Devicesp. 37
Firmwarep. 38
Hardwarep. 39
Designing the interface and controlsp. 43
Finding and/or creating resources (graphics and sound)p. 46
Setting Up Your Development Environmentp. 51
Starting at the Beginningp. 51
Downloading and Installing Eclipsep. 53
Installing the Softwarep. 57
Installing the SDKp. 57
Installing the ADTp. 58
Connecting Eclipse to the SDKp. 61
The Android Virtual Device (AVD) Managerp. 61
Creating a virtual devicep. 62
Launching a virtual devicep. 66
Creating an Android Projectp. 67
Running an Android Appp. 71
Manual launch controlp. 71
Starting appsp. 73
Starting to Programp. 77
Dissecting an Android Appp. 79
Creating a New Projectp. 79
Taking the Bird's Eye View of a Projectp. 83
Editing the Manifestp. 83
Naming and versioning your gamep. 84
Targeting versionsp. 85
Declaring activitiesp. 85
Setting permissionsp. 86
Targeting different screen sizesp. 87
Organizing Resourcesp. 88
Drawablesp. 89
Layoutsp. 91
Stringsp. 93
Stylesp. 94
Themesp. 94
Soundsp. 95
Organizing the Source Directoryp. 95
Understanding Activitiesp. 97
The lifecycle of an activityp. 98
Using Viewsp. 101
Differences between View and SurfaceViewp. 101
Instantiating a custom viewp. 102
Drawing in a viewp. 103
Handling inputp. 106
Making Your First Game: Crazy Eightsp. 109
Creating a Simple Title Screenp. 111
Creating a Custom Viewp. 111
Loading the Title Graphicp. 113
Drawing the Title Graphicp. 115
Handling Screen Orientationp. 119
Controlling Screen Timeoutp. 121
Making the Game Full-Screenp. 122
Adding buttonsp. 124
Handling Button Statesp. 127
Launching the Play Screenp. 129
Intentsp. 133
Bundlesp. 134
Creating a Basic Play Screenp. 135
Displaying Cardsp. 135
Loading the card imagesp. 135
Dealing the cardsp. 139
Displaying the game statep. 141
Taking Your Turnp. 152
Handling turnsp. 152
Picking up cardsp. 156
Playing cardsp. 161
Showing dialog boxes (and toasts)p. 164
Taking cards from the draw pilep. 172
Advancing playp. 175
Finishing Your First Gamep. 181
Ending Hands and Gamesp. 181
Ending a handp. 181
Ending a gamep. 189
Wrapping Up the Gamep. 192
Coding the opponent AIp. 192
Making your own launcher iconp. 195
Moving On to Your Second Game: Whack-a-Molep. 199
Creating a Complex Title Screenp. 201
Using SurfaceViewp. 202
Adding an Options Menup. 212
Toggling the Sound Optionp. 213
Creating an Animated Play Screenp. 217
Handling Images for the Play Screenp. 217
Making Simple Animationsp. 223
Handling User Interactionp. 228
Loading and Playing Soundsp. 234
Handling End of Gamep. 239
Storing and Retrieving Game Informationp. 245
Using Shared Preferences for Data Storagep. 246
Using XML for Data Storagep. 249
Using a SQLite Database for Data Storagep. 253
Managing Your Game in the Marketp. 261
Making Money with Your Gamep. 263
Knowing Your Competitionp. 263
Monetization Modelsp. 269
Freep. 269
Paidp. 270
Free-to-Paidp. 272
Ad-basedp. 274
In-app Purchasesp. 275
Alternatives to Google Playp. 276
Publishing and Updating Your Gamep. 277
Creating a developer account for Google Playp. 277
Generating a Key with Keytoolp. 278
Exporting a Signed Applicationp. 279
Uploading Your Game to Google Playp. 282
Uploading the APKp. 283
Adding product detailsp. 284
Supporting and Updating Your Game After Publicationp. 292
The Part of Tensp. 295
Ten Open-Source Game Projectsp. 297
Lunar Landerp. 297
Replica Islandp. 299
Alien Blood Bathp. 299
OpenSudokup. 300
Lexicp. 301
Newton's Cradlep. 302
Vector Pinballp. 303
asqarep. 303
tiltmazesp. 304
GL ES Quakep. 305
Ten Game Engines and Toolsp. 307
libgdxp. 308
AndEnginep. 309
Unityp. 309
OpenFeintp. 310
Flurryp. 310
Audacityp. 311
sfxrp. 312
GIMPp. 313
Inkscapep. 314
AdWhirlp. 314
Ten More Places to Distribute Your Gamep. 317
Amazonp. 318
Handangop. 319
Opera Mobile App Storep. 320
GetJarp. 321
SlideMEp. 322
Appokep. 323
AppBrainp. 324
AndroLibp. 325
Your Websitep. 326
BitTorrent Sitesp. 326
Ten Websites for Android Game Developersp. 327
Stack Overflowp. 328
Android Developerp. 329
anddev.orgp. 330
Android Developers Blogp. 331
Appoliciousp. 332
Android Tappp. 333
Phandroidp. 334
xda developersp. 335
Droid Gamersp. 336
Android and Mep. 337
Glossaryp. 339
Indexp. 343

Book description

Learn how to create great games for Android phones

Android phones are rapidly gaining market share, nudging the iPhone out of the top spot. Games are the most frequently downloaded apps in the Android market, and users are willing to pay for them. Game programming can be challenging, but this step-by-step guide explains the process in easily understood terms. A companion Web site offers all the programming examples for download.

  • Presents tricky game programming topics--animation, battery conservation, touch screen input, and adaptive interface issues--in the straightforward, easy-to-follow For Dummies fashion
  • Explains how to avoid pitfalls and create fun games based on best programming practices for mobile devices
  • A companion web site includes all programming examples

If you have some programming knowledge, Android Game Programming For Dummies will have you creating cool games for the Android platform quickly and easily.

Customer Product Reviews

 

Gifting Plans

Financing Offers

Enjoy Great Financing!

Make the most of your shopping experience with the Walmart Discover® or Walmart Credit Card.

Save $25 when you open a Walmart® Credit Card and spend $75 today.*

*Offer subject to credit approval

Learn More or Apply Now

No Payments + No Interest if Paid in Full in 6 Months!
Enjoy no payments for 6 months. You'll have 6 months with no payments, and no interest if paid in full within 6 months on orders over $250. Otherwise, interest will be charged from the original date of purchase. Bill Me Later is the quick, easy, secure way to buy online without using your credit card. Simply select Bill Me Later at checkout. Subject to credit approval.

See Terms