Group: Forum Members
Posts: 4,
Visits: 71
|
Hi, I am hoping someone very helpful can assist me. I have tried to follow a few suggested templates, still no luck. I have trying to create a drag and drop task however, I can not get the selection, drag then drop to happen. I can not see the shape I have created as well. Can someone please highlight where I am going wrong. Any assistance will be greatly appreciated.
<expt >
</expt>
<text Start> / items = ("Drag all the drink images containing alcohol") / txcolor = black / erase = false / hjustify = left / fontstyle = ("Arial", 4.63%, true, true, false, false, 5, 1) / position = (50%, 10%) </text>
<shape bluecircle> / shape = rectangle / color = gold / position = (70%, 50%) / droptarget = true / size = (30%, 40%) </shape>
<picture drag1> / items = ("drag1.png") / position = (10%, 30%) / dropsource = true / size = (20%, 20%) </picture>
<picture drag2> / items = ("drag2.png") / position = (20%, 30%) / dropsource = true / size = (20%, 20%) </picture>
<picture drag3> / items = ("drag3.png") / position = (30%, 30%) / dropsource = true / size = (20%, 20%) </picture>
<picture drag4> / items = ("drag4.png") / position = (40%, 30%) / dropsource = true / size = (20%, 20%) </picture>
<picture drag5> / items = ("drag5.png") / position = (10%, 60%) / size = (20%, 20%) / dropsource = true </picture>
<picture drag6> / items = ("drag6.png") / position = (20%, 60%) / size = (20%, 20%) / dropsource = true </picture>
<picture drag7> / items = ("drag7.png") / position = (30%, 60%) / size = (20%, 20%) / dropsource = true </picture>
<picture drag8> / items = ("drag8.png") / position = (40%, 60%) / size = (20%, 20%) / dropsource = true </picture>
<picture drag9> / items = ("drag9.png") / position = (10%, 90%) / size = (20%, 20%) / dropsource = true </picture>
<picture drag10> / items = ("drag10.png") / position = (20%, 90%) / size = (20%, 20%) / dropsource = true </picture>
<trial mytrial> / stimulustimes = [1=start; 1=bluecircle; 1=drag1; 1=drag2; 1=drag3; 1=drag4; 1=drag5; 1=drag6; 1=drag7; 1=drag8; 1=drag9; 1=end; 30000 = end] / showmousecursor = true / inputdevice = dragdrop / correctresponse = ("drag2","drag4","drag6","drag8","drag10") / validresponse = ("drag2","drag4","drag6","drag8","drag10") / response = anyresponse / recorddata = true / responseinterrupt = frames / beginresponseframe = 0 </trial>
<block myblock> / trials=[1=mytrial] </block>
<text end> / items = ("Click here to end the task.Thanks") / txbgcolor = black / txcolor = white / erase = false / vjustify = center / size = (24%, 6%) / dropsource = true / position = (85%, 80%) / select =next(end) </text>
|