AruControl for Construct 3 (free template)
This is a fairly simple Construct 3 example / template which you can use to make games (or anything) that uses video input (like a webcam or other device camera) and detects ArUco markers (their IDs and positions).
The example project does two things: it detects the classic ArUco marker #0 and moves a sprite to its mid-point; if it detects marker #1 or #2 on screen it plays a sound file (one for each). You can open this page on a second device and scroll to the markers below to try it out (or you can print them out as well):
The project exceeds the Construct 3 free limits, so you'll have to have a subscription. I might add a less readable version which is compatible with the free limits later - if you're interested in that, feel free to add a comment.
It's also possible to design your own ArUco fiducial markers and use them in this project (see comments in the source code), but I'm also planning on developing a tool to make the process easier.
The published project was tested on PC (Firefox, Chromium), Android (Chrome) and iOS (Safari).
If you can't run the project for any reason, check out this video demo:
You can download the source code (C3P project file), which is licensed under the MIT License. Please note that this project uses the js-aruco2 library by Damiano Falcioni, which is based on the js-aruco library by Juan Mellado - which includes some code from OpenCV. You can find the relevant licenses here.
Click download now to get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.