Hi Souvarine, Thanks for the reply. I actually think I've tracked down the problem to a misuse of pudding on my part: I'd added pudding support in my code but not changed my controller code to read events from soya.MAIN_LOOP.events instead of soya.process_event().
The code was originally non-pudding and I added a few labels using pudding later on. For some reason soya.process_events() still returned most (but not all!) events occurring. Switching this to the proper pudding way of doing things seems to have solved [whatever the problem was]. I've looked at tofu for future online multiplayer but not used it yet. I'm starting with the basics! Thanks for your help, Cheers, Mark On Thursday 13 March 2008, Souvarine wrote: > First try to use soya 0.14rc. Make sure to compile it yourself with the > lastest version of pyrex. > > I have seen a similar event loss problem once, it was when we all tested > tofu on Internet. Nobody was able to reproduce that problem after that. > Are you using tofu in your code ? > > Souvarine. > > Mark Williamson wrote: > > Hi there, > > > > I'm having problems with mouse and keyboard events occasionally not > > appearing when they should do. When this happens, I see button down > > events but not the expected button up event. This also happens in the > > opposite case (sometimes button downs are missed and I just get the "up" > > event). > > > > This problem is occurring in a game > > (http://www.cl.cam.ac.uk/~maw48/openlander/) I've been writing. It > > happens occasionally during otherwise normal play. I'm not entirely sure > > what causes it, although I do think it becomes more frequent when the > > scene is more complex to render (e.g. if another spaceship is on the > > screen, or if I switch to a model with a higher polygon count). > > > > I'm pretty sure my code isn't dropping any events that Soya gives it, > > which suggests that soya.process_event() is somehow losing some events. > > Aside from this issue the game appears to be running nice and smoothly. > > Unfortunately, when a button release is lost, a control gets jammed on > > and I often fly off the world :-) > > > > Can anybody give me a clue what might be the problem, or what I ought to > > try next? Perhaps there's just an event buffer I can enlarge? > > > > Cheers, > > Mark > > _______________________________________________ > Soya-user mailing list > Soya-user@gna.org > https://mail.gna.org/listinfo/soya-user -- Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/) _______________________________________________ Soya-user mailing list Soya-user@gna.org https://mail.gna.org/listinfo/soya-user