Before continuing with the steps on this page please be sure to have downloaded your HTML5 playable from your provider, or as an export from the game engine being used.
2. Make sure all the startup functionality is performed in the
The name of these files needs to be
luna.json and the other
playground.json, these will be necessary for uploading to Playground.
playground.json you will need to create a new object with 2 fields; "title" & "icon", and another object within it called "fields".
Example of how this should look below:
If you would like an example of how to populate the fields object for Playground click here.
5. Within your
luna.json add the following:#
To learn about what should be entered in each field in your
luna.json click here.
You can see a list of our callback events by clicking here.
The API call needed:
If you wish to run on Mintegral or Vungle, please also call the
Luna.Unity.LifeCycle.GameEnded() event when the game is complete.
The last step is to zip your 3 files (
playground.json). Then drag and drop the resulting zip at the bottom of the playground.lunalabs.io/apps page. (You can also click on the browse text at the bottom of the page, navigate to where the zip is in the opened window and hit open).
- Update your
luna.jsonfile with your app store URLs. (Click here to learn about what to put in each field)
- Update your
playground.jsonfile with parameters in your game, for quick editing in Playground.
- Use Luna Custom Events. (see below)
Click the arrow below to see a table comprising all you need to know regarding each field in the
|Section||Field Name||Data Type||Description|
|default||applicationName||String||Your playable's name|
|default||iosLink||String||Your iOS App Store link|
|default||androidLink||String||Your Android App Store link|
|default||orientation||String||Can be one of: "unspecified", "portrait" or "landscape"|
|default||supportedLanguages||Array of Strings||List the languages your playable supports via listing the corresponding language codes (formatted like this: "en", "fr", ...)|
|ironsource||apiType||int||Enter either 0 or 1: 0 for DAPI, 1 for NUCLEO|
|ironsource||playableMode||int||Enter either 0 or 1: 0 for PA, 1 for IEC|
|ironsource||packageType||int||Enter either 0 or 1: 0 for Inline, 1 for CDN|
|packageType||int||Enter either 0 or 1: 0 if your are submitting using a ZIP file (5Mb limit), or 1 for a single inlined HTML file (2Mb limit)|
|tiktok||orientation||int||Enter 0, 1 or 2: 0 for "responsive", 1 for "portrait" or 2 for "landscape"|
Click the arrow below to view an example of how to populate the fields object for Playground.
A list of the callback events available