1
Programming / Re: Adventures of Da'lar
« on: October 08, 2008, 12:53:54 PM »
I've just added Da'lar to Planet Roguelike; any new development since july?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
No. 287 errors left!
AMD64/Linux Installation Issues
If you are running on the AMD64 platform (and possibly others) you may see this error on startup:
Exception in thread Thread-1:
#Traceback (most recent call last):
...
ValueError: unsupported datatype for array
If this occurs, you need to download and install the latest development release of pygame. Follow the instructions at http://pygame.org/cvs.html to obtain the latest development release, then:
1. Build the new release by running:
# python makeref.py
# python setup.py install --prefix=/path/to/temporary/spot
2. Find the directory named "pygame" within /path/to/temporary/spot/lib (on a development machine, the path was lib/python2.4/site-packages/pygame) and copy or move it (all of it, including the directory itself) into the folder containing pycdg.py and the rest of the PyKaraoke files.
alpha = pygame.surfarray.make_surface(N.array(tab))
Congratulations on the new release!
Sadly, I can't play it with graphics:Code: [Select][0954]adral@adral-desktop:~/sda4/Juegos/roguelikes/moe/moe$ python moe-pygame.py
New game initiated in the mines of Random...
Traceback (most recent call last):
File "moe-pygame.py", line 741, in <module>
update_display(s, player)
File "moe-pygame.py", line 497, in update_display
s.blit(map(player), (SCREEN_SIZE[0] - 256 + 16, 16))
File "moe-pygame.py", line 294, in map
alpha = pygame.surfarray.make_surface(tab)
ValueError: unsupported datatype for array
Do you know why this could be?
Executing $python moe.py does nothing, and executing $python moe-curses.py works.