Hi,
 
Thanks for all the replies. My configuration is Win 7, py27 or py34, gpu 
Intel HD Graphics4000 using either pyglet 1.2rc 1 or pyglet 1.2.0 release.

The reason for not creating the window first is only because of some code 
in Cocos2D library. More precisely, if using particle.py, you can see here 
<https://github.com/los-cocos/cocos/blob/master/cocos/particle.py#L175> that 
an image is loaded and its texture retrieved as a class attribute. So this 
code is run at import time, before I can create my window. A work around is 
to create my window before the import statement, but this is not really 
practical.

So for people like me having this "restriction" from the gpu, Cocos2D 
particle systems would not work out of the box. I posted a similar message 
<https://groups.google.com/forum/#!topic/cocos-discuss/zg1_Xd7hG6A> on 
Cocos2D group discussion. The fix is either to change Cocos2D particle 
system so that this texture is only retrieved once the class is 
instanciated, or to fix the problem in Pyglet.

I'll try my best to find the problem. I'll let you know if there is 
anything I can find. I do understand the lack of interest if not many 
people face the same problem. But I can only say that at least 2 persons 
run into this problem: Qasim Khalil (from the Cocos2D discussion) and 
myself.

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