use pygame on opensesame
in OpenSesame
Hi all,
I would like to create a game on Pygame and copy the linescript in opensesame for collect data. I want to know what version of python I must to use (3 or 2) and what version of pygame too.
Thanks !
Comments
Hi,
You can use either Python 2 or 3, and the version of PyGame would then be the version that's bundled with OpenSesame, which you can check by inspecting the
pygame.__version__property in the debug window.If you're trying to run PyGame scripts in OpenSesame, it's important to be aware that OpenSesame has already created a window surface for you, so you should patch the script such that it doesn't create another one. (The details of course depend on the script.)
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!