Deploying the game so far
Before we can properly explain any of the code and learn our first bit of Java, you might be surprised to learn that we can already run our project. It will just be a blank screen, but as we will be running the game as often as possible to check our progress, let's learn how to do that now. You have three options:
- Run the game on the emulator on your PC (this is part of Android Studio).
- Run the game on a real Android device in USB debugging mode.
- Export the game as a full Android project that can be uploaded to the Play Store.
The first option is the easiest to set up because we did it as part of setting up Android Studio. If you have a powerful PC, you will hardly see the difference between an emulator and a real device. However, screen touches are emulated by mouse clicks, so proper testing of the player's experience is not possible.
The second option that uses a real device has a couple more steps; however, once it is...