|
|
function [] = test_Inst1(disp_struct) |
|
|
|
|
|
|
|
|
text_0 = '-Instructions-\n\n\n'; |
|
|
text_1 = 'Great Job!\nIt''s time to test what you''ve learned.\n\n'; |
|
|
text_2 = 'Now you''ll be free to choose on every trial,\n but you''ll NO LONGER RECIEVE ANY FEEDBACK!\n\n'; |
|
|
text_3 = 'If you see new combinations of symbols, choose the symbol that ''feels'' most likely to award points based on what you''ve learned.\n\n If you''re not sure which one to pick,\n just go with your gut instinct.\n\n'; |
|
|
text_4 = 'Press the space bar when you''re ready to begin'; |
|
|
|
|
|
Screen('TextSize', disp_struct.wPtr, 30); |
|
|
Screen('TextFont', disp_struct.wPtr, 'Times'); |
|
|
Screen('TextStyle', disp_struct.wPtr, 0); |
|
|
Screen('TextColor', disp_struct.wPtr, [255 255 255]); |
|
|
Screen('FillRect', disp_struct.wPtr,[0 0 0]); |
|
|
|
|
|
wrap_length = 70; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Screen('TextStyle', disp_struct.wPtr, 1); |
|
|
[nx, ny, textbounds] = DrawFormattedText(disp_struct.wPtr, text_0, 'center', 50, [], wrap_length, [], [], 1.25 ); |
|
|
|
|
|
|
|
|
Screen('TextStyle', disp_struct.wPtr, 0); |
|
|
[nx, ny, textbounds] = DrawFormattedText(disp_struct.wPtr, text_1, 'center', ny, [], wrap_length, [], [], 1.25 ); |
|
|
[nx, ny, textbounds] = DrawFormattedText(disp_struct.wPtr, text_2, 'center', ny, [], wrap_length, [], [], 1.25 ); |
|
|
[nx, ny, textbounds] = DrawFormattedText(disp_struct.wPtr, text_3, 'center', ny, [], wrap_length, [], [], 1.25 ); |
|
|
[nx, ny, textbounds] = DrawFormattedText(disp_struct.wPtr, text_4, 'center', ny, [], wrap_length, [], [], 1.25 ); |
|
|
|
|
|
|
|
|
Screen(disp_struct.wPtr, 'Flip'); |
|
|
WaitSecs(0.5); |
|
|
|
|
|
|
|
|
RestrictKeysForKbCheck(KbName('SPACE')); |
|
|
|
|
|
KbWait([],2); |
|
|
end |