A game file is not required for this session. We're going to create a blank game for our initial mobile test.
Mobile Testing Android
.Test Scene
, and set the Background color to Light Turquoise.We have created an empty test game with a colored background, and tested it on our Android device. We selected a colored background to help us determine if the game is being displayed correctly on the mobile device's screen; if we had selected a white or black background, it might not be very clear whether or not the game is running correctly. However, with the colored background, it is clear that our game is being displayed as expected.
The first time we attempt to test a game on a mobile device, Stencyl checks if the relevant SDKs have been installed. The two required SDKs are the Java Development Kit and the Android Development Kit, and Stencyl provides the relevant prompts and instructions where these are required. Some users may already have one or both of these kits installed on their development computer, so Stencyl will only prompt for installation if needed.
During the compilation process, a detailed log of events is displayed in the Log Viewer window, which can provide useful information in the event when something goes wrong.
As discussed earlier in this chapter, it is important to understand that creating games for iOS devices (even test games that will not appear in the Apple App Store) requires paid membership to Apple's iOS development program.
Also, prior to testing on an iOS device, it is important to ensure that the relevant certificates and provisioning profiles have been created, downloaded, and configured in advance; otherwise the compilation process will fail at the final stages. See the earlier section, Considering certification requirements, for further information.
18.190.156.93