Note: This demo requires the CamSurface asset GMS1 and 2 Compatible
This asset demonstrates how to set up colour tracking using the phone's camera. All the tracking logic is coded in pure GML. Track an unlimited number of colours (limited by phone performance).
This can be used to create Augmented Reality apps in native GML code, for example.
Commented and well-structured code.
Note: When setting up a project, import the CamSurface asset first. Delete the CSDemo object, and then import this asset. All relevant code is then contained in the new CSDemo object. You may have to re-place the CSDemo in the second room.