This plugin can be used in Construct 2 to manage the CocoonJS JavaScript APIs.
This plugin comes with a .capx (a valid Construct 2 project) as a reference to know how to use it, you can download it from [here](capx/CocoonJS Plugin Demo.capx?raw=true).
Here are some screenshots of the .capx:
The plugin can be configured by selecting the object "cocoonjsads" from the "Object types" list inside Construct 2.
- Close Construct 2
- Checkout the 'master' branch from this repository
- Copy the file src/cocoonjs_prelude.js into CONSTRUCT_2_INSTALLATION_FOLDER\exporters\html5, make sure to replace the file when you are asked.
- Copy the contensts of the folder /src/plugin/cocoonjsads into CONSTRUCT_2_INSTALLATION_FOLDER\exporters\html5\plugins\cocoonjsads.
- That's all!
This plugin already comes bundled with Construct 2, however the update rate of Construct 2 may differ from the latest version of this plugin, we encourage you to manually update the plugin everytime a new version of the plugin comes out.
Visit our help center.
- Fixed bug that shows a banner when should not
- Updated readme.md
- Updated folder structure
- Added support for Google Play Games / Game Center leaderboards & Achievements
- Fixed bug that prevents the user to finish a in-app purchase.
- Updated documentation