Learning Android Game Development
上QQ阅读APP看书,第一时间看更新

Managing Inputs

Now that we have learned how to run a program on the Android Emulator, it is time for us to do some more cool stuff, which will equip us with the knowledge required to make our game. In this chapter, we will continue with XML files and will step into the territory of taking user inputs. In a gist, we will be learning the following:

  • Exploring different types of XML files and the resource folder further
  • Creating buttons and linking them to take inputs
  • Working with accelerometer readings
  • Mobile touch inputs

So, let's get started.