SPARK AR SCORE LOGIC SYSTEM

How to implement a score logic when you have more than two output Values in your Patch Editor?

Example:
In the project I am working on I have 10 different output Values which I want to combine all the output Values together into one input as the Total Score.

The Problem:
The Patch Editor has only two input Values that can be sent to a single output. The logic using only the Patch Editor will have you scratching your head to show the total of every output Value into one input.

The Solution:
The solution is to send all the end Values as signal to the script. Then send back the total Value back to the patch with the total score of all the objects combined.

To understand more on how the Spark AR Patch to Script works, click on the following link:
https://hamdanbasri.com/2019/07/29/spark-ar-patch-to-script/

Advertisements

Published by hamdanbasri

Games | Simulation in VR & AR

Leave a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: