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, although it's not since it has a percentage of completion for each tasks. Which 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. The next step is to go to the Properties Bar while the PlayFab API object is selected. 

This will show the Title ID property where you will input the value from your PlayFab Console.

3. Finally, set the other plugin properties. 

  • Debug Mode - allows the PlayFab Master Collection to make logs of the response JSON data from the PlayFab Servers. This is very important when it comes to debugging received server data. The logs are accessible through the Developer Console, which is launched by pressing (F12) during preview.

  • Client Profile Data - are additional data you want included in the response callback from the PlayFab Servers. This is only ran when the server allows that type of response for the command.

  • Client Sensitive Data - are additional sensitive data you want included in the response callback from the PlayFab Servers. This is only ran when the server allows that type of response for the command. Compared to the Client Profile Data, these server responses are sensitive, therefore should be taken precaution before allowing to be received by the client.

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

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 tick thread, allowing for all awaited task responses to finish before completing the belonging process, which 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.

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: