Build the App Clients
Step-by-step instructions to create builds for target platforms. Generate your apk, ipa, .dmg, .exe, and browser files. Follow the instruction carefully.
Last updated
Was this helpful?
Step-by-step instructions to create builds for target platforms. Generate your apk, ipa, .dmg, .exe, and browser files. Follow the instruction carefully.
Last updated
Was this helpful?
This instruction guide assumes that you have finished the prerequisites for server and connection configurations. For any help connect to pokerscript's .
Enjoy your game on desktop browsers (Chrome, Firefox & Safari) as well as on mobile browsers like Chrome, Safari, QQ, UC, Baidu, etc.
Steps to open the build panel.
Follow the editor's main menu and click on Project -> Build... . You will be directed to the "Build Panel" that will pop up on your screen with certain parameters. Title: Write your project name. Platforms: By default Cocos Creator provides two pages templates for browser platforms. Web Mobile: By default, it covers the whole browser window as its viewport screen. In orientation settings, you can select any one from landscape, portrait, and auto. Web Desktop: Allows you to specify the size and resolution for the game view when publishing. It also disables Zoom in and out and is very much helpful in third-party platform publishing. Through preview resolution, you can set your own customized screen resolution. Build Path: Here, you can assign a folder to store the cross-platform build release resource as a custom release path. The default setup will leave a build folder under the genesis project folder. Ignore this setting in case if you use git, svn, or any version control system.
Start Scene: You will be able to select a platform-specific start screen from pre-configured included scenes like mobile scene, mobile web scene, windows scene, mac scene, etc.
Main Bundle Compression Type: Cocos creator provides 05 compression types that we can select according to to build requirements during building the asset bundle. Default- JSON files for independent resources are merged together. None- No compression. Merge All Json- JSON files for all resources are merged into one. Mini Game Subpackage- Set as per the target minigame platforms. Zip- The asset bundle will be compressed into a zip file.
Inline all SpriteFrames: Enable for the web which will increase the game size slightly and also consume a few additional network resources but will reduce the number of network requests to increase the overall game performance.
Do not enable native as it will increase the package size.
vConsole: Can enable this plugin if you are a developer and interested to debug.
MD5 Cache: If enabled, helps to convert to an URL before loading for any resource that is failed to load because of file renaming.
Debug: Keep disabled.
Source map: Keep disabled.
Once all settings are configured and verified, click the Build button to generate your fresh build. On the top of the panel, a progress bar will show the progress. At 100% your build will be finished and ready to play. Next, click on Play to open your newly built game version in your browser.
How to release the game on a web server? Easy to live your game for the internet public by deploying on a web server. It is as simple as hosting a corporate website.
Open your build path.
Copy everything from the built folders web-moble or web-desktop.
Move these resources to your web server.
Set the index.html as default to open the game via any browser.
Native App Publishing - Pokerscript For an expert developer building apps for the native platform is easier. Follow these provided steps if you are new to software coding.
Due to frequent updates in the apple OS, you have to configure Python 2.7 to create the builds. Follow this which is very easy to create a build for Mac and iPhone.