Download the Construct 2 Template Game and Plugin:

Construct2-Plugin-and-Demo.zip

extract the file and copy the folder YYGSDK to C:\Program Files\Construct 2\exporters\html5\plugins.

SETTINGS

Select the new plugin (YYGSDK) within Construct 2 by right-clicking on Object Types and insert your GameNameId in the properties tab. We will give you the value.

 

Debug

//run the code below in console window to enable debug log
YYGSDK.options.debug = true;