[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [SPAM: 4.500] Re: [pygame] Easy networking module - feedback needed

It's already kept by Enet in separate queue which is processed by Client.step method. Moreover if you don't want network events in Pygame event queue just don't import pygame_network.events module (it will prevent generation of any events).


2012/7/4 Greg Ewing <greg.ewing@xxxxxxxxxxxxxxxx>
Ryan Hope wrote:
Can someone explain to me why integrating network packets with pygame
events is a good idea? It was my understanding that the pygame event
buffer can only hold a limited number of events before events get

If this turns out to be a problem, it could be addressed by
keeping the network packets in a separate queue, and just using
the event mechanism to indicate when there is something in the