Facebook Twitter

Offline games in Construct 2. Construct 2 games work offline.

Offline games in Construct 2

So long as the game has been downloaded once while online, the user can play the game again after going offline. This is great for both iOS web apps and Chrome Web Store hosted apps, since you don't need to be online to play! This tutorial describes how the offline support works and how you can enhance it with features like auto-update.


Construct 2 r154 (Beta) Download. New this build: a multiplatform in-app purchases (IAP) plugin!

Construct 2 r154 (Beta) Download

Previously it has been difficult to set up IAP in games, requiring different plugins and events for each platform you want to publish to. This plugin aims to eliminate that work, having a single set of events for a single object that handles IAP on whichever platform you export to. The initial release of this plugin has support for the Windows Store, CocoonJS, Blackberry 10, Amazon Appstore, and Tizen. Other platforms are not yet supported, but we will be looking in to adding support for others in future.

HTML5 Games and Touch Games from Overview of the Construct 2 SDK. Third party developers can write their own plugins and behaviors for Construct 2 in javascript. Plugins have two parts: the editor side (defining the plugin settings, actions and conditions, etc) and the runtime side. The editor side is interpreted by Google's V8 javascript engine built in to the HTML5 exporter. The runtime side runs in the browser. AJAX object. The AJAX plugin allows web pages to be requested during the running of the game.

AJAX object

Its name derives from "Asynchronous JavaScript and XML", a technique familiar to most web developers. The AJAX object is designed for use by web developers already familiar with the technique - this reference will not describe the principles of AJAX itself, only how to use it in Construct 2 with the AJAX object. Generally using the AJAX object also requires custom server-side scripting which is beyond the scope of this manual. How to make a request. AJAX Example with Construct 2. Construct 2 has an AJAX object that will allow you to make a request to a target page in order to return the resultant data to AJAX.LastData where we can use the information collected.

AJAX Example with Construct 2

In this tutorial I'm going to show you:1. How to set up a simple interface that can form as the boilerplate for future tutorials.2.