|
|
|
|
|
Screen('TextSize',wPtr,70);
|
|
|
Screen('TextFont',wPtr,'Times');
|
|
|
Screen('TextStyle',wPtr,0);
|
|
|
Screen('TextColor',wPtr,[255 255 255]);
|
|
|
beginningText1 = 'Experimenter: [SPACE] to Continue';
|
|
|
DrawFormattedText(wPtr,beginningText1,'center','center');
|
|
|
Screen(wPtr, 'Flip');
|
|
|
KbWait([],3);
|
|
|
|
|
|
|
|
|
|
|
|
Screen('TextSize',wPtr,50);
|
|
|
Screen('TextFont',wPtr,'Times');
|
|
|
Screen('TextStyle',wPtr,0);
|
|
|
Screen('TextColor',wPtr,[255 255 255]);
|
|
|
instructionText1 = 'Welcome and thank you for participating in our study. \n\n\nPlease use the spacebar to move through the instructions.';
|
|
|
DrawFormattedText(wPtr,instructionText1,'center','center');
|
|
|
Screen(wPtr, 'Flip');
|
|
|
KbWait([],3);
|
|
|
|
|
|
repeat = 1;
|
|
|
while repeat == 1
|
|
|
|
|
|
|
|
|
instructionText2 = 'In the task that follows, \n\n\nA picture will appear on the LEFT or RIGHT of the screen. \n\n\nIf the picture is YELLOW, press the LEFT button.\n\n\nIf the picture is BLUE, press the RIGHT button.';
|
|
|
DrawFormattedText(wPtr,instructionText2,'center','center')
|
|
|
Screen(wPtr, 'Flip');
|
|
|
|
|
|
KbWait([],3);
|
|
|
|
|
|
|
|
|
instructionText3 = 'Lets try a quick practice session... \n\n\nTry to respond as accurately as possible within the time limit.';
|
|
|
DrawFormattedText(wPtr,instructionText3,'center','center')
|
|
|
Screen(wPtr, 'Flip');
|
|
|
|
|
|
KbWait([],3);
|
|
|
|
|
|
|
|
|
PrePractice
|
|
|
Screen('TextSize',wPtr,50);
|
|
|
Screen('TextFont',wPtr,'Times');
|
|
|
Screen('TextStyle',wPtr,0);
|
|
|
Screen('TextColor',wPtr,[255 255 255]);
|
|
|
|
|
|
|
|
|
instructionText4 = 'Great! \n\n\nYou noticed that it is hard when the YELLOW picture \n\n\nis on the RIGHT side of the screen, for example. \n\n\nTricky! \n\n\nBut there is one more thing to know...';
|
|
|
DrawFormattedText(wPtr,instructionText4,'center','center')
|
|
|
Screen(wPtr, 'Flip');
|
|
|
|
|
|
KbWait([],3);
|
|
|
|
|
|
|
|
|
instructionTextR1 = 'But before that \n\n\nWould you like to practice that again? \n\n\nPress [r] to repeat that practice \n\n\n Or press [SPACE] to continue';
|
|
|
DrawFormattedText(wPtr,instructionTextR1,'center','center')
|
|
|
Screen(wPtr, 'Flip');
|
|
|
|
|
|
[secs, keyCode, deltaSecs] = KbWait([],3);
|
|
|
|
|
|
repeat = find(keyCode) == 21;
|
|
|
end
|
|
|
|
|
|
repeat = 1;
|
|
|
while repeat == 1
|
|
|
|
|
|
instructionText5 = 'You will get rewards (+1) or not (0) after answering correctly. \n\n\n But you will LOSE points (-3) for errors and no-responses';
|
|
|
DrawFormattedText(wPtr,instructionText5,'center','center')
|
|
|
Screen(wPtr, 'Flip');
|
|
|
|
|
|
KbWait([],3);
|
|
|
|
|
|
|
|
|
instructionText6 = 'Some pictures will be rewarding MORE OFTEN than others. \n\n\nTry to score as many points as possible. \n\n\nYou will be TESTED on the pictures after each block. ';
|
|
|
DrawFormattedText(wPtr,instructionText6,'center','center')
|
|
|
Screen(wPtr, 'Flip');
|
|
|
|
|
|
KbWait([],3);
|
|
|
|
|
|
|
|
|
instructionText7 = 'Lets try that practice again, \n\n\nbut with REWARDS (+1)';
|
|
|
DrawFormattedText(wPtr,instructionText7,'center','center')
|
|
|
Screen(wPtr, 'Flip');
|
|
|
|
|
|
KbWait([],3);
|
|
|
|
|
|
|
|
|
Practice
|
|
|
Screen('TextSize',wPtr,50);
|
|
|
Screen('TextFont',wPtr,'Times');
|
|
|
Screen('TextStyle',wPtr,0);
|
|
|
Screen('TextColor',wPtr,[255 255 255]);
|
|
|
|
|
|
|
|
|
instructionText8 = 'Here is a practice TEST phase. \n\n\nDuring this phase you will see two black & white pictures side-by-side.\n\n\nThere is no feedback, \n\n\nyou simply have to select the better picture.';
|
|
|
DrawFormattedText(wPtr,instructionText8,'center','center')
|
|
|
Screen(wPtr, 'Flip');
|
|
|
|
|
|
KbWait([],3);
|
|
|
|
|
|
|
|
|
instructionText8b = 'For example, in that practice STARS were more rewarding \n\n\nthan SQUARES.';
|
|
|
DrawFormattedText(wPtr,instructionText8b,'center','center')
|
|
|
Screen(wPtr, 'Flip');
|
|
|
|
|
|
KbWait([],3);
|
|
|
|
|
|
|
|
|
|
|
|
instructionText8b2 = 'Just select the BETTER picture out of the two. \n\n\n Remember, you will not receive feedback.\n\n\n GO WITH YOUR GUT INSTINCT!';
|
|
|
DrawFormattedText(wPtr,instructionText8b2,'center','center')
|
|
|
Screen(wPtr, 'Flip');
|
|
|
|
|
|
KbWait([],3);
|
|
|
|
|
|
|
|
|
|
|
|
Practice_test
|
|
|
Screen('TextSize',wPtr,50);
|
|
|
Screen('TextFont',wPtr,'Times');
|
|
|
Screen('TextStyle',wPtr,0);
|
|
|
Screen('TextColor',wPtr,[255 255 255]);
|
|
|
|
|
|
|
|
|
instructionText8b2 = 'There are some important things to remember: \n\n\n\n 1) The color of the picture does not affect the reward \n\n 2) Nor does the side of the screen the picture is on. \n\n 3) The only thing that matters is remembering \n\n which picture was more rewarding';
|
|
|
DrawFormattedText(wPtr,instructionText8b2,'center','center')
|
|
|
Screen(wPtr, 'Flip');
|
|
|
KbWait([],3);
|
|
|
|
|
|
instructionText8b2 = 'There are some important things to remember: \n\n\n\n 4) Many pictures will only be rewarded a certain \n\n percent of the time. \n\n\n This can be hard - so try your hardest to observe each shape!';
|
|
|
DrawFormattedText(wPtr,instructionText8b2,'center','center')
|
|
|
Screen(wPtr, 'Flip');
|
|
|
KbWait([],3);
|
|
|
|
|
|
|
|
|
instructionTextR2 = 'Great! Do you have any questions? \n\n Or would you like to practice that again? \n\n\nPress [r] to repeat that practice \n\n\n Or press [SPACE] to continue';
|
|
|
DrawFormattedText(wPtr,instructionTextR2,'center','center')
|
|
|
Screen(wPtr, 'Flip');
|
|
|
|
|
|
[secs, keyCode, deltaSecs] = KbWait([],3);
|
|
|
|
|
|
repeat = find(keyCode) == 21;
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
instructionText9 = 'Are you ready for the first block? \n\n (There are 4 train/test blocks total) \n\n\n - Experimenter, please press [P] to continue - ';
|
|
|
DrawFormattedText(wPtr,instructionText9,'center','center')
|
|
|
Screen(wPtr, 'Flip');
|
|
|
|
|
|
|
|
|
[keyIsDown, RT, keyCode] = KbCheck();
|
|
|
while true
|
|
|
if keyIsDown && keyCode(KbName('P'))
|
|
|
break;
|
|
|
end
|
|
|
[keyIsDown, RT, keyCode] = KbCheck();
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|