Thanks for the input! Maybe I can check the bit depth and somehow and then use normal line drawing as a fallback.
Best Regards /John fre 2007-05-25 klockan 10:52 +0100 skrev Michael Brunton-Spall: > Ubuntu 7.04, crashes for me, traceback is > > Traceback (most recent call last): > File "Slingshot.py", liwheels.ne 198, in <module> > main() > File "Slingshot.py", line 192, in main > g.main_loop(sys.argv[1:]) > File "Slingshot.py", line 159, in main_loop > part = game_part.main_loop() > File "/home/mib/Desktop/Slingshot_rc2/lib/GamePart.py", line 1004, > in main_loop > pygame.draw.aaline(self.screen, (255,100,0), pl.pos.get_int_pos(), > (ax,ay),1) > ValueError: unsupported bit depth for aaline draw (supports 32 & 24 > bit) > > When I start to play the game itself. I think my desktop may be set > to 16bpp temporarily due to some issues playing a game in Wine > > Hope that helps > > Michael > > > On Thu, 2007-05-24 at 21:04 +0200, John Eriksson wrote: > > Hi, > > > > Hopefully this new version of Slingshot will work on more platforms. > > I've removed the surfarray dependency which caused problems on several > > platforms. > > > > I've also changed the behaviour of the force fields used on some levels. > > Instead of exploding the torpedoes will bounce off. This gives level > > building a new dimension. > > > > Please, help me test Slingshot once more and tell me what you think. > > > > Since the PyGame-site still has some problems I include a direct link to > > the new version. > > > > http://arainyday.se/projects/python/Slingshot/Slingshot_rc2.tar.gz > > > > When the final release is finished there will be a Windows and Mac > > release as well. > > > > Best Regards > > /John Eriksson > > > >