Mobile Application Launcher
All Unigine mobile applications (both on iOS and Android) come together with a launcher that makes iterative development and testing fast and convenient. Instead of uploading resources onto mobile devices, the data which is stored on the development machine is simply shared over the network.
How to Run Unigine Mobile App
- Load Unigine mobile application onto your mobile device.
Android package files (APK) can be copied as they are, while iOS application need to be signed and archived into a bundle first (see more details). - On the development machine, choose a data directory with resources to be used. Run the FileServer console tool from this folder (or the 64-bit version with x64 postfix):
The server will be run on the default port 8889 (you can specify other options, if necessary).
fileserver_x86
- Launch Unigine application on the mobile device.
- In the corresponding fields specify the name of the remote server and port to connect to. By default, these are:
- Host: localhost
- Port: 8889
- Choose other start-up options for the application and press Run launch to Unigine engine.
After that, you can add any modifications you need: create worlds, add models, textures, create and modify scripts. All these changes will be seen on the screen of your mobile device at once, without uploading content.
Launcher Options
- Host — the name of the remote host to connect to. By default it should is localhost.
- Port — port number to connect to. By default it should be 8889.
- Resolution — screen resolutions supported by the current device.
- Profiler — specifies if the performance profiler (in one of its modes) should be enabled.
- Textures — the quality of textures. For mobile devices it is recommended to use medium or low quality.
- Shaders — the quality of shaders. For mobile devices it is recommended to use medium or low quality.
- Defines — extern or custom #DEFINE to be used, if necessary. Several defines are comma separated (no whitespace). If you want to clear the list of defines, simply pass " " as an argument to this command.
- Command — any console command, if necessary.
Last update: 2017-07-03
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)