Re: [pygame] Texture for raycasting engine

2008-03-06 Thread Christian Reichlin
hi, if you are working on a classic raycasting engine like wolfenstein3d or similar games used where you only have vertical walls there is a short tutorial on http://www.permadi.com/tutorial/raycast/ or one at http://student.kuleuven.be/~m0216922/CG/raycasting.html they are both not in python

Re: [pygame] event.wait and userevents

2008-03-04 Thread Christian Reichlin
. pygame.time.set_timer(pygame.USEREVENT, 1000) while True: event = pygame.event.wait() if event.type == pygame.QUIT: break elif event.type == pygame.USEREVENT: print 'timer' Christian Reichlin wrote: hello, i made a litte app with pygame. i had troubles with the event l

[pygame] event.wait and userevents

2008-03-04 Thread Christian Reichlin
hello, i made a litte app with pygame. i had troubles with the event loop using pygame.event.wait and userevents, triggered by pygame.time.set_timer(pygame.USEREVENT, 1000) the following code didn't work. it looks like during pygame.event.wait() userevents aren't processed internally. as lon