[pygame] Two questions

2014-04-24 Thread Paul Vincent Craven
Question 1:
Can we get an official Python 3.4 build posted? There's both 32 and 64 bit
versions here:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame

But I think it would be nice if the pygame website had them for download.

Question 2:
Has anyone found good instructions for installing python/pygame on the Mac
for Python 3.x series?

Thanks.

Paul Vincent Craven


Re: [pygame] two questions - JYTHON and Sprite collisions

2008-02-11 Thread Noah Kantrowitz


On Feb 11, 2008, at 7:37 AM, Bernard Quinn wrote:

I have an application that I have been prototyping using PyGame...  
will there be a way to wrap this into a webapp?  Jython?

Short answer: No

Longer answer: Maybe one day. See also: 
http://us.pycon.org/2008/sprints/projects/#pygame-on-flash


I have implemented some lines as sprites (the line is a link  
connection between two nodes).  Is there a way to do sprite  
collisions against the visible part of the sprite?  The line is the  
diagonal of the sprite.rect, and there ends up being considerable  
overlap... I need the user to be able to select a particular line  
and would rather not have to bring up a menu of 'all possible lines'  
they may be trying to select.


Don't use AABB rects for your collisions. Sounds like OBBs might work  
for you, or possibly lots of circles.


--Noah



[pygame] two questions - JYTHON and Sprite collisions

2008-02-11 Thread Bernard Quinn
I have an application that I have been prototyping using PyGame... will
there be a way to wrap this into a webapp?  Jython?

I have implemented some lines as sprites (the line is a link connection
between two nodes).  Is there a way to do sprite collisions against the
visible part of the sprite?  The line is the diagonal of the sprite.rect,
and there ends up being considerable overlap... I need the user to be able
to select a particular line and would rather not have to bring up a menu of
'all possible lines' they may be trying to select.

tks

Joey


Re: [pygame] Two questions regarding a simple space shooter

2006-06-03 Thread Kai Kuehne

Hi all,

On 5/25/06, Greg Minteer <[EMAIL PROTECTED]> wrote:

> Just curious: if you want to catch any key that was pressed, then this
> method could skip some pressed keys or not?
> Assuming you press a key an let it go before it comes to the
> eventhandling part of the code the it will not appear in
> pygame.key.get_pressed(), right? But it stays in the eventqueue.


Thank you all for you suggestions.

Kai