Group: Forum Members
Posts: 6,
Visits: 22
|
Hello,
I was wondering if anyone knew if it was possible to make a trial/series of trials of dragdrops, such that the previous choice stays on the screen which the participant makes the rest of their selections?
The task I am trying to create is a simple resource distribution task where the participants must divide 6 markers between two baskets. The six markers (dropsources) will appear in a central basket (as part of the background image) and must be each be dragged into either the green or orange basket (droptargets). I want the previous the choices to stay on the screen until all 6 markers are sorted. I need the data to record how many markers were placed into each basket.
Here's the code I have so far:
<picture background> / items = ("background.jpeg") </picture>
<picture green_basket> / items = ("green_basket.jpeg") / droptarget = true / position = (80%, 70%) / size = (30%, 30%) / dropposition = (anywhere, anywhere) / erase = false </picture>
<picture orange_basket> / items = ("orange_basket.jpeg") / droptarget = true / position = (20%, 70%) / size = (30%, 30%) / dropposition = (anywhere, anywhere) / erase = false </picture>
<picture marker1> / items = ("marker1.jpeg") / dropsource = true / position = (45%, 50%) / dropposition = (anywhere, anywhere) / erase = false </picture>
<picture marker2> / items = ("marker2.jpeg") / dropsource = true / position = (47%, 50%) / dropposition = (anywhere, anywhere) / erase = false </picture>
<picture marker3> / items = ("marker3.jpeg") / dropsource = true / position = (49%, 50%) / dropposition = (anywhere, anywhere) / erase = false </picture>
<picture marker4> / items = ("marker4.jpeg") / dropsource = true / position = (51%, 50%) / dropposition = (anywhere, anywhere) / erase = false </picture>
<picture marker5> / items = ("marker5.jpeg") / dropsource = true / position = (53%, 50%) / dropposition = (anywhere, anywhere) / erase = false </picture>
<picture marker6> / items = ("marker6.jpeg") / dropsource = true / position = (55%, 50%) / dropposition = (anywhere, anywhere) / erase = false </picture>
<trial resource> / dropsources = (marker1, marker2, marker3, marker4, marker5, marker6) / droptargets = (orange_basket, green_basket) / stimulusframes = [1=background, marker1, marker2, marker3, marker4, marker5, marker6, orange_basket, green_basket] / showmousecursor = true / inputdevice = dragdrop / validresponse = (orange_basket, green_basket) / correctresponse = ("orange_basket") </trial>
Many thanks!!
|