Game Development Reference
In-Depth Information
Figure 13-8. Application screen for the Fakezee game in PhoneGap Build
For iOS applications, the device that is installing your application needs to be included in the provisioning file
that you uploaded to PhoneGap Build and used to compile the app. With Android, no special signing is needed for
simply testing your application across all devices.
As previously mentioned, we've only scratched the surface of what can be done with PhoneGap. Using PhoneGap
Build, you can quickly get your web application compiled into multiple platforms by simply uploading a zip file of
your web files. You can alternatively install PhoneGap via the command line and compile locally. This option gives
you template projects that can be opened in applications such as XCode, where you can fine tune your iOS application
from within its native environment before deploying.
For more information on what you can do with this powerful tool and how you can use it, visit the online
documentation at http://docs.phonegap.com/en/edge/index.html .
Summary
In this chapter, you used PhoneGap Build to compile a game, built with CreateJS, into an application that can
ultimately be distributed through app stores and installed onto devices. A few caveats were introduced that can
prevent your sprite sheet data from loading appropriately within your application when compiled with PhoneGap.
The configuration file and the XML elements needed to compile your applications with PhoneGap Build were
reviewed, and the necessary graphical assets for both iOS and Android were covered.
In the next and final chapter, you will use all of the skills learned in this topic to create an RPG battle game. The
next chapter also contains an introduction to local storage for saving the player's progress. The state machine code,
asset manager class, and scaling techniques will be used to prepare the game to be easily distributed over the Web.
 
Search WWH ::




Custom Search