Process

The Process addon extends the featurs of the game application to implement promise-like processes.

It implements processes through asynchronous tasks which the engine waits to complete without disturbing the main application thread.

Tasks act like individual asynchronous functions and its completion is based on the percentage value.
All tasks contribute to the overall percentage of the completion of the belonging process. 

There can also be multiple processes running on separate threads.

The best benefit for this plugin is that it supports all editors and runtimes of Construct. Both, Construct 2 and Construct 3.

The addon implements asynchronous processes into an application.

Intstructions

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

2. If theDebug Mode is enabled, the application will log information in the console.
This is useful for debugging the tasks and processes status.

 

Features

The Process is an addon that allows the implementation of asynchronous processes with asynchronous tasks and special asynchronous tasks into an application made by either Construct 2 or Construct 3, with support for both c2runtime and c3runtime.
 

It allows the developer to implement promise-like processes, which isn't run in the same main thread, allowing for all awaited task responses to finish before completing the belonging process.

This can be very useful for awaited task implementations, like extending the memory management's preloading features to work alongside additional custom preloads.

Features :

  • Asynchronous promise-like processes.

  • Asynchronous tasks and special tasks.

  • Special tasks with callbacks using Construct 2 and Construct 3's built-in Functions.

  • Easy to use and no programming required.

  • Well-supported and fully tested.

  • Fully optimized for performance.

  • Percentage-based progress of tasks.

  • Percentage-based progress of processes.

  • Construct 2 editor support.

  • Construct 3 editor support.

  • Construct 2 runtime.

  • Construct 3 runtime.

  • Forwards compatibility support.

  • Runtime maintenance support.

 

Actions, Conditions & Expressions

Actions

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 a callback to the Function plugin.

    • Task - The task name.

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

  • 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

Task Manager :

  • Has Task - The condition to check if an task exists in the process.

    • Process - The process name which holds all tasks.

    • Task - The task name.

Process :

  • On Start Process - Triggered when a progress has started.

    • Process - The process name which holds all tasks.

  • On Any Start Process - Triggered when any process has started.

  • Is Processing - Check if a process is undergoing.

    • Process - The process name which holds all tasks.

  • Is Completed - Check if a process has been completed.

    • Process - The process name which holds all tasks.

Task Completion :

  • On Task Completed - Triggered when a task has completed from a process.

    • Process - The process name which holds all tasks.

  • On Any Task Completed - Triggered when any task has completed from a process.


Progress :

  • On Progress - Triggered when a progress is made from a task on a process.

    • Process - The process name which holds all tasks.

  • On Any Progress - Triggered when a progress is made from a task on a process.


Process Completion :

  • On Completed - Triggered when a task has completed from a process.

    • Process - The process name which holds all tasks.

  • On Any Completed - Triggered when any task has completed from a process.

Task Manager :

  • On Task Function - Triggered if a Special Task function is called after starting the process. [Workaround after the built-in Functions feature.]

    • Function Name - The name of the function called from a Special Task.

Expressions

Task Completion :

  • CurrentTask - Return the current task "On Task Completed".

    • Process - The process name which holds all tasks.

  • CurrentPercentage - Return the current task percentage "On Task Completed".

    • Process - The process name which holds all tasks.

  • CurrentFunction - Return the current task function name "On Task Completed", if available.

    • Process - The process name which holds all tasks.

Progress :

  • CurrentProcess - Return current process name "On Progress".

  • TotalPercentage - Return the current task percentage "On Progress".

    • Process - The process name which holds all tasks.

Properties

  • Debug Mode - If Enabled, this will log all the data of the process.

    • Enabled

    • Disabled

 
 

Feature Showcase

The Process is an addon that allows the implementation of asynchronous processes with asynchronous tasks and special asynchronous tasks into an application. The addon comes with different sample implementations, the first two are the Construct 3 and Construct 2 test projects, and the third one is the memory management feature.

Sample Implementation

Construct 3 - Test Project

Construct 2 - Test Project

 
 

Game Project

Sample Setup Project

Specifications

  • Instructions - The sample project has comments and instructions on how to use the addon and its features.

  • A.C.E. Coverage - It covers the implementation of each action, condition and expression.

  • Tips and Tricks - It provides some tips and tricks to a better use of the addon and of the event-sheet system alongside it.

Supporters

Only

Memory Management Project

Sample Setup Project

Specifications

  • Instructions - The sample project has comments and instructions on how to use the addon and its features.

  • A.C.E. Coverage - It covers the implementation of each action, condition and expression.

  • Tips and Tricks - It provides some tips and tricks to a better use of the addon and of the event-sheet system alongside it.

Supporters

Only

Get the tools

for your pro games!

Constuct Master Collection - Itch.io
Constuct Master Collection - Discord
Constuct Master Collection - Construct 3

© Construct Master Collection 2020 • All rights reserved

Contact Information: