Hi folks,
I wonder if anyone has run into a similar issue and if there is an easy solution. The following script worked just fine when you launch it from the command line. However, if I load it into Coder and run it, the mouse cursor would show up when loading the movie file. It looks like movie loading and the GUI is interacting in an unexpected way.
Thanks,
Zhiguo
import sys
import os
from psychopy import visual, core, event, monitors
from psychopy.constants import STOPPED, PLAYING, FINISHED
scn_width, scn_height = (1920, 1080)
mon = monitors.Monitor('myMonitor', width=53.0, distance=70.0)
mon.setSizePix((scn_width, scn_height))
win = visual.Window((scn_width, scn_height),
fullscr=True,
monitor=mon,
winType='pyglet',
units='pix',
color=(-0.094, -0.094, -0.094),
allowStencil=False)
win.mouseVisible = False
core.wait(3)
mov = visual.MovieStim3(win, filename=r'./jwpIntro.mov')
while (mov.status is not FINISHED):
# draw movie frames
mov.draw()
win.flip()
win.close()
core.quit()