URL of experiment:
https://pavlovia.org/run/Dan_Czarnowski/rule_learning_fall2020_num_spa/html/
Description of the problem:
I am running into a strange quirk. In my experiment, I have an array of circles that have their opacity changed based on the value of a variable that is updated using code. When I run the experiment, the circle that is filled in does not update accordingly. However, if I press F11 and either exit or enter full screen, that change in opacity that SHOULD occur is reflected, but when the opacity goes to update again, no change occurs. Again, either exiting or entering full-screen will produce the change.
Here is an image to show when certain code is executed. Again, it is not the code that is the issue, the experiment works as intended, it is just creating a problem where things are not updating unless the screen is changed.
There is a circular array of ten circles. In Spatial_Fixation routine, a value is selected. In Spatial_Blank routine, opacity of a circle is changed based on the value from previous routine. In Spatial_Target routine, the array of circles is displayed, with one circle being filled in based on the value selected in Spatial_Fixation routine. The loop then repeats and generates a new value.
Again, this is not an issue with the way the values are updating, or how the opacities are updated based on the value. If I press F11 on every “Spatial_Target” screen, then the experiment operates as intended, but continuously switching between full-screen and not full-screen is obviously problematic. Can anyone think of what is occurring when the experiment transitions between screen formats that would cause a change to be reflected after switching screen types, but remaining static if staying on a single screen output type (e.g., full screen)?