gmCallback
By JacksonYarr
After recently starting work on a new HTML5 project, I came to the realisation that it was completely unnecessary to constantly poll for certain events with GML (In my case, the DOM Event 'onResize').
gmCallback is a HTML5 extension that allows you to call GameMaker scripts using external Javascript, without the need for constant polling, and regardless of obfuscation. This has a whole range of uses, such as executing GML scripts on DOM events, writing asynchronous Javascript extensions and easier interaction with the HTML5 application (Such as with HTML input buttons).
Download - Host-A (0.35 MB) ~ View Example ~ View Help File
Update:
- gmCallback now supports arguments! The example and help file have also been updated to reflect the changes.
Edited by JacksonYarr, 14 September 2012 - 11:38 AM.











