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

-- 
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

Reply via email to