instructions each repeat

parent 47738958
......@@ -150,7 +150,7 @@ async function experimentInit() {
instructions = new visual.TextStim({
win: psychoJS.window,
name: 'instructions',
text: '"This experiment uses an n-back paradigm. /n/nYou will be shown 100 words./n/nPress the /"S/" key if the word is the same as the word you saw "+str($nback)+" words ago, or the /"D/" key if it is different./n/nPress the space bar instead of /"S/" or /"D/" if you see an animal word./n/nPress the space bar to continue"',
text: '',
font: 'Arial',
units: 'norm',
pos: [0, 0], height: 0.1, wrapWidth: 1.5, ori: 0,
......@@ -355,6 +355,7 @@ function startRoutineBegin(snapshot) {
frameN = -1;
continueRoutine = true; // until we're told otherwise
// update component parameters for each repeat
instructions.setText('"This experiment uses an n-back paradigm. /n/nYou will be shown 100 words./n/nPress the /"S/" key if the word is the same as the word you saw "+str($nback)+" words ago, or the /"D/" key if it is different./n/nPress the space bar instead of /"S/" or /"D/" if you see an animal word./n/nPress the space bar to continue"');
instructions_key.keys = undefined;
instructions_key.rt = undefined;
_instructions_key_allKeys = [];
......
......@@ -158,7 +158,7 @@ async function experimentInit() {
instructions = new visual.TextStim({
win: psychoJS.window,
name: 'instructions',
text: '"This experiment uses an n-back paradigm. /n/nYou will be shown 100 words./n/nPress the /"S/" key if the word is the same as the word you saw "+str($nback)+" words ago, or the /"D/" key if it is different./n/nPress the space bar instead of /"S/" or /"D/" if you see an animal word./n/nPress the space bar to continue"',
text: '',
font: 'Arial',
units: 'norm',
pos: [0, 0], height: 0.1, wrapWidth: 1.5, ori: 0,
......@@ -362,6 +362,7 @@ function startRoutineBegin(snapshot) {
frameN = -1;
continueRoutine = true; // until we're told otherwise
// update component parameters for each repeat
instructions.setText('"This experiment uses an n-back paradigm. /n/nYou will be shown 100 words./n/nPress the /"S/" key if the word is the same as the word you saw "+str($nback)+" words ago, or the /"D/" key if it is different./n/nPress the space bar instead of /"S/" or /"D/" if you see an animal word./n/nPress the space bar to continue"');
instructions_key.keys = undefined;
instructions_key.rt = undefined;
_instructions_key_allKeys = [];
......
......@@ -343,7 +343,7 @@
<Param name="stopType" updates="None" val="duration (s)" valType="str"/>
<Param name="stopVal" updates="constant" val="" valType="code"/>
<Param name="syncScreenRefresh" updates="None" val="True" valType="bool"/>
<Param name="text" updates="constant" val="&quot;This experiment uses an n-back paradigm. \n\nYou will be shown 100 words.\n\nPress the \&quot;S\&quot; key if the word is the same as the word you saw &quot;+str($nback)+&quot; words ago, or the \&quot;D\&quot; key if it is different.\n\nPress the space bar instead of \&quot;S\&quot; or \&quot;D\&quot; if you see an animal word.\n\nPress the space bar to continue&quot;" valType="str"/>
<Param name="text" updates="set every repeat" val="&quot;This experiment uses an n-back paradigm. \n\nYou will be shown 100 words.\n\nPress the \&quot;S\&quot; key if the word is the same as the word you saw &quot;+str($nback)+&quot; words ago, or the \&quot;D\&quot; key if it is different.\n\nPress the space bar instead of \&quot;S\&quot; or \&quot;D\&quot; if you see an animal word.\n\nPress the space bar to continue&quot;" valType="str"/>
<Param name="units" updates="None" val="norm" valType="str"/>
<Param name="wrapWidth" updates="constant" val="1.5" valType="code"/>
</TextComponent>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment