URL of experiment: https://run.pavlovia.org/Doritse/cpt
Description of the problem: I try piloting my experiment and keep getting a message that it is initializing the experiment but nothing happens.
URL of experiment: https://run.pavlovia.org/Doritse/cpt
Description of the problem: I try piloting my experiment and keep getting a message that it is initializing the experiment but nothing happens.
According to the Browser console you have a syntax error in this line.
rStarP.setOpacity(((shape == 'star') and (color == 'red')));
Is that code from your component?
To run experiments online you need to write code like this in code components so they can be translated to JavaScript.
Please take a look at my crib sheet for more notes on running experiments online.
Hi! I’m resurrecting this thread cause I’m facing the same problem.
I don’t know any code, so I only used Builder. Last change I made, just an hour ago before this post, was replace two keybord components with buttons. It runs okay locally, but gets stuck at ‘initializing’ when I try to pilot on Pavlovia. If anyone can shed some light, I’d really apreciate it.
Thanks!
Replying to myself:
Found the syntax error, and now I’m looking for the solution to a semantic error , i.e. ReferenceError: assignment to undeclared variable currentLoop. It’s my first time looking at code, so any help is appreciated.
EDIT: solved it thanks to this post No loop but this error "ReferenceError: currentLoop is not defined" - #7 by wakecarter