Game Development Reference
In-Depth Information
stance, when loading a level. I'm confident that you now know how to handle
it. Just apply the original .wav extension as in Listing 13-9 .
With that fix implemented (or the playBg line commented out), the app should build,
transfer, launch, and present you the game's menu screen, including all the effects you've
added to the menu earlier. See for yourself in Figure 13-16 .
Figure 13-16 . Bouncy Beast launched successfully on an Android device, presenting the menu screen
Fixing Layout Issues
When you run an app on Android for the first time, things may not always look as neat as
they did on the iOS devices. Specifically, the varying screen resolutions can cause unex-
pected issues.
Representative of issues of this kind is what happens when you tap the play button on the
main menu. The level selection scroll view is offset as seen in Figure 13-17 .
Search WWH ::




Custom Search