Game Development Reference
tapping and dragging of a finger across a tablet screen or the tracking
of waving arms and legs in front of a screen, the opportunity to create
truly unique user experiences has never been more achievable.
Furthermore, if the challenge of designing for multiple platforms and a
diversity of HCI methods weren't enough, multiplayer modes have almost
become a necessity. Thanks to Twitter, Facebook, and others, today's players
want to share their gaming experience with their friends, even if it is just to
tell them they beat the other's high score.
This chapter examines the issue of new technologies with relation to game
design and development. It examines how to integrate interactive devices,
mobile devices, and social networking with your own games at the technical
level. Workshops for integrating Unity with Twitter, Facebook, mobile devices,
and more are featured throughout.
8.2 Up and Running on a Mobile Device
One of the best ways to investigate as many of the new HCI features used
in games as possible is to deploy an application to a mobile device. Unity
supports both Android and iOS development with the purchase of an extra
plugin. If your version of Unity is still in its trial period you will have up to
30 days to explore these platforms.
The next workshop demonstrates deployment to the Android platform as the
process is far simpler than for iOS.
Unity Hands On
Your First Android Application
You will need Unity Android and an Android mobile device to create this
project. A 30-day trial version comes with the Unity Indy download.
Step 1. Download and install the Android SDK from http://developer
Step 2. Open Unity and create a new project.
Step 3. From the main menu select File > Build Settings.
Step 4. In the Platform box click on Android.
Step 5. At the bottom click the Switch Platform button.
Step 6. Plug in the Android device with the USB cable to the
Step 7. Turn on the device.
Step 8. If it is the first time the device has been turned on, skip over all
the tutorial and settings checks and setup (you can do this later).
Step 9. The main screen will look something like that shown in
Figure 8.1 .
Step 10. Press on the menu settings icon on the device. This will bring
up a menu.