|
From: Josef S. <dr...@ma...> - 2001-07-30 18:20:33
|
On Friday 27 July 2001 21:21, Jan Ekholm wrote: > Somehow the image could not be loaded? Does it not exist, or is the > installation procedure bad? I've never seen any problem with this, so > there is something interesting going on. I've added a catch for the error, > which should print out the file it tries to load. It was a really weird SDL error - it seems SDL_image references libraries outside it's sourcetree during buildtime, therefore it didn't load any GIF images - I noticed that when I renamed IMG_Load to IMG_Loadxyz and started the "showimage" tool locally, it complained about an undefined reference to IMG_Load which should normally not occur. But anyway, this error is gone :) I only had to disable scenario.audio.loadMusic ( properties.music_main ) scenario.audio.playMusic () in civil.py/def main(), but the rest works ok. (The music continues from the menu though) And it looks pretty good! > Seeing Josef's signature below, and having read a few docs about GGZ and > looked at the API, I wonder wether it would be hard to adapt Civil to some > day use GGZ. Could be interesting to be able to provide some kind of > "lounge" where games can be set up. Any Python interface? Just a thought > though... :) On the client side that wouldn't require more than 3 lines of Python or so (i.e. when given an option it connects to a local socket instead of to a port). The server side seems more complicated - if I've understood the concept of the civil server right, it is intended to run permanently, which we don't support yet :( However, we had some really weird ideas in the past weeks, including playing scripted games (Python, Perl, Ruby) directly from CVS or adding OOP methods during runtime - but most of those ideas are far from being realistic and will need some time. There is just no common concept available - at LinuxTag I've spoken with a WorldForge guy, they're also just beginning with this kind of libraries (including meta-servers etc.). Hopefully in some months there's some decent code present. Josef -- The MindX Open Source Project: Fighting proprietary games GGZ now! - The GGZ Gaming Zone: http://ggz.sourceforge.net ggz.morat.net | ggz.snafu.de | jzaun.com | mindx.sourceforge.net/europeone |