psychopy.org | Reference | Downloads | Github

Image Feedback after Participant Response

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): 2.02.10
Standard Standalone? (y/n) If not then what?: N
What are you trying to achieve?: A participant has five practice trials to determine if two words are the same color, and after each trial should receive feedback as to whether the response was correct (smiley face) or incorrect (sad face). For each of the five trials, they are in a sequence with the response already defined.

What did you try to make it work?: I have looked through the forum for other suggestions and have not found luck. I know that it will be created through a custom code, and I am inexperienced with Python. I have written a few sentences, but when running the code it will appear with a “response is not defined” message. I have the two images saved as JPG’s in the same folder as the code and other materials are in.

What specifically went wrong when you tried that?:
Include pasted full error message if possible. “That didn’t work” is not enough information.

Either ‘response is not defined’, or “syntax error”, I have not made it past these messages.

Any help is greatly appreciated!
Thanks in advance