![]() ![]() ![]() Packaged apps are probably most convenient for most games, since you don't need any hosting - the Web Store hosts the files for you. The Chrome Web Store is a great place to get your HTML5 game or app listed. However, it's for the best: it's much more secure that way, and you can make the most of the payment options and better customise it to fit your needs. It requires technical knowledge to properly set up, so unfortunately the burden falls on to you to set up a system using the Licensing API. Server-side scripting is outside the scope of this tutorial. Since this requires server-side code it's not something Construct 2 can enable without the necessary server-side scripts - you must create those yourself. However, if you have (or know someone with) experience with server-side scripting, it's possible to integrate the Web Store Licensing API. However, this won't work for hosted apps - the user could just visit the URL, and there's no good way to secure a javascript app like Construct 2 exports. You can set up a one-time payment for packaged apps only. Then you'll have to re-export the project and go through the above steps again, but this time uploading it via the Update file button in the app's edit page. If you want to publish a change, make sure you increment the Version in Project Properties, or the Web Store will reject the change. Otherwise, Chrome launches it in its own new window.ĭid you know you can also create shortcuts to apps to make them work more like desktop apps? See How to run Construct 2 games from the desktop with Google Chrome. If your game uses the Fullscreen in browser mode, it will launch in a whole new tab. Even better, it'll continue to work even if they go offline! (That is, as long as you left App can work offline checked.) Now they're only ever one click away from launching your game. You can do this by selecting them all, right-clicking and selecting Send to - Compressed (ZIP) folder. Zip all the files in the exported directory. You need to zip different files depending on the kind of app. You need to create a zip file of your app files. Your browser should display a text file with a list of filenames, a bit like this. To check it's working, visit the URL of the offline.appcache file. appcache files with the MIME type text/cache-manifest. You don't need to upload the hosted app files - those are for the Web Store only.įor the game to work correctly offline, you should make sure the server is set up to serve. If you're making a hosted app, make sure the exported files are uploaded to your server. Make sure these are what you want them to be for your listing on the Chrome Web Store. icon_16.png and icon_128.png) which are copied from the Icons folder in the Project Bar. The exported folder (or hosted app files folder) contains the icon files (e.g. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |