| |||||||||||
PyWeek - Linux patchSo close...It almost works on linux unchanged. in engine.py line 195 needs to be changed from: mapinfo.append((rname,posn,kwargs)) to mapinfo.append((rname,posn,kwargs.strip())) ohwell, not toooo bad for never testing on the platform. — skaro on 2006/09/10 15:22 of Crunchy Toads 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 Phil on 2006/09/10 16:55:
You also use the default font, which doesn't necessarily work in Linux.Traceback (most recent call last): File "main.py", line 9, in ? gameEngine=engine.Engine('media/level1.png','media/bgm/Level_Three.ogg') File "/scratch/pyweek/pyweek3-all/MagicThief/MagicThief-Final2-fixed/engine.py", line 37, in __init__ self.initEngine() File "/scratch/pyweek/pyweek3-all/MagicThief/MagicThief-Final2-fixed/engine.py", line 126, in initEngine self.font=pygame.font.Font(pygame.font.get_default_font(),16) IOError: unable to read font filenameBy baco on 2006/09/11 04:07:
actually the correction to engine.py is in line 196