I don't understand why the particle systems module would cause such a 
failure. Everything works fine if I don't import this module.

I am running on Intel I7 and have very recent drivers for my graphics card 
(although I don't think the dedicated graphics card is being used by the 
program).

When I try your suggestion I have the error:

Traceback (most recent call last):
>   File "run_game.py", line 7, in <module>
>     import main
>   File "main.py", line 15, in <module>
>     import cocos.particle_systems
>   File 
> "C:\Python27\lib\site-packages\cocos2d-0.5.5-py2.7.egg\cocos\particle_systems.py",
>  
> line 38, in <module>
>     from particle import ParticleSystem, Color
>   File 
> "C:\Python27\lib\site-packages\cocos2d-0.5.5-py2.7.egg\cocos\particle.py", 
> line 92, in <module>
>     class ParticleSystem( CocosNode ):
>   File 
> "C:\Python27\lib\site-packages\cocos2d-0.5.5-py2.7.egg\cocos\particle.py", 
> line 167, in ParticleSystem
>     texture = pic.get_texture()
>   File "C:\Python27\lib\site-packages\pyglet\image\__init__.py", line 801, 
> in get_texture
>     force_rectangle)
>   File "C:\Python27\lib\site-packages\pyglet\image\__init__.py", line 786, 
> in create_texture
>     rectangle, force_rectangle)
>   File "C:\Python27\lib\site-packages\pyglet\image\__init__.py", line 
> 1486, in create
>     glGenTextures(1, byref(id))
>   File "C:\Python27\lib\site-packages\pyglet\gl\lib.py", line 100, in 
> errcheck
>     raise GLException('No GL context; create a Window first')
> pyglet.gl.lib.GLException: No GL context; create a Window first

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" 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/cocos-discuss?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to