[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Need feed back on new game!



Hi,

There seems to be problems with the surfarray module on several
platforms. 

I'll try to release Slingshot with pre-rendered subpixel-images to get
rid of the surfarray dependency.

Best Regards
/John


ons 2007-05-23 klockan 21:58 -0400 skrev John Cabral:
> Hi,
> I was trying out the game and it threw this error message.  I'm not
> sure if it is a problem with my installation.  I'm using Python 2.5
> and pygame 1.7.  I downloaded and ran the numpy-1.0.3.win32-py2.5
> installer after an earlier error that complained about no numeric
> module existing.  I'm running on a Windows Vista machine.
> 
> 
> C:\pythongames\Slingshot_rc1\lib\subpixelsurface.py:43: RuntimeWarning: use surf
> array: No module named Numeric
>   surf_array_rgb[1:ow+1:, 1:oh+1:, ::] = pygame.surfarray.array3d(surface)
> Traceback (most recent call last):
>   File "Slingshot.py", line 174, in <module>
>     main()
>   File "Slingshot.py", line 167, in main
>     g = Slingshot(cfg)
>   File "Slingshot.py", line 59, in __init__
>     si = SubPixelSurface(i,4)
>   File "C:\pythongames\Slingshot_rc1\lib\subpixelsurface.py", line 43, in __init
> __
>     surf_array_rgb[1:ow+1:, 1:oh+1:, ::] = pygame.surfarray.array3d(surface)
>   File "C:\Python25\lib\site-packages\pygame\__init__.py", line 52, in __getattr
> __
>     raise NotImplementedError, MissingPygameModule
> NotImplementedError: surfarray module not available
> 
> 
> Thoughts?
> 
> 
> Thanks,
> JC