Hi there,
I’m rather new to Zap Works studio and I’m trying to set up a project. Thankfully it’s fairly easy to use.
My project has some bugs though, so I’d like to debug it using Zappar for Mac. The project itselfs runs great on my phone-app without any issues.
The problem
When launching Zappar for Mac and click the debug icon (wheel) the console pops up, already showing 2 errors:
Zappar for Mac tries to unlock a Zappar code directly when opening Zappar for Mac even if I’m covering my webcam with my hand. Holding the trained image in front of the webcam while opening Zappar for Mac doesn’t do the trick either. Probably because of the error.
I’m using the following hardware:
- MacBook Pro 2017
- ZapWorks 4.04
- LG 5K Ultrafine monitor with it’s build-in webcam (Mac’s native webcam also tested; same result)
Problem with exported functions?
I’m using exported-functions to have a functions-script with all my functions in it, which I can call from various scripts all over the project. Maybe that’s a problem? I’m currently doing it like this:
functions-script:
export function videoIsEnded() { videoEnded = 1; }
movie_seen:
videoplayer.on("video:finish", ()=> { functions.videoIsEnded(); })
Hopefully someone can help me. Thanks in advance!