Summary

In this chapter we discussed the primary sensors used for input on iOS, namely the touch screen, gyroscope, and accelerometer. With this task covered we can provide a touch screen interface from our player which they can interact with, as well as gather information from movement and orientation of the iOS device.

Specifically, we covered:

  • The different types of touch technologies, their strengths and weaknesses
  • How to build a touchable user interface for the user on the device and gather input from it
  • How to import existing animations and how to import Mixamo animations
  • How to detect gestures and determine the user's intent
  • How to detect movement of the device and orientation changes
  • How to use this information to move an on-screen character through a 3D world
  • How to drive a character from animation data as opposed to programmatically

Now we have a character that we can control through our 3D world and we can animate this character based on input from the user. We have the beginnings of an actual game now, but the world is very quiet and the game is without flair. In the next chapter, Multimedia, we will explore how to add sound, music, and video to our game to give it some sex appeal.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.232.128