Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Simon Task for opensesame

Hi guys ! I am very new on Opensesame and I would need some help. I am trying to create an experiment using a Simon task but I am having some hard time to create the two squares of two different colours. I know that the problem is both for the block loop and sketchpad. Do you know if there is a pre-made Simon task available to run for Opensesame or maybe someone can give me direction for what should be done for those levels? thank you very much for your help.

Comments

  • Hi Lucia,

    There are probably implementations of a Simon task for OpenSesame floating around (although I cannot recall where). But it's a really easy task to make, so I would suggest implementing it yourself if only for the learning experience. Everything you need to know (including how to show variably colored squares) is either covered in the beginner tutorial or in the visual-search YouTube tutorial.

    If you get stuck, don't hesitate to post questions here! But why don't you first give it a try yourself?

    Cheers!

    Sebastiaan

    There's much bigger issues in the world, I know. But I first have to take care of the world I know.
    cogsci.nl/smathot

  • Hi Sebastiaan,

    Thank you for replying! I have tried to follow your tutorial but my Simon still doesn't run correctly. I have tried to insert the two squares both uploading images of the different coloured squares and drawing them with the tools on the side bars. I haven't managed to position them randomly on the left or the right and I am not sure how to do that (I have tried different methods I have seen in the tutorials but I am not sure if those techniques were appropriate just for left and right) . I would need some help to do that. I attach here my failed attempts in case you can have a look and tell me where the mistakes are or help me do it correctly. I would be very grateful if someone could bring some light into this darkness :) . In case will thank you officially in my final thesis project of course !

  • Hi Lucia,

    There are two (main) ways in which you can randomly select the position of your stimuli.

    The first way is to have two separate sketchpads, one with the stimulus on the left and one with the stimulus on the right, and then use a Run-If statement to determine which of the two is shown (e.g. [stim_pos] = left and [stim_pos] = right). This assumes that you have an experimental variable for the side of the stimulus position, let's call it stim_pos. Does that make sense?

    The second way is to use variables for the X coordinates of your stimuli. This assumes that you have an experimental variable for the X coordinate, let's call it target_x. For example like so:

    draw rect color="[target_color]" fill=1 h=-192 penwidth=1 show_if=always w=192 x=[target_x] y=96 z_index=0
    

    This is also done in the beginner tutorial, so you can take a look there to see how that works.

    Cheers!

    Sebastiaan

    There's much bigger issues in the world, I know. But I first have to take care of the world I know.
    cogsci.nl/smathot

  • Thank you so much that has been very useful !!


    Lucia

Sign In or Register to comment.