[pygame] Perlin Noise Function

2008-07-29 Thread Knapp
I have been thinking about writing a function do to Perlin Noise. Is there any interest in pygame having this? http://www.cs.cmu.edu/~mzucker/code/perlin-noise-math-faq.html http://mrl.nyu.edu/~perlin/noise/ -- Douglas E Knapp http://sf-journey-creations.wikispot.org/Front_Page

[pygame] PATCH: Merging in my branch, changes to transform

2008-07-29 Thread Nirav Patel
Hello all, Since 1.8.1 has been released, René suggested it is a good time to merge what I've been working on into the 1.9 trunk. Over the next few days, I will be sending in patches of the changes I've made in my branch. The attached diff covers the changes I've made to the transform module. T

[pygame] No pygame.mixer.Sound.get_current()?

2008-07-29 Thread Tyler Distad
There is no function in pygame.mixer.Sound to return the current position in the track. A get_length() function is available, so I would assume that a get_current() position would be a simple addition. Of course, I could be wrong. I looked at the code to see about adding it, but in a few minutes o

Re: [pygame] Re: [OLPC-Games] PyQNet project on Launchpad

2008-07-29 Thread kschnee
On Tue, 29 Jul 2008 11:06:15 +1000, "René Dudfield" <[EMAIL PROTECTED]> wrote: > For the pygame 1.9+ release we would really like to get networking > library routines in :) Something that's simple, and has been used > successfully in at least 2 games( 1 by the author, and 1 by someone > else) woul

Re: [pygame] pygame and bulletml

2008-07-29 Thread Paulo Silva
thanks! - i have now this code stored in my Pygame folder for testing them as far i can get at least as comfortable with Pygame as i think i were being on sdlBasic - really thanks - i'm really very curious about how easy on Pygame we can get those shower of bullets as from Kenta Cho games! :-) --

Re: [pygame] pygame and bulletml

2008-07-29 Thread Paul Pigg
I don't know bulletML and don't have plans for using it, but xml didn't seem to hard to work with when I needed to. Here's a quick contrived example based on the "fire" example xml on the website, just to give you a quick idea of the api. On it's own, it's not too useful. --Paul import xml.dom.

Re: [pygame] Crackle and static with pygame.mixer.music

2008-07-29 Thread Tyler Distad
On Tue, Jul 29, 2008 at 9:28 AM, 12 Dogs <[EMAIL PROTECTED]> wrote: > try: > > pygame.mixer.pre_init(44100, -16, 2, 4096) > > before you init *grins delightedly* I don't quite believe it. After all the pain I've been through on this project, it almost doesn't seem right that the solution to this s

Re: [pygame] Crackle and static with pygame.mixer.music

2008-07-29 Thread 12 Dogs
try: pygame.mixer.pre_init(44100, -16, 2, 4096) before you init On Tue, Jul 29, 2008 at 4:12 PM, Tyler Distad <[EMAIL PROTECTED]>wrote: > I am attempting to play .ogg files with pygame, but my playback is > static-filled. Sample script follows: > --- > import pygame.mixer > pyg

Re: [pygame] pygame and bulletml

2008-07-29 Thread Paulo Silva
thanks, but if someone may have some ready snippet, please let us know... :-) On Tue, Jul 29, 2008 at 4:37 AM, Jake b <[EMAIL PROTECTED]> wrote: > Python can read xml. I don't know of a bulletml specific python lib. > > > -- > Jake >