After researching pyglet's event handling, I discovered the easiest
method is just to return True from my event on_key_press handler for
the ESCAPE key.

(I was sure I had tried that once before!) Anyhow, I just tested this
method and it works correctly.

Thanks for your advice as it led me to explore pyglet in more detail

Looks like I have another API to add to my learning curve.

Cheers!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cocos-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to