CONSTRUCT 2
< gamemaker
< jeux videos
< creation
< domfont
Get flash to fully experience Pearltrees
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.
The AJAX plugin allows web pages to be requested during the running of the game. 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
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. 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.