Skip to content

CrazyGames SDK

Allow games to be hosted on CrazyGames website and display ads.

Authors and contributors to this community extension: planktonfun, Bouh.


Please refer to CrazyGames' guide to know when to call the different actions.

Read more...

Tip

Learn how to install new extensions by following a step-by-step guide.

Actions

Display a banner
Display a banner that can be called once per 60 seconds.

Display video ad
Display a video ad. The game is automatically muted while the video is playing.

Display happy time
Display an happy time by emitting sparkling confetti. The celebration should remain a special moment.

Generate an invite link
Generate an invite link to invite friends to join your game sessions. This URL can be added to the clipboard or displayed in the game to let the user select it.

Hide all banners
Hide all banners.

Hide a banner
Hide a banner.

Hide invite button
Hide the invite button.

Display invite button
Display an invite button.

Scan for adblockers
Scan for adblockers.

Gameplay started
Let CrazyGames know gameplay started.

Gameplay stopped
Let CrazyGames know gameplay stopped.

Conditions

Video ad just finished playing
Checks if a video ad just finished playing successfully.

Ad blocker is detected
Check if user is using an ad blocker. This condition is always false before the "Scan for adblockers" is called.

CrazyGames SDK is ready
Check if the CrazyGames SDK is ready to be used.

Video ad is playing
Checks if a video ad is playing.

Expressions

Expression Description
CrazyGamesAdApi::InviteLink(string) Return an invite link.
string Room id

This page is an auto-generated reference page about the CrazyGames SDK extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.