Smart UI for Construct 3
Pixel Perfect Studio
  • Smart UI for Construct 3
  • Getting Started
    • Smart UI Framework
      • Framework Initialization
      • Document Flow
      • Using Smart UI Components
      • Release Notes
        • Build v1.4ed2c828
        • Build v1.3710335f
        • Build v1.595dac53
        • Build v1.143edbbc
      • Basic Setup Tutorials
      • GitHub Repository
      • Dev Discord Server
      • Gamepad Demo
      • Guandows Demo
  • FRAMEWORK ADDONS
    • Smart UI Plugin
    • Container Behavior
    • Button Behavior
    • Checkbox Behavior
    • Radio Buttons
    • Progress Bar
    • Discrete Progress
    • Scroll Bar
    • Dialogs
    • Scroll View
      • Basic Examples
    • Grid Layout
      • Basic Examples
    • Data Listener
  • MISCELLANEOUS ADDONS
    • Legends of Learning Plugin
      • Getting Started
      • Local Testing
      • Using the Test Harness
    • Newgrounds.IO Plugin
      • Getting Started
      • Login Tutorial
    • Parabolic Tween
      • Getting Started
      • Live Demo 1
      • Live Demo 2
    • Finite State Machine Plugin and Behavior
    • Antisuspend Plugin
      • Live Demo
    • Google Analytics 4
      • Getting Started
Powered by GitBook
On this page
  • Antisuspend Global Plugin
  • Properties
  • Actions
  • Set Enabled
  • Conditions
  • Is Enabled
  • Is Supported

Was this helpful?

  1. MISCELLANEOUS ADDONS

Antisuspend Plugin

Antisuspend Global Plugin

PreviousFinite State Machine Plugin and BehaviorNextGoogle Analytics 4

Last updated 3 months ago

Was this helpful?

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.

Key Features

  • 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.

Antisuspend Global Plugin

Prevents the runtime to be suspended when the window becomes inactive.

Download

Properties

Property

Description

Enabled

Enable/Disable the antisuspend behavior

Actions


Set Enabled

Enables/Disables the antisuspend plugin

Parameter

Description

Enabled

Enable/Disable antisuspend plugin

Conditions


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

https://store.pixelperfectstudio.mx/product/antisuspend