los-cocos / cocos

graphic library for games and multimedia, for python language on PC-like hardware
http://los-cocos.github.io/cocos-site/
Other
632 stars 146 forks source link

cocos should get a working twisted reactor #117

Open ccanepa opened 10 years ago

ccanepa commented 10 years ago

From twoelz on April 03, 2009 06:48:03

This is a suggestion: There is a working twisted reactor for pyglet, it would be great if such a reactor could be integrated to cocos director.

For more info on the pyglet-twisted-reactor by Padraig Kitterick check out the link: http://code.google.com/p/pyglet-twisted/

Original issue: http://code.google.com/p/los-cocos/issues/detail?id=117

ccanepa commented 10 years ago

From twoelz on April 03, 2009 04:39:32

Mm... my bad, actually its easy to make it work on cocos also. Attached is a way to use it with cocos... Its a test case, can be added to
cocos tests, along with pygletreactor.py by Padraig Kitterick.

Attachment: test_cocos_reactor.py pygletreactor.py