| |||||||||||
PyWeek - Finish Game!We finished our game. You can play it now! Pedro need you...Download from here Hehehe... — humitos on 2008/04/05 22:07 of 10 Roboticists from Santa Fe 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 Thorbrian on 2008/04/06 20:36:
The screenshot looks interesting - I'd love to rate it, but... Windows Vista Pro - python 2.5 with pygame 1.7.1 - I get this error when trying to run the game:---------------------------
Cannot load image: data\imgs\background/new_back_intro.jpg
---------------------------
the file appears to be there in that path - any ideas?
By j-1 on 2008/04/06 21:35:
It seems to me as if background and new_back_intro.jpg are not concatenated with os.path.join.By ceportela on 2008/04/06 23:18:
In Windows Vista may be you do not have python in his path? Tried to go to the folder and there write "c:\Python25\python.exe run_game.py" if your Python25 is in that directory.By Zahmekoses on 2008/04/06 23:32:
I had no problems to run this game..WinXp, Python 2.5 and Pygame 1.7.1 - so this might be a "vista only"-problem or a "Zahmekoses downloaded the wrong version"-problem..
By milker on 2008/04/07 07:57:
linux, python2.4 and pygame 1.7
By ServalKatze on 2008/04/07 09:08:
Runs fine for me, too. Linux, Python 2.5 and pygame 1.7 ..By richard on 2008/04/07 10:47:
Works fine for me. Ubuntu Gutsy, python 2.5 and pygame 1.7.1By richard on 2008/04/07 10:49:
Oh, silly us. It looks like the problem is only on Windows where the authors have badly constructed a file path by assuming '/' is the path separator. Should be easy enough for a Windows user to patch to fix.By saluk on 2008/04/07 17:37:
I use "/" 100% of the time, on windows or linux. I think it's only a problem if they are mixed.By richard on 2008/04/07 21:35:
One should always use os.path.joinBy Juanj Conti on 2008/04/09 02:52:
Yes. The error is solved int the Windows self contained package of our game published today.By Thorbrian on 2008/04/12 19:14:
FYI, my original bug report was fixed by upgrading pygame to 1.8 (for some reason 1.7.1 couldn't load it, even with path seperator's made consistent)also, I've never had any problems with mixing path seperators on windows - the only problem I've ever had is in filename command-line args (where the forward slash becomes an argument delimeter)