[visionegg] using pygame.time.delay
- From: Darren Weber <darrenleeweber@xxxxxxxxx>
- To: visionegg@xxxxxxxxxxxxx
- Date: Tue, 22 Mar 2005 11:05:20 -0800
Hi,
I've got a series of visual images to present, each has a defined
duration. If each stimulus is presented in a for loop, I've found
that the duration of the stimulus can be handled by pygame.time.delay.
However, I wonder if this has any implications for event handling?
Does anyone using the visionegg know if this would be a problem? That
is, can pygame event handling work during pygame.time.delay?
If pygame.time.delay is problematic, how would you control the
stimulus duration? Do you need to setup a while loop that continues
to display a stimulus, checking for events and finally exits after a
certain time from onset? What is the best way to implement the
timing? Would you use pygame modules or something in the visionegg
itself?
Best, Darren
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html
- Follow-Ups:
- [visionegg] Re: using pygame.time.delay
- From: Andrew Straw
- [visionegg] Re: using pygame.time.delay
- From: Mark Halko
Other related posts:
- » [visionegg] using pygame.time.delay
- » [visionegg] Re: using pygame.time.delay
- » [visionegg] Re: using pygame.time.delay
- » [visionegg] Re: using pygame.time.delay
- » [visionegg] Re: using pygame.time.delay
- » [visionegg] Re: using pygame.time.delay
- [visionegg] Re: using pygame.time.delay
- From: Andrew Straw
- [visionegg] Re: using pygame.time.delay
- From: Mark Halko