[Twisted-Python] jfi: twisted pygame :)
Paul Boehm
typo at soniq.net
Fri Sep 27 18:18:12 EDT 2002
took me longer to write this mail, than to convert a simple pygame
based scrolling game to twisted + pygame.
works great:
without fps limits i lose about 3-5 fps compared to the Clock.tick(n)
based loop.
if the game engine takes care of events and updates with a single
call per frame, all you need to do is get rid of pygame.time.Clock
calls, and do scheduled updates with reactor.callLater.
paul
More information about the Twisted-Python
mailing list