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
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
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):
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
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.
>
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
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
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
>
>
>
>
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
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
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),
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
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
13 matches
Mail list logo