[pygame] Re: Query Pygame window position after creation?

2009-10-26 Thread Eric Pavey
Bit more poking, and I got the problem solved. If anyone was interested I put it up on my blog with link to source code: http://www.akeric.com/blog/?page_id=814

Re: [pygame] Strangest thing..

2009-10-26 Thread Olof Bjarnason
2009/10/26 René Dudfield : > hi, > > use this: >    http://pygame.org/wiki/RunningInCorrectDirectory?action=view&id=113 > > cheers, > Thanks, I might try this out if the problem re-occurs. Apart from the above fixes from Christoph and Brian, I got some additional DLL-problems, which I fixed by add

Re: [pygame] Strangest thing..

2009-10-26 Thread René Dudfield
hi, use this: http://pygame.org/wiki/RunningInCorrectDirectory?action=view&id=113 cheers,

Re: [pygame] Advice on turning sprite (newbie)

2009-10-26 Thread James Paige
On Mon, Oct 26, 2009 at 04:03:20PM +, AdamC wrote: > Currently, the tank moves around (although only once every time the > key is pressed down - it doesn't move again if you hold the key down). > > Also, the tank doesn't turn. It would be nice to clear up these couple > of problems. > > Here

Re: [pygame] Advice on turning sprite (newbie)

2009-10-26 Thread AdamC
Currently, the tank moves around (although only once every time the key is pressed down - it doesn't move again if you hold the key down). Also, the tank doesn't turn. It would be nice to clear up these couple of problems. Here is the code as it stands: http://dpaste.com/112175/ Thanks Adam

Re: [pygame] Distro for Beagle board

2009-10-26 Thread pierrelafran...@sympatico.ca
René Dudfield wrote: > hi, > > Ångström seems to be popular for beagle board people... and open pandora. > http://www.angstrom-distribution.org/ > > I know people have used pygame on those platforms. Also Ångström has > the older pygame 1.8.1 packaged: > http://www.angstrom-distribution.

Re: [pygame] Distro for Beagle board

2009-10-26 Thread René Dudfield
hi, Ångström seems to be popular for beagle board people... and open pandora. http://www.angstrom-distribution.org/ I know people have used pygame on those platforms. Also Ångström has the older pygame 1.8.1 packaged: http://www.angstrom-distribution.org/repo/?pkgname=python-pygame cu!

Re: [pygame] Advice on turning sprite (newbie)

2009-10-26 Thread AdamC
2009/10/26 Luke Paireepinart : > > > On Mon, Oct 26, 2009 at 6:32 AM, Luke Paireepinart > wrote: >> >> >> On Mon, Oct 26, 2009 at 6:25 AM, AdamC wrote: >>> >>> I'm learning pygame (also trying to teach my sons in the ins and outs >>> of python) and am trying to write a small simple game where a t

Re: [pygame] Advice on turning sprite (newbie)

2009-10-26 Thread Luke Paireepinart
On Mon, Oct 26, 2009 at 6:32 AM, Luke Paireepinart wrote: > > > On Mon, Oct 26, 2009 at 6:25 AM, AdamC wrote: > >> I'm learning pygame (also trying to teach my sons in the ins and outs >> of python) and am trying to write a small simple game where a tank >> moves around the screen on the user's p

Re: [pygame] Advice on turning sprite (newbie)

2009-10-26 Thread Luke Paireepinart
On Mon, Oct 26, 2009 at 6:25 AM, AdamC wrote: > I'm learning pygame (also trying to teach my sons in the ins and outs > of python) and am trying to write a small simple game where a tank > moves around the screen on the user's press of the cursor keys. I've > managed to get this working without t

[pygame] Advice on turning sprite (newbie)

2009-10-26 Thread AdamC
I'm learning pygame (also trying to teach my sons in the ins and outs of python) and am trying to write a small simple game where a tank moves around the screen on the user's press of the cursor keys. I've managed to get this working without the tank turning and without using an object oriented app

Re: [pygame] Creating large numbers of sprites in array or other structure

2009-10-26 Thread Ben Collier
Thanks Luke, Will do. 2009/10/26 Luke Paireepinart > > > On Mon, Oct 26, 2009 at 6:07 AM, Ben Collier wrote: > >> Hi Luke, >> >> Thanks for that. From the code you've got there it looks like a list >> should work fine. I haven't got the code I'd been trying to hand >> (essentially assigning a

Re: [pygame] Creating large numbers of sprites in array or other structure

2009-10-26 Thread Luke Paireepinart
On Mon, Oct 26, 2009 at 6:07 AM, Ben Collier wrote: > Hi Luke, > > Thanks for that. From the code you've got there it looks like a list should > work fine. I haven't got the code I'd been trying to hand (essentially > assigning a new sprite to the list, but it sounds as though it was a python > p

Re: [pygame] Creating large numbers of sprites in array or other structure

2009-10-26 Thread Ben Collier
Hi Luke, Thanks for that. From the code you've got there it looks like a list should work fine. I haven't got the code I'd been trying to hand (essentially assigning a new sprite to the list, but it sounds as though it was a python problem, not pygame) I shouldn't have any problems with this from

Re: [pygame] Creating large numbers of sprites in array or other structure

2009-10-26 Thread Luke Paireepinart
On Mon, Oct 26, 2009 at 4:43 AM, Ben Collier wrote: > Hi, > > I'm fairly new to pygame, certainly haven't used it much, and up until now > have been creating sprites by defining an extension to the sprite class and > then instantiating each sprite by assigning it as, for example: > > newsprite =

[pygame] Creating large numbers of sprites in array or other structure

2009-10-26 Thread Ben Collier
Hi, I'm fairly new to pygame, certainly haven't used it much, and up until now have been creating sprites by defining an extension to the sprite class and then instantiating each sprite by assigning it as, for example: newsprite = NewSprite(250,250) ...with the arguments that the init method use