Antisuspend Plugin

Dream it, build it!

Antisuspend Plugin

Puntuación: 5 de 5.

Antisuspend Plugin for C3

Antisuspend plugin prevents the C3 runtime from suspending the game when window loses focus. This is functional for idle games, it will allow your game to remain active while the player has other browser tabs active. Due to the characteristics of the web technology, the ability to keep the window active only works if you setup your game to use a worker. The plugin is compatible with exports for NW.js, html5 exports and Windows WebView2, and macOS WKWebView.

Properties Description
Enabled Boolean indicator to enable/disable the runtime suspend prevention.

Actions


Set Enabled

Sets the runtime suspend prevention enabled or disabled.

Conditions


Is Enabled

Returns true if the suspend prevention is enabled.

Is Supported

Returns true if the antisuspend plugin is able to run in the current browser


By Pixel Perfect Studio