Howdy, Stranger!

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

Supported by

PyGame (Ball-E) error


I am trying to implement a pygame in OS, so that participants can play this game after they finished completing a survey.

The game is Ball-E, taken from here:

The survey works fine, but the game does not. Once I press on the button I created for the game, the game flashes on the screen for a very short time and then i get the error message below.

Any help is much appreciated.


item-stack: survey[run].Games[run].Games_loop[run].Ball_e[run]

exception type: ValueError

exception message: subsurface rectangle outside surface area

item: Ball_e

time: Wed Oct 30 14:42:13 2019

phase: run

Traceback (also in debug window)

File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\", line 116, in run


File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\", line 124, in _exec

exec(bytecode, self._globals)

Inline script, line 191, in <module>

Inline script, line 178, in main

ValueError: subsurface rectangle outside surface area


  • Hi,

    Can you share your experiment here? Then we might able to get to the bottom of what is going awry here.


  • Hi,

    Thanks for the reply!

    I've uploaded a simple version of the survey. To advance, please use the space bar and/or fill in the information required. :)


Sign In or Register to comment.