Group: Forum Members
Posts: 20,
Visits: 84
|
Hi everyone, I am trying to create a trial with a stimuli image, a question underneath it, and two response options. The question should be in white color font while the two response options should be in black font inside a white textbox. However, when I run the code all the test items are black font inside a white textbox.
Could someone please help? I also cannot get participants to actively click on the textboxes to move fowards as the "validresponse" line does not work.
Here is my code:
*****ITEMS & STIMULI ***** <text DetectionQuestion> / items = DetectionQuestion / position = (50, 70) / select = sequence / txcolor = (white) /fontstyle = ("Arial", 3.0%, true, false, false, false, 5, 1) </text>
<item DetectionQuestion> /1 = "Did this statement correct earlier misinformation?" </item>
<text NoDetection> / items = ("0 - No") / position = (25%, 80%) / fontstyle = ("Arial", 2%, false, false, false, false, 5, 1) / txcolor = (black) / txbgcolor = (white) / size = (10%, 5%) / vjustify = center </text>
<text YesDetection> / items = ("1 - Yes") / position = (75%, 80%) / fontstyle = ("Arial", 2%, false, false, false, false, 5, 1) / txcolor = (black) / txbgcolor = (white) / size = (10%, 5%) / vjustify = center </text>
<picture statements_block3> / items = ("Gas_2018_C.png","Gas_2018_C.png", "Cali_Fires_C.png", "Amazon_Rainforest_C.png", "Clinton_Nkorea_C.png", "Cinderella_Castle_C.png", "Library_AmericanFlag_C.png", "Military_Pay_C.png", "Mexican_Border_Crossings_C.png", "US_Trading_Partner_C.png", "Test_American_Cars_C.png", "Tax_Pres_Law_C.png", "Pres_Vacation_C.png", "Immigration_Boy_Cage_C.png", "Global_Warming_Antarctica_C.png", "Murder_Year_C.png", "Bernie_Tax_Income_C.png", "Biden_StudentDebt_C.png", "Chess_Players_C.png", "Liberian_Women_C.png", "SKorea_Population_C.png", "Missing_People_C.png", "Bloomberg_Campaign_Money_C.png", "Alabama_Senate_C.png", "Black_Homeownership_C.png", "Rural_Hospitals_C.png", "Race_Starbucks_C.png", "Brooms_Standing_C.png", "SwimmingPool_Deaths_C.png", "Voter_Turnout_C.png", "CoronaBeer_COVID_C.png", "Tax_Allocation_C.png", "Rep_Control_C.png", "Cali_Statelaw_C.png", "Soccer_Revenue_Gap_C.png", "Pope_GunControl_C.png", "Coffee_C.png", "Federal_State_Dollars_C.png", "UT_Athletes_Ipad_C.png", "Obama_Website_C.png", "Trump_Signed_Legislation_C.png", "GunControl_Warrant_C.png", "Abortion_Bieber_C.png", "Veteran_Suicide_C.png", "Vaccines_Autism_C.png", "Marriage_License_Benefits_C.png") / size = (60%, 60%) / position = (50, 32) </picture>
*****Instructions***** <item Instructions> / 1 = "1 Welcomeb.jpg" / 2 = "2 BackgroundInfob.jpg" / 3 = "3 FamInstr1b.jpg" / 4 = "4 FamInstr2b.jpg" / 5 = "5 BeliefInstr1b.jpg" / 6 = "6 BeliefInstr2b.jpg" / 7 = "7 CorrectionInstr1b.jpg" / 8 = "8 CorrectionInstr2b.jpg" / 9 = "9 CorrectionInstr3b.jpg" / 10 = "10 CorrectionInstr4b.jpg" </item>
<picture InstructionsDisplay> / items = Instructions / select = sequence / size = (100%, 100%) / position = (50%, 50%) </picture>
<trial Instructions> / stimulusframes = [1 = InstructionsDisplay] / validresponse = (205) </trial>
*****TRIAL***** <trial makeDetections> / inputdevice = mouse / stimulusframes = [1 = DetectionQuestion, NoDetection, YesDetection, statements_block2] / trialduration = 8000 </trial>
*****BLOCK***** <block Correction> / onblockbegin = [values.trialCount = 0; values.makeDetections = 1; values.instructnum = 7] / trials = [1-4 = Instructions; 5-50 = makeDetections] / onblockend = [values.missingRespCount = 0] </block>
|