| |||||||||||
PyWeek - Whew!Last minute disaster recovery. I was doing something that worked by accident on my Linux machine but crashed on windows.Thanks to Joe for his scepticism. Oh and while walking back from his house slightly drunk, I figured out what was causing my performance problem. Back to 60fps for me! I think the word is "woohoo". If that's a word. — scav on 2007/09/08 21:54 of Vortex Racers Comments: (log in to comment) |
Last Challenge
September 2008 [entries, ratings] Previous March 2008 [entries, ratings] > September 2007 [entries, ratings] April 2007 [entries, ratings] September 2006 [entries, ratings] March 2006 [entries, ratings] (June 2006) August 2005 [entries, ratings] Not logged in Login | ||||||||||
By simono on 2007/09/09 14:58:
on ubuntu 7.04 with python2.5.2 I can't start the game. First it complained about pygame.error not known in texturefont.py so I added "import pygame" there. Now I get this error:File "/home/simon/Desktop/PYWEEK ENTRIES/vracers-0.6.22.zip_FILES/vracers-0.6.22/lib/tdlib/texturefont.py", line 138, in render GL.glCallLists(string) ValueError: Unable to convert object to array, i.e. possible empty sequences or items that are not numbers.By scav on 2007/09/10 12:59:
That's very odd. It works for me, but maybe try replacing the offending line with:if not string: # catch empty sequence string = " " GL.glCallLists( ord(c) for c in string ) # convert to intsIt may be a PyOpenGL version/ctypes thing.By simono on 2007/09/10 13:21:
with a slight change, that worked now:if not string: # catch empty sequence string = " " GL.glCallLists( [ord(c) for c in string] ) # convert to intsBut spaces in text look like a fat | ... no show breaker.