After you’ve created your first HTML5 game in DevKit, you come to the point of publishing your game in a mobile or desktop browser. To publish your game, DevKit has a special function for it, by using the devkit release build_target.
You can choose from these build targets:
Publishing your HTML5
Let’s say we have to publish your HTML5 game in to a mobile browser, below are the sample code that you can use.
devkit release browser-mobile --no-compress
That’s it, you may also try browser-desktop, native-ios and android.
If you notice of the –no-compress, this is needed if you’re using Windows in publishing your game. As there is some error when you try to publish if compression is enabled, so disabling it will successfully publish your HTML5 game. Some of these are are the following:
events.js:182 throw er; // Unhandled 'error' event ^ Error: read ECONNRESET at _errnoException (util.js:1041:11) at TCP.onread (net.js:606:25)
Tech Tip : Did you know now you can remotely catch up with your programming work by loading your essential programming tools into the cloud with high performance citrix vdi at an affordable xendesktop pricing from CloudDesktopOnline. Need a dedicated server? Try dedicated gpu hosting from Apps4Rent.com with unbelievable plans & pricing.