File size: 6,881 Bytes
e7dce60 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 |
%Experimenter instructions
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); %Waits for keyboard(any) press
% %****BEGINNING OF INSTRUCTIONS****
% %Instructions 1
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); %Waits for keyboard(any) press
repeat = 1;
while repeat == 1
%Instructions 2
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); %Waits for keyboard(any) press
%Instruction 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); %Waits for keyboard(any)
% ####################### Do Pre-Practice
PrePractice
Screen('TextSize',wPtr,50);
Screen('TextFont',wPtr,'Times');
Screen('TextStyle',wPtr,0);
Screen('TextColor',wPtr,[255 255 255]);
%Instruction 4
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); %Waits for keyboard(any) press
%%%
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
%Instruction 5
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); %Waits for keyboard(any) press
%Instruction 6
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); %Waits for keyboard(any) press
%Instruction 7
instructionText7 = 'Lets try that practice again, \n\n\nbut with REWARDS (+1)';
DrawFormattedText(wPtr,instructionText7,'center','center')
Screen(wPtr, 'Flip');
KbWait([],3); %Waits for keyboard(any) press
% ####################### Do Practice
Practice
Screen('TextSize',wPtr,50);
Screen('TextFont',wPtr,'Times');
Screen('TextStyle',wPtr,0);
Screen('TextColor',wPtr,[255 255 255]);
%Instruction 8
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); %Waits for keyboard(any) press
%Instruction 8b
instructionText8b = 'For example, in that practice STARS were more rewarding \n\n\nthan SQUARES.';
DrawFormattedText(wPtr,instructionText8b,'center','center')
Screen(wPtr, 'Flip');
KbWait([],3); %Waits for keyboard(any) press
%Instruction 8b2
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); %Waits for keyboard(any) press
% ####################### Do Practice
Practice_test
Screen('TextSize',wPtr,50);
Screen('TextFont',wPtr,'Times');
Screen('TextStyle',wPtr,0);
Screen('TextColor',wPtr,[255 255 255]);
%Instruction 8b2
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); %Waits for keyboard(any) press
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); %Waits for keyboard(any) press
%%%
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
%Instruction 9
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');
% wait for a response (should be for 6 seconds)
[keyIsDown, RT, keyCode] = KbCheck();
while true
if keyIsDown && keyCode(KbName('P'))
break;
end % if next key detected
[keyIsDown, RT, keyCode] = KbCheck();
end % endless loop
% KbWait([],3); %Waits for keyboard(any) press
%****END OF INSTRUCTIONS****
|