Thanks for the suggestion. I've been playing around with the idea but running into some trouble.
I have a sequence of 40 images (made up of 4 unique images). Arrow_display_time = 0.5 seconds, Response_time =1.5 seconds
If they press the button while the arrow is up it should switch to the blank screen. Only the first button response for the image is recorded, the rest are ignored.
Sequence=[4, 3, 1, 3, 2, 4, .....] #Sequence of image numbers
Do you have any examples of how I can switch the SceneNode through the sequence while keeping track of the timing?
I'd post the code I'm working with but it doesn't really work so I don't think there's a point.
I'm new to pythonista and I've been trying to recreate the "Flanker Test".
I am trying to have an image of arrows appear on screen for a specified amount of time (say 1 second) before disappearing. At this point the person can touch on screen buttons with the direction the middle arrow was pointing (either left or right). The input of the button will be recorded in a CSV file as well as the reaction time.
I was previously trying to do this using scene and a timed present_modal_scene but after a few image changes the program would slow to a crawl.
I decided to try using a mutliscene structure but I'm having trouble presenting the images and having it change after the time is up.
The flanker test seems straightforward but I can't find any examples of similar processes. If anyone could provide some example codes for me or point me in the right direction it would be much appreciated. Thanks !