Defold CrazyGames SDK extension API documentation

This extension provides a CrazyGames SDK integration for Defold. CrazyGames is a popular browser games platform. Submit your own games via developer.crazygames.com.

CrazyGames.com landing page

Installation

To use CrazyGames SDK in your Defold project, add a version of the CrazyGames SDK extension to your game.project dependencies from the list of available Releases. Find the version you want, copy the URL to ZIP archive of the release and add it to the project dependencies.

Select Project->Fetch Libraries once you have added the version to game.project to download the version and make it available in your project.

Modules

The SDK has the following modules:

  • ad - display video ads, detect adblockers
  • banner - display banners
  • game - various game events
  • user - for interacting with the currently logged in user
  • data - store user data that persists across devices

The user module also has support for Xsolla token creation to perform in-game purchases.

Example

Refer to the example project to see a complete example of how the integration works.

Quality Assurance Tool

You can use the CrazyGames QATool to test your SDK implementation. You can use the standalone version without creating a submission. With the QATool you can:

  • Run your game as it would on Crazygames.
  • Try out the main different resolutions that are used on the site.
  • Test all the SDK features that you implemented and get feedback about it.

Source code

The source code is available on GitHub

API reference

API Reference - crazygames