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

Hi!

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: https://www.pygame.org/project/1072/1916

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.

Cheers!


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\inline_script.py", line 116, in run

self.workspace._exec(self.crun)

File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\base_python_workspace.py", 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

Comments

  • Hi,

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

    Eduard

  • 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. :)

    Paula

Sign In or Register to comment.