Hello,

I started recently to use cocos2d, but I had an issue. Since cocos uses 
pyglet, a very kind user translated my code to pure pyglet and the result 
is that, in pyglet, I am unable to process events while animation are 
running. If no animations are running, events are handled correctly by the 
callbacks, otherwise, it seems that events are randomly handled (with low 
probability of being handled).

The discussion about cocos, if you are interested, is here: 
https://groups.google.com/forum/#!topic/cocos-discuss/6uviIoGzII8

The pyglet code I'm talking about is the following: 
http://pastebin.com/W5vLtubk

If I run it, and I press some keys, the label is not updated.
If I comment the line "pyglet.clock.schedule(update_actor)", events are 
correctly handled and I can see pressed keys appearing.

Note that the code does not work in python2 either.
I am using Fedora Linux 21, Mesa drivers 10.4.3 for OpenGL, pyglet 1.2.0, 
python 3.4.1 or 2.7.8.
I also tried with pyglet from the repository, but result is the same.

Am I the only one with this issue? Looks something pretty weird.

Thanks in advance
~Ale

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to