Skip to main content

Luna Playground - Playable Testing

Testing Preview Links#

In order to generate a preview link of your project please follow these steps:

  1. Navigate to Playground and ensure you're logged in
  2. Upload a build (see here for instructions) or select an existing build
  3. Click the link button (circled below) on the same row containing the playable version you wish to preview

    images-small

The URL to preview this version of your playable will now be copied, simply paste it in your browser, or send it to your team, to begin play testing the playable.

This preview link is debuggable as well; any console logs, warnings or errors will appear in the browser inspector

Testing Custom Events#

If you have set up custom events (see here on how to do so) then inside Playground you can test to see the events triggering.

Firstly in order to display the event messages in Playground open the Show Events dropdown and select "Show Events: On". (Shown below)

images-large

From here you can begin playing through your playable, below the game window messages will display depending on what custom event your gameplay triggers.

This list of messages is populated with the most recently triggered event at the top, and duplicate events are grouped together with a counter to the right of the message.

For example; below the "TilePlaced" event has been called 3 times.

images-large

Generating Test Data#

  1. Click the kebab menu on the app you wish to generate data for and select 'Export'.

    images-xsmall

  2. Export for a network that allows external calls (e.g. Unity Ads).
  3. Within the zip that will be downloaded, open the 'urls.txt' file.
  4. Copy and paste the url for the version of the app you wish to generate data for into your browser (You can also send this link to other team members to play, or even open it in your phone's browser).
  5. Play the game after the url loads, data will be recorded from these sessions (If you complete the playable and wish to play again simply refresh the page).

    You will be able to tell once the data has entered Playground by the change in the insights symbol at the far end of the app turning from grey to green:

    images-xsmall