top of page

Process

The Process plugin is specifically designed to implement asynchronous and synchronous tasks in processes, for games built in Construct 3 and Construct 2.


The Process plugin implements asynchronous and synchronous tasks where the engine awaits to complete tasks without interfering or halting the application's current workflow.


Tasks act like individual progresses in a process, each task has its own completion represented in percentages. While the overall progress of all tasks in a process is represented in the process' total progress percentage.


There can also be multiple processes running all at the same time, efficiently without listening to value changes but only through task progress callbacks. Process and task progress and completions are all handled in event trigger callback conditions.

PlayFab API v2.png

Introduction

Step 1.png

The Construct Master Collection has plugins that extends the editor and engine features of both Construct 3 and Construct 2.


Please click here to learn more about Game.

Features


The Process plugin is specifically designed to implement asynchronous and synchronous tasks in processes, for games built in Construct 3 and Construct 2.


The Process plugin implements asynchronous and synchronous tasks where the engine awaits to complete tasks without interfering or halting the application's current workflow.


Tasks act like individual progresses in a process, each task has its own completion represented in percentages. While the overall progress of all tasks in a process is represented in the process' total progress percentage.


There can also be multiple processes running all at the same time, efficiently without listening to value changes but only through task progress callbacks. Process and task progress and completions are all handled in event trigger callback conditions.


The Process plugin can be used for awaiting task implementations, including extending the Construct 3 memory management's preloading features to work alongside additional custom preloads.


Here are some of the game features of the game plugin:

  • Asynchronous tasks

  • Synchronous tasks

  • Special tasks with callbacks

    • Construct 3

      • Using dedicated callback condition event triggers.

      • Using the editor's official Function object.

    • Construct 2

  • Efficient and fully optimized for performance.

    • All tasks are run, progressed and completed only when progress actions are called.

    • No background listeners are used, thus the plugin is not running when there is no task called or when no task is running.

  • Percentage based progress of tasks.

  • Percentage based progress of processes.

  • Support for Construct 3's memory management features, for preloading.

    • Support to integrate custom preloads in Construct 3's memory management feature.

  • Well maintained and fully tested for production release.

For more information about game project features, please click here to read the introductory lessons to Game.


Platform Integration


Here are some of the platforms that are natively supported:

  • All platforms supported by Construct 3.

  • All platforms supported by Construct 2.

  • Web

  • Mobile Web

  • Desktop

  • Android

  • iOS


Build Support


Here are some of the supported build options:

  • Web

  • Desktop

    • NW.js

    • Windows (WebView2)

    • macOS (WKWebView)

  • Mobile

  • Construct 3 Build Service

  • Facebook Instant Games

  • Playable Ad

  • Construct Arcade


Editor Features


Here are some of the features in the Construct editor:

  • Construct 3

  • Construct 2

Introduction
Features

How to use?

It is easy to use the Process plugin, you will only need to follow the steps below.

1. The first step is to add the Process object into the project.



2. The next step is to go to the Properties Bar while the Process object is selected.



5. If the​ Debug Mode property is enabled, the application will log information in the console. This is useful for debugging tasks and processes status.

Instructions
Documentation

Documentation

There is currently nothing to show, we will add more in the future.



Scripting Interface


The Process object has support for Construct 3's scripting feature.

ACEs

Actions, Conditions & Expressions

Actions

The following action groups:

  • Task Manager

  • Process

Task Manager

  • Add Task - Add a task to the next process.

    • Task - The task name.



  • Add Special Task - Add a task to the next process with call task function features.

    • Task - The task name.

    • Function Name - The function name from the Function plugin.

    • Order - The order the special task functions are called. "Asynchronous" will run all functions without waiting for the other tasks to finish; while "Synchronous" will wait for the previous task to finish before calling the next one.



  • Set Task State - Set the task completion percentage from a process.

    • Process - The process name which holds all tasks.

    • Task - The task name.

    • Percentage - The completion percentage of the task. Value from "0" to "100".



Process

  • Start Process - Start the process and include all the recent added tasks.

    • Process - The process name which holds all tasks. You can leave this blank for a single global process.

Conditions

The following condition groups:

  • Task Manager

  • Process

  • Task Completion

  • Progress

  • Process Completion