[pygame] my tutorials
Hi again payback time 2: In the past months I have started to write some tutorials for some friends. I think other people might be interested too and they do not help, if they are not published. Here they are: http://www.mypage.bluewin.ch/DR0ID/pygame_tutorials.html As you can see I want write more tutorials. I hope in time I will get there. At the moment its more an introduction on how to use blit. Further tutorials will cover more advanced topics as you can see. To stay informed, do not forget to subscribe to the RSS feed. I would appreciate some feedback. Thanks. ~DR0ID
[pygame] FastRenderGroup (update)
Hi original message can be found here: http://aspn.activestate.com/ASPN/Mail/Message/pygame-users/3485716 or in the readme.txt from the download. download: http://www.mypage.bluewin.ch/DR0ID/pygame/FastRenderGroup.zip ~DR0ID
Re: [pygame] Need help testing Slingshot rc2
On Friday 25 May 2007 04:23:24 am Rikard Bosnjakovic wrote: > On 5/24/07, Charles Joseph Christie II <[EMAIL PROTECTED]> wrote: > > It segfaulted when trying to find some timidity configs. > > Sounds very unlikely, and OTOH: strace is not a good tool for finding > segmentation violations. But you can try adding the -f option to > strace (follow forks) and see what happens. Same thing, it shows a bunch of sound related things and the timidity config file is the last thing on the list before "segmentation fault". Because it doesn't dump a core, gdb was no help either <_< So how do I go about troubleshooting this?
Re: [pygame] Need help testing Slingshot rc2
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 > 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 > > > >
Re: [pygame] Need help testing Slingshot rc2
Hi, Thanks for checking the spelling (English is not my main language)! You can use the Up and Down keys for setting the torpedo speed. Best Regards /John fre 2007-05-25 klockan 13:06 +0300 skrev Marius Gedminas: > On Thu, May 24, 2007 at 09:04:48PM +0200, John Eriksson wrote: > > Please, help me test Slingshot once more and tell me what you think. > > There's a typo in Tutorial 2: "nuclear wast pods". And another one in > 3: "cant". Tutorial 4 also misspels waste as "wast". > > A pair of keys for controlling the torpedo speed would be nice -- not > all mice have wheels. > > Marius Gedminas
Re: [pygame] Need help testing Slingshot rc2
On Thu, May 24, 2007 at 09:04:48PM +0200, John Eriksson wrote: > Please, help me test Slingshot once more and tell me what you think. There's a typo in Tutorial 2: "nuclear wast pods". And another one in 3: "cant". Tutorial 4 also misspels waste as "wast". A pair of keys for controlling the torpedo speed would be nice -- not all mice have wheels. Marius Gedminas -- IBM motto: "If you can't read our assembly language, you must be borderline dyslexic, and we don't want you to mess with it anyway" -- Linus Torvalds signature.asc Description: Digital signature
Re: [pygame] Need help testing Slingshot rc2
Ubuntu 7.04, crashes for me, traceback is Traceback (most recent call last): File "Slingshot.py", line 198, in 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 > >
Re: [pygame] Need help testing Slingshot rc2
On 5/24/07, Charles Joseph Christie II <[EMAIL PROTECTED]> wrote: It segfaulted when trying to find some timidity configs. Sounds very unlikely, and OTOH: strace is not a good tool for finding segmentation violations. But you can try adding the -f option to strace (follow forks) and see what happens. -- - Rikard - http://bos.hack.org/cv/