Mainloops

Kyle raises ThreadError

Comments are moderated. It may take a few minutes before your comment appears.
Markdown is supported in your comments.

while running:
    while gtk.events_pending():
        gtk.main_iteration(False)
    now = time.time()
    delta = now - old
    pymunk.space.step(delta)
    old = now
    time.sleep(0.01)
Name:
Mail: (not shown)

Please type this: