Time for action – testing on an iOS device

A game file is not required for this session. We're going to create a blank game for our initial mobile tests.

  1. Attach your iOS device to your Mac using the supplied USB cable.
  2. Open Stencyl and create a new game called Mobile Testing iOS.
  3. Create a new scene called Test Scene, and set the Background color to Light Turquoise.
  4. In the main Stencyl toolbar, select iOS Device in the target device drop-down list next to the Test Game button, as shown in the following screenshot:
    Time for action – testing on an iOS device
  5. Ensure that Stencyl's Log Viewer window is open: View | Log Viewer in the main Stencyl menu.
  6. Click on Test Game to start the compilation process.
  7. The compilation process can take several minutes, depending on the speed of the development computer. Be patient!
  8. When the compilation process has completed, Stencyl will display a Sending to Device… message, and shortly after this, the game (a blank, blue screen) will appear on the iOS device!

What just happened?

We created an empty test game with a colored background and tested it on our iOS device.

A colored background was selected 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 that the game is running correctly. However, with the colored background, it is clear that our game is being displayed as expected.

With a correctly configured development system, getting a test game up and running on an iOS device is as straightforward as selecting the appropriate target device from the drop-down box, clicking on Test Game, and then waiting patiently!

During the compilation process, a detailed log of events is displayed in the Log Viewer window and this information can be useful if something goes wrong.

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

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