Antisuspend Plugin
Antisuspend Global Plugin
Last updated
Antisuspend Global Plugin
Last updated
The Antisuspend Plugin for Construct 3 is a powerful tool designed to prevent your game from being automatically suspended when the window becomes inactive. This plugin ensures that your game continues to run smoothly, even when the player switches tabs or minimizes the window, making it an essential tool for idle games and other types of games that require continuous background activity.
The plugin has been modified to work in the SDK v2 without using undocumented features. It's new design is fully integrated with Construct available features to ensure its long term compatibility.
To ensure the proper functioning of the Antisuspend Plugin, Worker Mode must be enabled for your Construct 3 project. This mode allows the game to run in a background thread, ensuring that the game continues to operate even when the main window loses focus or is inactive. Without Worker Mode, the plugin will not work as intended, and automatic suspension may still occur when the window goes into the background.
Prevent Automatic Suspension: By default, browsers suspend background pages to save resources, causing your game to pause. The Antisuspend Plugin allows you to disable this automatic behavior, giving you full control over when the game suspends and resumes.
Manual Control: Once disabled, you can manually control game suspension using the setSuspended()
function, allowing you to manage when the game should pause or continue based on your specific game requirements.
Perfect for Idle Games: Idle games often require the game to keep running in the background to simulate ongoing progress. With the Antisuspend Plugin, your idle game can continue to operate even when the player is not actively interacting with it.
Customizable to Fit Your Needs: Whether you’re working with idle games, background tasks, or games that need to track progress over time, the Antisuspend Plugin provides the flexibility to maintain constant game execution.
To use this plugin, just include it in your project and it will automatically keep your game running. No additional configuration required.
Prevents the runtime to be suspended when the window becomes inactive.
Property
Description
Enabled
Enable/Disable the antisuspend behavior
Set Enabled
Enables/Disables the antisuspend plugin
Parameter
Description
Enabled
Enable/Disable antisuspend plugin
Is Enabled
Returns true if the antisuspend plugin is enabled
Is Supported
Returns true if the antisuspend plugin is able to run in the current browser
(c) Pixel Perfect Studio 2025