Hi guys! I need help with a couple tasks since i’ve been struggling a bit. Would much appreciate your guidance <3
#1
OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): 2.6
Standard Standalone? (y/n) If not then what?:
What are you trying to achieve?: I’m trying to adapt some tasks for a virtual environment. It’s been going well, but right now i’ve come to a problem.
Most of my tasks involve something simple: there is a model to the left and the participant must match one of the options (1, 2, 3 or 4) with the model using some rules (eg. in a task they need to answer which line option is oriented in the same direction as the model).
Thing is, in some of them i need not only a feedback mechanism, but i need to make an example task. Basically i need to it in a way that the first 2 items have this mechanism:
If you get it right, advance to the next one;
If you get it wrong, get back to try again.
Basically, as long as the participant gets it wrong, it goes back to itself, but as soon as they get it right, they advance.
What did you try to make it work?:
Up until now i figured out a way to present the feedback, but can’t quite make it so that when the answer is wrong, it’ll come back to the same item.
This is what came up with:
On the “Begin Experiment” session of the code, there is this:
NLoop=20
Then, at the “End Routine”, there is this:
if key_resp_RM_exemplo.corr:#stored on last run routine
msg="Correct!"
RM_ex_loop.finished = True
else:
msg="Oops! That was wrong"
It seems to work, but i’m still stuck on the “get back to it when they get it wrong” part.
#2
OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): 2.6
Standard Standalone? (y/n) If not then what?:
What are you trying to achieve?: Also, i need help on something else. One of the tasks mental construction. The model to the left is a square composed of 4 geometrical figures. To the right, the 4 options are the same geometrical figure, this time separated. IRL i’ll ask the particpant: “On which sides do figures 1 and 2 touch eachother on the model?”. The participant must then touch their finger on the side of the geometrical figure they believe is the right one. It’s kinda hard to explain without showing it, but the point is: i need a way to let the participant select the side of the geometrical figure they think is the right one (with a visual feedback that they selected it, like it’s marked), and when they’re done selecting, they can click a button to finish the task. I don’t know if this is comprehensible, and if you need more info i’ll try my best to provide it.
What did you try to make it work?:
I tried to use the Brush response. It KINDA works, but not only would it be better if they could just click once to select a side of the figure, but it would make it much easier to interpret the data later.
Also, using the Brush response, it only registered the coords where the mouse started being pressed and stopped being pressed (only 2 coords, basically), which is not enough to ensure which spot they marked.
Thank you very much in advance, i really need some help here