Re: [pygame] Line collision detection?

2012-02-21 Thread Silver
On 2/20/2012 1:50 PM, Julian Marchant wrote: > Hi, I tried searching the internet for an answer, but didn't find anything, > so I'll ask here. > > One problem with normal collision detection I'm sure we're all aware of is > the problem that objects moving too fast can pass through other objects

Re: [pygame] Re: HELP PLEASE: sprite collision - object not iterable error

2012-02-21 Thread Noel Garwick
Hey I'm on my phone so I can't see the example you need help on specially, but here is some general help on the subject: Arguments are the variables passed to a function. Example: def getDogYears(name, age, canine=False): if not canine: age *= 7 # age times 7 return "%s is %s y

[pygame] Re: HELP PLEASE: sprite collision - object not iterable error

2012-02-21 Thread Scott
Thanks for your answer, however, I got an error when I replaced Monster with MGroup and Player with PGroup. Error was - Traceback (most recent call last): File "C:\Users . . . \Python\Games\LightSlayer\LightSlayer.py", line 95, in if pygame.sprite.spritecollide(PGroup, MGroup, False):

[pygame] Re: HELP PLEASE: sprite collision - object not iterable error

2012-02-21 Thread Scott
Thanks for your answer - Not sure what you mean by second argument? stabbingfinger writes: > > Check the docs. The second argument must be an instance or subclass of Group. > > Cheers. > Gumm

Re: [pygame] GSoC

2012-02-21 Thread Zack Baker
GSOC=Google summer of code -Zack On Feb 21, 2012, at 4:36 PM, Sam Bull wrote: > GSoC 2012 was recently announced. I was just wondering if anybody knows > if Pygame will make it into this year's GSoC? I'd quite like to do a > project for GSoC, but am only likely to do so if Pygame is accepted. >

Re: [pygame] commercial pygame games

2012-02-21 Thread Alec Bennett
For PC installers, you might give the Nullsoft Installer (aka "NSIS") a try: http://nsis.sourceforge.net/Main_Page Works great. Easy to use once you get the hang of it. On Tue, Feb 21, 2012 at 1:53 PM, Keith Nemitz wrote: > > On Mac, I use py2app. On Windows I use py2exe and InnoSetup. My ne

Re: [pygame] commercial pygame games

2012-02-21 Thread Keith Nemitz
On Mac, I use py2app. On Windows I use py2exe and InnoSetup. My new game uses PyOpenGL, and that seems to have messed up InnoSetup. At least py2exe builds a dist folder that can be zipped and given to testers. Still have to figure out how to make a real PC installer. --- On Tue, 2/21/12, Za

Re: [pygame] commercial pygame games

2012-02-21 Thread Zack Baker
How do you compilerr your programs? -Zack On Feb 21, 2012, at 4:33 AM, Vovk Donets wrote: > Thanks for your answers! > > 2012/2/20 Keith Nemitz > > Dangerous High School Girls in Trouble! > The Witch's Yarn > > next I'll be shipping, '7 Grand Steps' > > > www.mousechief.com > > > >

[pygame] GSoC

2012-02-21 Thread Sam Bull
GSoC 2012 was recently announced. I was just wondering if anybody knows if Pygame will make it into this year's GSoC? I'd quite like to do a project for GSoC, but am only likely to do so if Pygame is accepted. Thanks, Sam Bull signature.asc Description: This is a digitally signed message part

Re: [pygame] commercial pygame games

2012-02-21 Thread Sean Felipe Wolfe
I'm working on one :) On Tue, Feb 21, 2012 at 6:33 AM, Vovk Donets wrote: > Thanks for your answers! > > > 2012/2/20 Keith Nemitz > >> >> Dangerous High School Girls in Trouble! >> The Witch's Yarn >> >> next I'll be shipping, '7 Grand Steps' >> >> >> www.mousechief.com >> >> >> >> >> --- On *S

Re: [pygame] Line collision detection?

2012-02-21 Thread Julian Marchant
Ah, the linear equation. I'd forgotten about it, silly me. Thanks! I think I can get that to work easily enough even without examples. Regarding using multiple lines, that would be the ideal solution (it seems you could do even better by having four lines for each object, one for each corner),

Re: [pygame] commercial pygame games

2012-02-21 Thread Vovk Donets
Thanks for your answers! 2012/2/20 Keith Nemitz > > Dangerous High School Girls in Trouble! > The Witch's Yarn > > next I'll be shipping, '7 Grand Steps' > > > www.mousechief.com > > > > > --- On *Sun, 2/19/12, Ian Mallett * wrote: > > > From: Ian Mallett > Subject: Re: [pygame] commercial pyg

Re: [pygame] HELP PLEASE: sprite collision - object not iterable error

2012-02-21 Thread Radomir Dopieralski
On Tue, Feb 21, 2012 at 02:47, sc...@scottolling.com wrote: > We're having a problem with the code below, which is returning this error: > player = Player('Player.png', [10,10], [50, 50]) > monster = Monster('Monster.png', [7,5], [7,5]) > MGroup = pygame.sprite.Group(monster) > PGroup = pygame.s