Re: [pygame] Pygame Mixer Crackle noise not an SDL_Mixer problem

2008-04-19 Thread etrek
Hi Lenard, You can download the media/Pygame scripts for the Book from: http://apress.com/book/downloadfile/3765 Chapter 10 has the audio example scripts; a bouncing balls script, and a jukebox.py script that plays .ogg files. The jukebox.py script is very simple, it comes with "please put some

Re: [pygame] Pygame Mixer Crackle noise not an SDL_Mixer problem

2008-04-19 Thread Lenard Lindstrom
Yes, I built and tried it on XP. It sounds good. Now I just need a Python equivalent. I don't have a copy of "Beginning Game Dev with Python and Pygame" so I suppose I can translate the C++ back to Python. Lenard Quoting etrek <[EMAIL PROTECTED]>: > Sorry, Here's the link for the files: > htt

Re: [pygame] Pygame Mixer Crackle noise not an SDL_Mixer problem

2008-04-19 Thread etrek
Sorry, Here's the link for the files: http://www.filejumbo.com/Download/3F840964D8B19B91 -Ethan - Original Message - From: "etrek" <[EMAIL PROTECTED]> To: Sent: Saturday, April 19, 2008 5:10 PM Subject: Re: [pygame] Pygame Mixer Crackle noise not an SDL_Mixer problem Hi Lenard, I d

Re: [pygame] Pygame Mixer Crackle noise not an SDL_Mixer problem

2008-04-19 Thread etrek
Hi Lenard, I downloaded your SDL Test files and tested them. They sound ok on my machine, however it's difficult to tell whether the aliens program music is causing any crackles (because the explosion sound it uses sounds like an old style arcade explosion like Defender) and has a staticy soun

Re: [pygame] Unexpect blit behavior when using BLEND_ADD

2008-04-19 Thread Lenard Lindstrom
Quoting Marcus von Appen <[EMAIL PROTECTED]>: > I added a preliminary change in rev. 1221, so that the BLEND_* macros > take alpha into account. > > Regards > Marcus > I will give it a try. -- Lenard Lindstrom <[EMAIL PROTECTED]>

Re: [pygame] Python and Speed

2008-04-19 Thread FT
Ian, Below is a simple check knowing only the angle of the vector. The while loop is moving along that vector in steps. Now this is what is needed inside a normal screen with 2 or more objects. For the angle between them is what is being used here. This assumes one is static and one moving

Re: [pygame] Unexpect blit behavior when using BLEND_ADD

2008-04-19 Thread Marcus von Appen
I added a preliminary change in rev. 1221, so that the BLEND_* macros take alpha into account. Regards Marcus pgp3AZ5xWh4ki.pgp Description: PGP signature